Use the lsvdisksyncprogress command to display the progress of
volume copy synchronization.
Syntax
lsvdisksyncprogress [ -nohdr ] [ -delimdelimiter ] [ -copyid ] [ { vdisk_name | vdisk_id } ]
Parameters
- -copyid
- (Optional) Specifies the volume copy ID to list synchronization progress. You must also
specify a vdisk_name | vdisk_id value. If you do not specify this
parameter, progress is displayed for all copies.
- -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.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are space-separated. The width
of each column is set to the maximum 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 1-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.
- vdisk_name | vdisk_id
- (Optional) Specifies the volume name or ID to list synchronization progress.
Description
To display the volume copies
that require synchronization, specify the command with no parameters. To display the
synchronization progress for all copies of a volume, specify the command with the
vdisk_name | vdisk_id parameter. Estimated completion time is displayed in
the
YYMMDDHHMMSS format. The command displays progress for the following
special cases as:
- A synchronized copy displays a progress of 100 and a blank estimated completion time.
- An offline copy or a copy with a zero synchronization rate displays a blank estimated
completion time. An offline copy displays (gradually) decreasing progress if the volume is
being written to.
- Nonmirrored volumes are displayed as a single copy with a progress of 100, and a blank
estimated completion time.
The lsvdisksyncprogress command also displays the
progress of a mirrored volume synchronization. After you create a mirrored volume by using the
mkvdisk or addvdiskcopy command, you can use the command
to monitor the progress of the synchronization.
An invocation example
lsvdisksyncprogress
The resulting output
vdisk_id vdisk_name copy_id progress estimated_completion_time
0 vdisk0 1 50 070301150000
3 vdisk3 0 72 070301132225
4 vdisk4 0 22 070301160000
8 vdisk8 1 33
An invocation example
lsvdisksyncprogress vdisk0
The resulting output
vdisk_id vdisk_name copy_id progress estimated_completion_time
0 vdisk0 0 100
0 vdisk0 1 50 070301150000
0 vdisk0 0 100