HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

To check whether the LDEV was formatted properly if you omitted the wait parameter, or if you
specified false in the wait parameter, first use the AddStorageArray command to refresh the
storage system, and then execute the GetStorageArray (subtarget=LDEV) command and check
the value of status in the execution results. If you specified true in the wait parameter, simply
check the value of status in the execution results of the FormatLU command.
CAUTION:
This command erases data on the LU. If you format an LU that is being used, you cannot restore its
data.
NOTE:
This command is available only for P9500, XP24000/XP20000, and XP12000/XP10000/SVS200.
The microcode version required for XP12000/XP10000/SVS200 is 50-09-00-XX/XX or later.
When formatting the LDEV, make sure that the value of the status attribute of the LDEV is
Blocked. If the value of status is Normal, specify true in the force parameter when you
format the LDEV.
If the LUSE volume you want to specify includes an LDEV whose status is not Blocked, delete
that LUSE volume, and then execute the command.
If you execute this command while LDEVs are being formatted in the target storage system, an
error occurs.
Parameters
Table 42 FormatLU command parameters
DescriptionStatus
Parameter
name
Serial number of the storage system of the LU to be formattedRequired
serialnum
Model of the storage system of the LU to be formattedRequired
model
List of the device numbers of the LUs to be formatted
For P9500 and XP24000/XP20000:
Specify this parameter as a decimal number or colon-
delimited hexadecimal number in the format ww:xx:yy,
where ww is the LDKC number, xx is the CU number,
and yy is the LDEV number. ww is optional. If ww is
omitted, LDKC is assumed to be 0.
For XP12000/XP10000/SVS200:
Specify this parameter as a decimal number or colon-
delimited hexadecimal number in the format xx:yy,
where xx is the CU number, and yy is the LDEV num-
ber.
Use a comma to delimit multiple values.
The execution results are output in decimal.
Required
devnums
Command reference122