6.2.12.24 rmvolumeattachment

Delete a volume attachment.

Purpose

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

Syntax

rmvolumeattachment attachment-ID [ --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.

  • --force: Forcibly removes the volume attachment even if it is currently in use.

    Use this option only when the client is unavailable or is expected to become unavailable soon after the command (such as immediately before rebooting a client). After a forced detachment, the volume stays open on the initiator and any associated file system remains mounted, but all I/O operations will fail. Also, you cannot reattach the volume until it is closed, usually by unmounting the file system.

Examples

Example 6-187 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 att0003_50e52177583f4be4bad68ac20b65001e.

@> rmvolumeattachment att0003_50e52177583f4be4bad68ac20b65001e