HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

targetID=*****
label=myLabel
*****: The values are encoded by the CLI.
ModifyLogicalUnit
ModifyLogicalUnit modifies the LU and its corresponding LDEV in a storage device.
Format
hdvmcli [URL] ModifyLogicalUnit [options]
serialnum=serial-number model=model devnum=device-number
{commanddevice={true|false}|commanddevicesecurity={true|false}}
NOTE:
For P9500, XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128, if you change
an LU for which security is enabled to a command device, specify both the commanddevice and
commanddevicesecurity parameters.
Parameters
Table 67 ModifyLogicalUnit command parameters
DescriptionStatusParameter name
Serial number of the storage system of the LURequired
serialnum
Model of the storage system of the LURequired
model
Device number of the LU
This parameter can be specified in decimal, and in
colon-separated hexadecimal. If you specify a hexadecimal
number, for XP12000/XP10000/SVS200 and XP1024/XP128,
use the xx:yy format, where xx is the CU number, and yy is
the LDEV number. For P9500 and XP24000/XP20000, use the
ww:xx:yy format, where ww is the LDKC number, xx is the CU
number, and yy is the LDEV number. ww is optional. If you omit
ww, the LDKC number is regarded as 0.
The execution results are output in decimal.
Required
devnum
New setting for command device
Specify true to set the specified LU as a command device, and
false to release the setting.
Optional
commanddevice
Security mode setting for the command device
Specify true to enable security, and false to disable it.
Optional
command-
devicesecurity
Command reference180