4-14 deletevirtualvolume, Table 4-26 deletestoragearray command parameters, Table 4-26 – HP XP Command View Advanced Edition Software User Manual

Page 86

Advertising
background image




Command line interface commands



86

NOTE:

If execution of the DeleteStorageArray command results in an error, take appropriate

action according to the error message, and then re-execute the DeleteStorageArray
command. When the DeleteStorageArray command is executed, the configuration
information of the target storage subsystem is divided into transactions, and then deleted from the
Device Manager database. Therefore, if an error occurs during processing, the Device Manager
database becomes inconsistent and the storage subsystem information you deleted might remain
in the Device Manager database. Resolve the cause of the error, and then delete the storage
subsystem information again.

Table 4-26

DeleteStorageArray command parameters

Parameter Name Status

Description

serialnum

Required

Serial number of the storage array to be deleted

model

Required

Model of the storage array to be deleted

Command execution example:

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

Command execution result:

RESPONSE:

(Command completed; no data returned)

4-4-14 DeleteVirtualVolume

DeleteVirtualVolume

deletes a THP volume (virtual volume) (see

Table 4-27

).

A user who has only View permission cannot execute this command. A user to whom user-defined
resource groups are assigned, and who also has Modify permission, can execute this command for
any resources.

NOTE:

This command can be used only with XP24000/XP20000 storage subsystems.

Format when the command is used to specify a virtual volume group, and delete both the
virtual volume group and the THP volumes in that virtual volume group:

hdvmcli [

URL] DeleteVirtualVolume model=model serialnum=serial-number

[deletionoption=force] arraygroupnames=

name-of-virtual-volume-group

Format when the command is used to delete specified THP volumes only:

hdvmcli [

URL] DeleteVirtualVolume model=model serialnum=serial-number

[deletionoption=force] devnums=

device-number-of-virtual-volum

To delete a THP volume, the following conditions must be satisified:

The THP volume does not have any paths.

To delete specified THP volumes, XP Virtual LVI/LUN (VLL) and Volume Shredder must be
installed in the storage subsystem.

The THP volume has a guard mode of Read/Write.

NOTE:

If you delete specified THP volumes only, you cannot delete the virtual volume group that

contains the THP volumes.

Advertising