rmvdiskhostmap

The rmvdiskhostmap command deletes an existing virtual disk-to-host mapping; the virtual disk is no longer accessible for I/O transactions on the given host.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- rmvdiskhostmap -- ---------------------------->

>-- -host --+- host_id ---+-- --+- vdisk_id ---+---------------><
            '- host_name -'     '- vdisk_name -'   

Parameters

-host host_id | host_name
(Required) Specifies the host that you want to remove from the map with the virtual disk, either by ID or by name.
vdisk_id | vdisk_name
(Required) Specifies the name of the virtual disk that you want to remove from the host mapping, either by ID or by name.

Description

This command deletes an existing mapping between the specified virtual disk and the host. This effectively stops the virtual disk from being available for I/O transactions on the given host.

This command also deletes a SCSI or persistent reservation that a host has on a VDisk. Once the reservation is removed, a new host is allowed to access the VDisk in the future because the original host no longer has access.

Use caution when you process this command because to the host, it seems as if the virtual disk has been deleted or is offline.

An invocation example

svctask rmvdiskhostmap -host host1 vdisk8

The resulting output

No feedback
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.