HP XP7 RAID Manager Reference Guide (T1610-96064)

raidcom add device_grp
Assigns a device name to the specified LDEV, and creates a device group. If the group already
exists, the LDEV is added to the group. If the LDEV also already exists in the specified device group,
the specified LDEV name is set.
Syntax
raidcom add device_grp -device_grp_name <ldev group name>
<device name> -ldev_id <ldev#> [-cnt <count>]
Options and parameters
DescriptionOption
Specifies the device group name (maximum 32 characters) and the device name in the
device group (maximum 32 characters). If multiple LDEVs are specified, the same device
name is set for all of them.
device_grp_name
<device group
name><device name>
Specifies the LDEV number (0-65279).-ldev_id <ldev#>
When you specify an LDEV that is part of a LUSE volume, all LDEVs in the LUSE volume will
have the same name. For example:
-ldev_id 200
-ldev_id 100-110
-ldev_id 100 -cnt 10
Up to 64 of LDEVs can be specified.
When you specify an LDEV in a LUSE volume, the number of LDEVs in the LUSE volume is
included.
Specifies the count (2-64).[ -cnt <count> ]
If this option is omitted, the count is set to one.
Example
Assigning a device name: data1 to an LDEV: 400 and adding it to the device group: grp1.
# raidcom add device_grp -device_grp_name grp1 data1 -ldev_id 400
raidcom delete device_grp
Deletes the specified LDEV from the specified group. When the last LDEV is deleted, the device
group is also deleted.
Syntax
raidcom delete device_grp -device_grp_name <device group name>
-ldev_id <ldev#> [-cnt <count>]
Options and parameters
DescriptionOption
Specifies the device group name (maximum 32 characters)-device_grp_name <device
group name>
Specifies the LDEV number (0-65279). For example:-ldev_id <ldev#>
-ldev_id 200
-ldev_id 100-110
-ldev_id 100 -cnt 10
142 Configuration setting commands