beautypg.com

HP XP P9500 Storage User Manual

Page 59

background image

raidcom modify ldev -ldev_id {-status | -device_name | -mp_blade_id }

raidcom initialize ldev {-ldev_id | -grp_opt -device_grp_name [name>]} -operation

Check with the deletion operation

It is checked to ensure that the operation is not intended to be performed for the LDEV that is already
deleted. If it is, an error is detected.

If it is not clear whether the LDEV as the target of the operation exists in the configuration definition
file or not (if the target LDEV information does not exist in the configuration definition file), the error
is not detected.

The command as the target of the check is shown below.

raidcom delete ldev {-ldev_id | -grp_opt -device_grp_name [name>]}

The example of the script where the same LDEV is attempted to be added to the already created
LDEV and the execution result of the Context check is shown below.

Example of the script

raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M

Execution result

C:\HORCM\etc>raidcom get ldev -ldev_id 1 -cnt 65280 -store ldevconf_65 > ldevconf_65.txt

C:\HORCM\etc>raidcom -zt 3_defined_ldev.bat -load ldevconf_65.dat -checkmode precheck

C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M

C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M

C:\HORCM\etc>raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M

Example of script (The text in bold indicates the part of incorrect configuration definition.)

raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 1 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 2 -capacity 100M

raidcom add ldev -parity_grp_id 01-01 -ldev_id 3 -capacity 100M

for /l %%i in (1,1,3) do (

raidcom add ldev -parity_grp_id 01-01 -ldev_id %%i -capacity 100M

)

for /l %%i in (1,1,3) do (

raidcom add ldev -parity_grp_id 01-01 -ldev_id %%i -capacity 100M

)

Command execution modes

59

This manual is related to the following products: