beautypg.com

5-7 deletelun, 5-8 deletelungroup, Deletelun – HP StorageWorks XP10000 Disk Array User Manual

Page 78: Deletelungroup, Table 4-52 deletelun command parameters, Table 4-53 deletelungroup command parameters

background image

Command Line Interface Commands 78


nickname=Jone

4-5-7 DeleteLun

DeleteLun

deletes a path from a host to a volume (see

Table 4-52

). If the LUN is secured, the corresponding

WWN is required.

Users with access to this command:

Yes: System Administrator, Storage Administrator, Local System Administrator, Local Storage
Administrator

No: Guest, Local Guest

Restricted to permitted resources: Local System Administrator, Local Storage Administrator

Table 4-52

DeleteLun Command Parameters

Parameter Name

Status

Description

serialnum

Required

Serial number of the path’s storage array.

model

Required

Model of the path’s storage array.

port

Required

Port number of the path.

domain

Required

Domain ID of the path.

devnum

Required

Device number used to identify the path.

deletionoption

Optional

Only value possible: “lusekeep”, which is not case-sensitive. Omit this parameter to
delete a LUSE.

Command execution example:

hdvmcli DeleteLun -o "D:\logs\XP1024 DeleteLun.log" "serialnum=10001" "model=XP1024"

"port=1" "domain=1" "devnum=1" "deletionoption=lusekeep"

Command execution result:

RESPONSE:

(Command completed; no data returned)

4-5-8 DeleteLunGroup

DeleteLunGroup

deletes a LUN group assigned to a port (XP512/XP48 subsystem only); any LUNs (paths)

in the group are not deleted (see

Table 4-53

). A WWN can be specified, and access is removed for just that

WWN.

Users with access to this command:

Yes: System Administrator, Storage Administrator, Local System Administrator, Local Storage
Administrator

No: Guest, Local Guest

Restricted to permitted resources: Local System Administrator and Local Storage Administrator do not
have access range limitations.

NOTE:

DeleteLunGroup

is supported by StorageWorks XP512/XP48 storage subsystems only.

Table 4-53

DeleteLunGroup Command Parameters

Parameter Name

Status

Description

serialnum

Required

Serial number of the LUN group’s storage array.

model

Required

Model of the LUN group’s storage array.

port

Required

ID for the port of LUN group to be deleted.

lungroupid

Required

Object ID of the LUN group to be deleted.

Command execution example:

hdvmcli DeleteLunGroup -o "D:\logs\XP512 DeleteLunGroup.log" "serialnum=10011"