mmdelvdisk command

Deletes vdisks from a declustered array in an IBM Storage Scale RAID recovery group.

Synopsis

mmdelvdisk {"VdiskName[;VdiskName...]" | -F StanzaFile} [-p | --recovery-group RecoveryGroupName]

Availability

Available on all IBM Storage Scale editions.

Description

The mmdelvdisk command is used to delete vdisks from the declustered arrays of recovery groups. There must be no NSD defined on the specified vdisk; if necessary, use the mmdelnsd command prior to running this command.

The log home vdisk in a recovery group cannot be deleted until all the other vdisks in the recovery group have been deleted. Log tip and log tip backup vdisks may be created and deleted at any time, even while work is active on those or other vdisks.

Parameters

VdiskName[;VdiskName...]
Specifies the vdisks to be deleted.
-F StanzaFile
Specifies the name of a stanza file in which stanzas of the type %vdisk identify the vdisks to be deleted. Only the vdisk name is required to be included in the vdisk stanza; however, for a complete description of vdisk stanzas, see the following topic: mmcrvdisk command.
-p
Indicates that the recovery group is permanently damaged, and therefore the vdisk information should be removed from the GPFS cluster configuration data. This option can be used when the GPFS daemon is down on the recovery group servers.
--recovery-group RecoveryGroupName
Specifies the name of the recovery group that contains the vdisks. This option is for the rare case where the vdisks have been removed from the GPFS cluster configuration data but are still present in the recovery group.

You can see the vdisks in the recovery group by issuing either of the following commands:

mmlsvdisk --recovery-group RecoveryGroupName

or

mmlsrecoverygroup RecoveryGroupName -L

Exit status

0
Successful completion.
nonzero
A failure has occurred.

Security

You must have root authority to run the mmdelvdisk command.

The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For additional details, see the following IBM Storage Scale RAID: Administration topic: Requirements for administering IBM Storage Scale RAID.

Examples

The following command example shows how to delete vdisk 000DE37BOTDA4DATA:

mmdelvdisk 000DE37BOTDA4DATA

The system displays output similar to the following:

mmdelvdisk: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.

See also

See also the following IBM Storage Scale RAID: Administration topics:

Location

/usr/lpp/mmfs/bin