Use the lsvdiskprogress command to track the progress during new
volume formatting.
Syntax
lsvdiskprogress [ -nohdr ] [ -delimdelimiter ] [ { vdisk_id | vdisk_name } ]
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.
- -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 a colon character.
- vdisk_id | vdisk_name
- (Optional) Specifies the volume ID or name. If you do not specify this parameter, the
progress of all volumes currently being formatted is displayed.
Description
This command displays the
progress of the format of a new volume as a completed percentage. If the volume has multiple
copies, the command reports the average progress of the format.
The
command returns values for the following volume attributes:
- id
- Indicates the ID of the volume that is being formatted.
- progress
- Indicates the formatting progress.
- estimated_completion_time
- Indicates the estimated time in which the formatting operation completes. The value is in
the YYMMDDHHMMSS format, and is blank if the duration is not known.
An invocation
example
lsvdiskprogress -delim : 0
The resulting output:
id:0
progress:58
estimated_completion_time:150101010100