6.2.12.23 rmvolume

Delete volumes.

Purpose

The rmvolume command deletes Exascale volumes.

Syntax

rmvolume volume-ID [ volume-ID ]... [ --keep-data ]

Command Options

The options for the rmvolume command are:

  • volume-ID: Identifies the volume being deleted. You can use the lsvolume command to find the identifier for each volume.

  • --keep-data: Optionally instructs the command to delete the metadata associated with the specified volume(s) while preserving the underlying volume data file(s) for potential future use.

Usage Notes

Note the following information when using this command:

  • You must detach the volume before it can be deleted.

Examples

Example 6-183 Delete a Volume

This example shows deleting the volume with the volume ID vol0001_50e52177583f4be4bad68ac20b65001e.

@> rmvolume vol0001_50e52177583f4be4bad68ac20b65001e