HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011)

raidcom initialize ldev
Formats LDEVs.
The operation that can be specified is Quick Format, Normal Format, and Shredding.
A device group can also be specified instead of an LDEV.
This command is executed asynchronously with the command input. Check the completion of this
process on the raidcom get command_status command.
Syntax
raidcom initialize ldev {-ldev_id <ldev#> | -grp_opt <group option>
-device_grp_name <device group name> [<device name>]} -operation <type>
Options and parameters
DescriptionOption
Specifies a CU:LDEV hexadecimal address double octet or an LDEV number (0-65279) or a
range.
-ldev_id <ldev#>
For example:
-ldev_id AB:CD
-ldev_id 43981
-ldev_id 01:2C-01:31
Specifies the device information extracted from the LDEV belonging to the device group. Specify
“ldev (fixed). The information of LDEV belonging to the device group is used.
-grp_opt <group
option>
Specifies the name of device group (max. 32 characters) to be operated.-device_grp_name
<device group name>
[<device name>]
To operate an LDEV in the device group, specify the device name of LDEV (max. 2 characters)
within the device group.
If the device name is omitted, all the LDEVs belonging in the device group are operated.
Instructs the operation.-operation <type>
The following operation can be specified:
fmt: Normal Format
qfmt: Quick Format
shrd: Shredding
Examples
Performing Quick Format for a LDEV: 200.
raidcom initialize ldev -operation qfmt -ldev_id 200
Performing Quick Format for an LDEV belonging to the device group: grp1.
raidcom initialize ldev -operation qfmt -grp_opt ldev -device_grp_name grp1
Performing Normal Format for an LDEV: 200.
raidcom initialize ldev -operation fmt -ldev_id 200
Performing Shredding (Pattern: 0x55aa55aa) for an LDEV: 200.
raidcom initialize ldev -operation shrd 0x55aa55aa -ldev_id 200
Stopping Shredding for an LDEV: 200.
raidcom initialize ldev -operation stop ldev_id 200
raidcom modify ldev
Changes the LDEV attributes. What can be operated:
150 Configuration setting commands