HP XP P9000 RAID Manager Reference Guide (T1610-96061, January 2014)

If an LDEV does not exist on the specified port /host group/LUN, this command is rejected with
EX_ENLDEV or EX_ENOOBJ.
When deleting the LU path, stop the I/O for the LU path to be deleted.
In the last one path, LDEV must be specified as SMPL volume.
Note: LDEVs in LUSE volumes cannot be configured with this command. Do not execute this command
to the LDEV whose command device attribute is set. If the command is executed, the command
device attribute is released.
Syntax
raidcom delete lun -port <port#> [<host group name>]
{-lun_id <lun#> | -ldev_id <ldev#> | -grp_opt <group option>
-device_grp_name <device group name> [<device name>]}
Options and parameters
DescriptionOption
Specifies the Port number. For example:-port <port#>[<host group
name>]
CL1-A-g (g: 0-254)
CL1-A Linux_X86
Specifies the LUN number (0-2047).-lun_id <lun#>
Specifies the LDEV number (0-65279). For example:
-ldev_id 200
-ldev_id <ldev#>
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 (maximum 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 (maximum 32
characters) within the device group.
If the device name is omitted, all the LDEVs belonging in the device group are operated.
Examples
Deleting LUN: 1(LDEV number 200) on the port: CL1-A-0
# raidcom delete lun -port CL1-A-0 -lun 1
# raidcom delete lun -port CL1-A-0 -ldev_id 200
Deleting LDEV belonging to the device group: grp1 on the port: CL1-A-0
# raidcom delete lun -port CL1-A-0 -grp_opt ldev -device_grp_name grp1
raidcom discover lun
Searches external volumes. Displays a list of LUs which can be referred to from the External port
of a specific external storage system.
Syntax
raidcom discover lun -port <port#> -external_wwn <wwn strings>
176 Configuration setting commands