HP P9000 Command View Advanced Edition Suite Software 7.2 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 40 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
When you specify multiple device numbers, separate the
numbers by using a comma as a delimiter.
This parameter can be specified in decimal, and in
colon-separated hexadecimal. If you specify a hexadecimal
number, for XP12000/XP10000/SVS200, use the xx:yy
format, where xx is the CU number, and yy is the LDEV
number. For XP24000/XP20000, use the ww:xx:yy format,
where ww is the LDKC number, xx is the CU number, and
yy is the LDEV number. ww is optional. If you omit ww, the
LDKC number is regarded as 0.
The execution results are output in decimal.
Required
devnums
CLI Reference Guide 103