Sponsored Content
Operating Systems Solaris Solaris and vxvm ( really old versions) Post 302752677 by Martincorneuk on Monday 7th of January 2013 11:21:08 AM
Old 01-07-2013
Solaris and vxvm ( really old versions)

This is going to mean nothing to most....
I'm working on a E4500 server running Solaris 2.5.1 and VXVM 2.5.5 Smilie

I've replaced the rootmirror and would like to monitor progress of the resync
It's only a 2Gb /partition so it shouldn't take too long.

In later versions

Code:
vxtask list

would supply the info.... but 2.5.5 doesn't have vxtask

It will have finished by the time I post this but I have several disks to replace and would like to know if there is a command that'd say it was 60% done or somesuch

Many thanks in advance
Martin
 

10 More Discussions You Might Find Interesting

1. Solaris

VxVM/Hba cards/Solaris 10 FS issue

Hi all, I have a compatibly issues with a new hardware My config is the following one : Solaris 10 V490 Hardware 2 X HBA Qlogic 2310f cards An HP EVA 5000 for storage ... Veritas VxVM 4.1 MP1 When I reboot my server, VxVM is trying to mount/use the volume before it's... (0 Replies)
Discussion started by: unclefab
0 Replies

2. Solaris

Solaris versions

Hi, Does anyone know if the various releases of Solaris are archived anywhere? I work for a DR company and it would be useful to have different releases of a Solaris version number i.e. Solaris 10 6/06 (3 Replies)
Discussion started by: callmebob
3 Replies

3. Solaris

How to know which versions we are using c, c++ in Solaris.

How to know which versions we are using c, c++ in Solaris. Thanks & Regards Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

4. Solaris

VxVM on Solaris.

Hi, Quick question if anyone knows this. Is there a command I can use in Veritas Volume manager on Solaris that will tell me what the name of the SAN I am connected to? We have a number of SANs so I am unsure which one my servers are connected to. Thanks. (13 Replies)
Discussion started by: gwhelan
13 Replies

5. Filesystems, Disks and Memory

vxvm version in solaris?

whats the command line to find vxvm (veritas volume manager) version installed in solaris OS? (3 Replies)
Discussion started by: na75369
3 Replies

6. Solaris

VxVM 5.0 Licence key required on solaris

Hi Friends, This is suresh reddy. Recently i download veritas cluster & volume manager package from internet. I didn't found any key inside the package. If any body having the VxVM key kindly send to me. mail id: cvsureshreddy@gmail.com Regards, C V Suresh Reddy (1 Reply)
Discussion started by: suresha2lu
1 Replies

7. Solaris

Solaris- VxVM simulator

Hi, Could any one tel me VxVM simulator is available in market or can it be downloaded from any were???? (4 Replies)
Discussion started by: sudhan143
4 Replies

8. Solaris

Solaris/vxvm/EMC Lun configuration

Hello all, i try to allocate the same LUN to two server (or more in the future) i use solaris 10, vxvm (vxfs) for data and solaris zones and EMC DMX-4, i try to migrate solaris zones between servers in case of problem. and this is what i want to do - affect LUN to srv00124 and srv10155 -... (5 Replies)
Discussion started by: mat_solaris
5 Replies

9. Solaris

Solaris 10 patching using live upgrade with VxVM

Hello, I was assigned some Solaris machines and need to patch them to N-1, where N is the latest OS realease, which means, upgrade till one version before the latest one. I do not now a lot about Solaris. What I only know is that need to make use of live upgrade and be careful with VxVM... (4 Replies)
Discussion started by: feroccimx
4 Replies

10. Solaris

Versions of Oracle VM with Solaris 11?

I guess since its part of OS it depends on OS installed. I understand from OVS for Sparc 3.0 onwards you can use OV Manager (latest) to manage? (1 Reply)
Discussion started by: psychocandy
1 Replies
vxtask(1M)																vxtask(1M)

NAME
vxtask - list and administer Veritas Volume Manager tasks SYNOPSIS
vxtask abort taskid vxtask [-ahlpqr ] [-g dg_name [-g dg_name...]] [[-G dg_name] -v volume [-v volume...]] [-i taskid] list [taskid...] vxtask pause taskid vxtask resume taskid vxtask [-i taskid] set name=value taskid [-c count] [-t time] [-w wait_interval] [-ln ] monitor [taskid[taskid...]] DESCRIPTION
The vxtask utility performs basic administrative operations on Veritas Volume Manager (VxVM) tasks that are running on the system. Opera- tions include listing tasks (subject to filtering), modifying the state of a task (aborting, pausing, resuming), and modifying the rate of progress of a task. Veritas Volume Manager tasks represent long-term operations in progress on the system. Every task provides the time the operation started, the size and progress of the operation, and the operation's state and rate of progress (throttle). You can change the state of a task, giv- ing coarse-grained control over an operation's progress. For those operations that support throttling, you can change the rate of progress of a task, giving more fine-grained control over the task. The majority of tasks represent I/O being performed to objects. Operations such as read-writeback recovery for mirrored volumes, parity recalculation for RAID-5 volumes, volume relayouts, and so forth, all involve moderate to large amounts of I/O. Tasks that represent oper- ations that perform I/O directly are referred to as basic tasks. The task progress information for basic tasks consists of the starting and ending block of the I/O to be performed and the offset to which the I/O has currently completed. Some operations, such as vxrecover and starting RAID-5 volumes, may require multiple tasks to complete the operation. vxrecover may deter- mine that many recoveries are required, some that must be performed serially. Starting a RAID-5 volume requires that its log (if any) be replayed and cleared, its parity be recalculated (if necessary), any stale subdisks be resynchronized (if needed), and that these tasks be performed serially. In these and similar cases, an overall task is created to keep track of the underlying basic tasks being performed, and these are known as parent tasks. The progress information for parent tasks are the total number of subtasks required to complete the over- all operation; the number of subtasks completed; and the number of subtasks currently running. Every task is given a unique task identifier. This is a numeric identifier for the task that can be specified to the vxtask utility to specifically identify a single task. Tasks also contain the following information: task tag A task's tag is a string that you can specify to make administration easier. It is usually set by the command that initiates the task. For most utilities, the -t tasktag option allows a tag to be specified as a sequence of up to 16 alphanumeric characters. task type The task's type describes the specific operation that is being performed. For example, attaching a plex to a volume results in an atomic copy loop, which is represented by an ATOMIC_COPY task. description Describes the utility operation on whose behalf the I/O is being performed. For example, both a volume start and a plex attach can result in an atomic copy loop and thus an ATOMIC_COPY task. The description of the operation attempts to disambiguate between tasks that are performing the same basic work. object Most tasks are related to a specific object, usually the volume within which the operation is taking place. parent Some utilities require multiple operations to fulfill a request. For example, the vxrecover utility may need to start many dif- ferent volumes. In these cases, the subtasks list their parent. progress information Each task has an indication of its starting point and ending point, and an indication as to what point it has progressed so far. Combined with the work time, this allows the amount of time remaining until completion to be estimated for some tasks. state Each task has one of three states: RUNNING, PAUSED or ABORTING. time Each task notes its starting time and the total amount of time spent doing work. KEYWORDS
abort|pause|resume These three operations request that the specified task change its state. pause puts a running task in the paused state, suspend- ing its operation. resume continues the operation of a paused task. abort stops the operation of the specified. In most cases, the operations "back out" in a manner similar to when an I/O error occurs, reversing as much as possible what's been done so far. list List tasks running on the system in one-line summaries. The value displayed for percentage task progress takes into account all intermediate steps that are required to accomplish a specific task. By default, all tasks running on the system are printed. If a taskid argument is supplied, the output is limited to those tasks whose taskid or task tag match taskid. The remaining options filter and limit the listed tasks as follows: -a Limits the output to tasks in the aborting state. -g dg_name Limits the listed tasks to those tasks running on objects in the diskgroup dg_name. -G Distinguishes between volumes with the same name in different diskgroups; see vxintro(1M). -h Prints tasks hierarchically with a task's child tasks following the parent task. -l Prints tasks in long format. -p Limits the output to tasks in the paused state. -q Suppresses printing of column headings. -r Limits the output to tasks in the running state. -v volume Limits the output to tasks whose object is volume. Any task meeting any of the criteria specified are printed. That is, if -v foovol and -p are specified, then any task operating on foovol or that is paused are printed. If -h were also specified, then those tasks and all their children would be listed. monitor The monitor operation continuously prints information about a task or group of tasks as the task information changes. The -l option specifies printing a long listing. The default is to print one-line listings. The monitor command accepts the following options: -c count Prints count sets of task information, then exits. -n Monitors not only the tasks specified on the command line, but also any tasks newly registered while the program is running. -t time Exits after time seconds. -w interval Prints the string "waiting..." when interval seconds pass with no output activity. In addition to printing task information when a task state changes, output is also generated when the task completes. When this occurs, the task state is printed as EXITED (see the OUTPUT section). set The set operation changes modifiable parameters of a task. There is only one modifiable parameter for tasks: the slow attribute, which represents a throttle on the task progress. The larger the slow value, the slower the progress of the task and the fewer system resources it consumes in a given time. (The slow attribute is the same attribute that many commands, such as vxplex, vxvol and vxrecover, accept.) OUTPUT
There are two output formats printed by vxtask: a short, one-line summary format per task, and a long task listing. The short listing attempts to provide the most used task information for quick perusal, displaying the following fields from left to right: 1. The task ID for the task. 2. The task ID of the task's parent, if any. If the task has no parent, this field is left blank. 3. The task type and state, separated by a slash (/). The type field is a description of the work being performed, such as ATOMIC COPY for atomic copy I/O and RELAYOUT for an online relayout operation. The state is a single letter representing the task state: R for running, P for paused, and K for aborting. In the special case of the completion of a task that is being monitored, the state is printed as EXITING. 4. The percentage of the operation that has been completed to this point. 5. The task's progress information. For basic tasks, this is the starting offset, ending offset and current offset for the operation, separated by slashes (/). For parent tasks, this is the starting number of child tasks, total number of child tasks required for the operation to complete, and the number of child tasks already completed to this point, separated by slashes, followed by the number of children currently running in parentheses. 6. A description of the command for which the task is performing work. This is normally a single word, such as START for a volume start operation or RELAYOUT for an online relayout, followed by object names, indicating what the arguments were for the command. See EXAMPLES below. The long output format prints all available information for a task, spanning multiple lines. If more than one task is printed, the output for different tasks is separated by a single blank line. Each line in the long output format contains a title for the line, followed by a colon (:), followed by the information. The possible information printed for a task includes: Operation: A description of the operation on whose behalf the work is being performed. This is essentially a description of the command exe- cuted along with the Veritas Volume Manager objects specified as arguments. Progress: A description of the progress of the task. The progress is stated as a percentage of completion, along with the actual progress values for the task. Started: The time that the task was started. Task: General information for the task. The task's ID, followed by its parent's ID (if any) in parentheses, followed by the task's state, either RUNNING, PAUSED or ABORTING. Throttle The throttle value for the task, if applicable. Type: The task type, describing the work being performed. Work time: States how much time has been spent performing the work, and a rough estimate of the time remaining for the task to complete. As a special case, when a task being monitored completes only the Task: line is printed for the task, with the task state represented by EXITED. EXAMPLES
To list all tasks currently running on the system: vxtask list To trace all tasks in the diskgroup foodg that are currently paused, as well as any tasks with the tag sysstart: vxtask -g foodg -p -i sysstart list To list all tasks on the system that are currently paused: vxtask -p list To monitor all tasks with the tag myoperation: vxtask monitor myoperation To cause all tasks tagged with recovall to exit: vxtask abort recovall FILES
/dev/vx/info Used to get task information from the kernel. /dev/vx/taskmon Task monitoring device. SEE ALSO
vxintro(1M), vxplex(1M), vxrecover(1M), vxsd(1M), vxvol(1M) VxVM 5.0.31.1 24 Mar 2008 vxtask(1M)
All times are GMT -4. The time now is 03:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy