Operation method, Information of the device group to be operated, Result – HP XP7 Storage User Manual

Page 114

Advertising
background image

Operation method

Specify the name of device group (max: 32 characters) and the device name in the device group
(max: 32 characters), and execute a command.

The following shows an example to map the LDEV to the LUN by specifying a device group.

When the both of device group name and device name, the operation is executed for the LDEV
that matches to the specified device name in the device group. If the device name is omitted to
specify, the operation is executed for all of the LDEVs belonging to the device group.

Information of the device group to be operated

C:\HORCM\etc>raidcom get device_grp -device_grp_name grp1

LDEV_GROUP LDEV_NAME LDEV# Serial#

grp1 data0 17000 64577

grp1 data0 17001 64577

grp1 data1 17002 64577

grp1 data1 17003 64577

Result

The following shows the result when the raidcom add lun command is executed by specifying
device group name: grp1, and device name: data 0.

C:\HORCM\etc>raidcom add lun -port CL8-A -grp_opt ldev -device_grp_name
grp1 data0

GROUP = grp1, DEVICE = data0, UnitID = 0, LDEV = 17000(0x4268)[1], PORT =
CL8-A, LUN = none:

raidcom: LUN 0(0x0) will be used for adding.

done

GROUP = grp1, DEVICE = data0, UnitID = 0, LDEV = 17001(0x4269)[1], PORT =
CL8-A, LUN = none:

raidcom: LUN 1(0x1) will be used for adding.

done

C:\HORCM\etc>raidcom get lun -port CL8-A-0

PORT GID HMD LUN NUM LDEV CM Serial# HMO_BITs

CL8-A 0 LINUX/IRIX 0 1 17000 - 64577

CL8-A 0 LINUX/IRIX 1 1 17001 - 64577

The following shows the result when the raidcom add lun command is executed by specifying
device group name: grp1 only (omitting device name).

C:\HORCM\etc>>raidcom add lun -port CL8-A -grp_opt ldev -device_grp_name grp1

GROUP = grp1 , DEVICE = data0 , UnitID = 0 , LDEV = 17000(0x4268)[1] , PORT
= CL8-A , LUN = none :

raidcom: LUN 0(0x0) will be used for adding.

done

GROUP = grp1 , DEVICE = data0 , UnitID = 0 , LDEV = 17001(0x4269)[1] , PORT
= CL8-A , LUN = none :

raidcom: LUN 1(0x1) will be used for adding.

done

GROUP = grp1 , DEVICE = data1 , UnitID = 0 , LDEV = 17002(0x426A)[1] , PORT
= CL8-A , LUN = none :

raidcom: LUN 2(0x2) will be used for adding.

done

114

Provisioning operations with RAID Manager

Advertising
This manual is related to the following products: