lsvdisksyncprogress

Use the lsvdisksyncprogress command to display the progress of volume copy synchronization.

Syntax

lsvdisksyncprogress [ -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.
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 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
Draft comment:
0 vdisk0 0 100
0 vdisk0 1 50 070301150000 3 vdisk3 0 72 070301132225
Draft comment:
3 vdisk3 1 100
4 vdisk4 0 22 070301160000
Draft comment:
4 vdisk4 1 100 8 vdisk8 0 100
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