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

Not allowed:
Mapping the same LDEV to another LUN in the same host group.
Overwriting the same LUN to another LDEV.
CAUTION:
LDEVs in LUSE volumes cannot be configured with this command.
If you execute this command on an LDEV with the command device attribute already set and
the LDEV already has a defined/configured paths, the command device attribute will be
released.
Syntax
raidcom add lun -port <port#> [<host group name>]
{-ldev_id <ldev#> [-lun_id<lun#>] | -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 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.
Specifies the LU number (0-2047). This is unavailable to specify when the device group
is specified to operate. If this option is omitted, a free LU number is assigned automatically.
[-lun_id <lun#> ]
Examples
Map the LDEV: 200 to the LU numbers: 1 for the port: CL1-A, the host group #0.
# raidcom add lun -port CL1-A-0 -lun_id 1 -ldev_id 200
Map the LDEV: 200 for the port: CL1-A, the host group #0. The LU numbers are automatically
assigned.
# raidcom add lun -port CL1-A-0 -ldev_id 200
Map the LDEV for the port: CL1-A, the host group #0, and the one belonging to the device group:
grp1. The LU numbers are automatically assigned.
# raidcom add lun -port CL1-A-0 -grp_opt ldev -device_grp_name grp1
raidcom delete lun
Deletes the LU path on the host group on the specified port.
An LDEV or a device group can also be specified instead of a LUN.
raidcom delete lun 175