6.2.12.18 rmvolumeattachment

Delete a volume attachment.

Purpose

The rmvolumeattachment command allows you to delete an Exascale volume attachment.

Syntax

rmvolumeattachment attachment-id [ --protocol edv ] [ --force ]

Command Options

The options for the rmvolumeattachment command are:

  • attachment-id: Identifies the volume attachment that is the subject of the operation. You can use the lsvolumeattachment command to find the identifier for each volume attachment.

  • --protocol: Specifies the attachment protocol. If not specified, edv (Exascale Direct Volume) is assumed.

  • --force: Optionally removes a volume attachment even if it is being used.

Examples

Example 6-175 Delete an EDV Attachment

You can delete an Exascale Direct Volume (EDV) attachment by specifying just the attachment-id. In the following example, the attachment-id is 3:50e52177583f4be4bad68ac20b65001e.

@> rmvolumeattachment 3:50e52177583f4be4bad68ac20b65001e