Deleting Virtual Disk/Array

Table 1 lists the command used for deleting virtual disks/arrays.

Table 1  Deleting Virtual Disk/Array

Command

IOC

IOP

ROC

Description

delete

Delete virtual disk/array or spare drive.

delete

Use delete to delete a virtual disk or release a physical disk from its spare status.

The syntax for the delete command (including all required and optional parameters) is as follows:

delete -o <vd|array|spare> -i <id> [-f] [--waiveconfirmation] [-h]

Table 2 describes the required and optional parameters for the delete command.

Table 2  Command Parameters: delete

Syntax

Description

Required Parameter

-o <vd|array|spare>

Use one of the following options to select the object to be deleted:

   vd (virtual disk)

   array (array)

   spare (spare drive)

-i <id>

Use to specify object ID.

Optional Parameters

[-f]

Use to force deletion of virtual disk or array even if rebuild or migration is in progress.

[--waiveconfirmation]

Use to waive step requiring user confirmation of object deletion.

[-h]

Use to display help text for the delete command.

Examples

delete -o vd -i 4

Delete virtual disk 4 after prompting for confirmation.