lsvolinit

The lsvolinit command displays volumes that are being initialized using flash init. CKD volumes are not displayed.

Read syntax diagramSkip visual syntax diagramlsvolinit  -dev  storage_image_ID  -s  -l  volume_ID  ...  "-"

Parameters

Note: If trackstoinit reaches zero, the initialization is complete and the volume is no longer listed with this command
-dev storage_image_ID
(Optional). The storage image ID, which consists of manufacturer, machine type, and serial number. Displays only the objects for the storage unit that is specified. The storage image ID is required if you do not specify a fully qualified volume ID, do not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter will temporarily override any defined value for devid for the current command.
-s
(Optional). Displays only the volume ID. You cannot use the -s and the -l parameters together.
-l
(Optional). Displays the default output. You cannot use the -l and the -s parameters together.
volume_ID ... | -
(Required). The IDs of the volumes that you want to query.
You must separate multiple volume IDs or ranges of volume IDs with a blank space between each ID or range of IDs.
The ellipsis (...) indicates that, optionally, you can specify multiple values. If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.

Example: Displaying volumes that are being initialized using flash init

The following table represents the headers that are displayed on the output report that is associated with the lsvolinit command using the -l parameter.

dscli> lsvolinit -dev IBM.2107-75FA120 -l 0100-0101 
Output
ID state trackstoinit
100 Valid 128
101 Valid 1

Output definitions

ID*
The volume ID.
State
The state of the initialization. One of the following values is displayed:
Valid
The volume with the initialization in process is in a normal state and was queried successfully.
Validation Required
The volume cannot be queried due to temporary microcode conditions. Issuing the query again, after a short interval, should solve the condition.
Volume Inaccessible
The volume cannot be accessed (usually because it is in a fenced state) and the query failed.
Invalid
A general internal error occurred during the processing of the query.
Note: If the state is anything other than Valid, then all other columns, except ID, are reported as " - ".
TracksToInit
The number of tracks that are not yet initialized. The maximum value that can be displayed is dependent on the volume size.
Key:
*
Displayed when the -s parameter is specified.
+
Displayed only when the -l parameter is specified.