Use the lsrepairvdiskcopyprogress command
to display the progress of volume repairs and validations.
Syntax
lsrepairvdiskcopyprogress [ -nohdr ] [ -delimdelimiter ] [ -copyid ] [ { vdisk_name | vdisk_id } ]
Parameters
- -nohdr
- (Optional) By default, headings are displayed for each column
of data in a concise style view, and for each item of data in a detailed
style view. The -nohdr parameter suppresses the
display of these headings.
Note: If there is no data to be displayed,
headings are not displayed.
- -delimdelimiter
- (Optional) By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum possible
width of each item of data. In a detailed view, each item of data
has its own row, and if the headers are displayed, the data is separated
from the header by a space. The -delim parameter
overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim
: on the command line, the colon character (:) separates all items of data in a concise view; for example, the
spacing of columns does not occur. In a detailed view, the data is
separated from its header by the specified delimiter.
- -copyid
- (Optional) Specifies the volume copy ID to list repair progress
for. If you do not specify this parameter, progress is displayed for
all copies.
- vdisk_name | vdisk_id
- (Optional) Specifies the volume name or ID to list repair progress
for. You must specify this parameter last on the command line.
Description
The lsrepairvdiskcopyprogress command displays
the progress of repairs and validations being made to mirrored volumes. Use this command to track progress after running the repairvdiskcopy command. You can specify a volume copy using the -copy parameter. To display the volumes that have two
or more copies with an active task, specify the command with no parameters;
it is not possible to have only one volume copy with an active task.
The command displays progress for the following types of volume
copies:
- All volume copies display the same task; validate, medium or resync,
depending on the specified parameter.
- All volume copies display the same percentage and estimated completion
time.
- If specified, non-mirrored volumes are displayed as a single copy
with a blank task; they are not displayed in the full concise view.
- Once a task completes, the task is blank for all copies.
- If the task is blank, the percentage and the completion time are
also blank.
The command returns values for the following
volume repair attributes:
- vdisk_id
- Indicates the volume ID.
- vdisk_name
- Indicates the volume name.
- copy_id
- Indicates the system-assigned identifier for the volume copy.
- task
- Indicates the active task. The values can be repairing or compressed_repairing.
- progress
- Indicates the task completion percentage. This value is 0 when
task is in compressed_repairing state.
- estimated_completion_time
- Indicates the expected time (duration) the task completion time.
The value is in the YYMMDDHHMMSS format, and
is blank if the duration is not known.
An invocation example
lsrepairvdiskcopyprogress –delim :
The resulting output:
vdisk_id:vdisk_name:copy id:task:progress:estimated_completion_time
0:vdisk0:0:medium:50:070301120000
0:vdisk0:1:medium:50:070301120000
An invocation example
lsrepairvdiskcopyprogress –delim : vdisk0
The resulting output:
vdisk_id:vdisk_name:copy id:task:progress:estimated_completion_time
0:vdisk0:0:medium:50:070301120000
0:vdisk0:1:medium:50:070301120000
An invocation example
lsrepairvdiskcopyprogress –delim : -copy 0 vdisk0
The resulting output:
vdisk_id:vdisk_name:copy id:task:progress:estimated_completion_time
0:vdisk0:0:medium:50:070301120000
An invocation example
showing a compressed volume copy and a TP volume copy being repaired
lsrepairvdiskcopyprogress
The resulting output:
vdisk_id vdisk_name copy_id task progress estimated_completion_time
0 vdisk0 0 repairing 50 070301120000
2 vdisk2 1 compressed_repairing 0 070301080102