beautypg.com

6-7 deletelun, Table 4-71 deletelun command parameters, Y y y – HP XP Command View Advanced Edition Software User Manual

Page 181

background image




Command line interface commands



181

.

List of 1 WWNGroup elements:

An instance of WWNGroup

objectID=*****

name=hp

nickname=hp

List of 2 WWN elements:

An instance of WWN

WWN= AA.AA.AA.AA.AA.AA.AA.AA

nickname=Jane

An instance of WWN

WWN= BB.BB.BB.BB.BB.BB.BB.BB

nickname=Jone

*****

: The value is encoded by the CLI.

4-6-7 DeleteLun

DeleteLun

deletes paths set from a host to a volume (see

Table 4-71

). If the LUN is secured, the

corresponding WWN is required.

A user who has only View permission cannot execute this command. A user to whom a user-defined
resource group is assigned and who also has Modify permission can specify allowed LDEVs. If an
LDEV that is not allowed is specified, an error occurs.

Table 4-71

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

Optional

Port number of the path

NOTE:

Specify either port or portname. Do not specify both

parameters at the same time. This might cause an error to occur.

portname

Optional

Port name of the path

NOTE:

Specify either port or portname. Do not specify both

parameters at the same time. This might cause an error to occur.

domain

Required

Domain ID of the path
This parameter can be specified in decimal and hexadecimal. If you
specify a hexadecimal number, add the 0x prefix.

NOTE:

The execution results are output in decimal.

devnum

Required

Device number used to identify the path
This parameter can be specified in decimal, and in colon-separated
hexadecimal. If you specify a hexadecimal number, for
XP12000/XP10000/SVS200, XP1024/XP128, and XP512/XP48, use the
xx:yy format, where xx is the CU number, and yy is the LDEV number.
For 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.

NOTE:

The execution results are output in decimal.

deletionoption

Optional

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