rmvdiskhostmap

You can use the rmvdiskhostmap command to delete an existing virtual disk-to-host mapping. That is, the virtual disk will no longer be accessible for I/O transaction 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
Specifies the host to remove from the map with the virtual disk, either by ID or by name.
vdisk_id | vdisk_name
Specifies the name of the virtual disk from the map, either by ID or by name.

Description

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

Care should be taken when executing this command because to the host it seems as if the virtual disk has been deleted or is offline.

Possible failures

Examples

An invocation example

svctask rmvdiskhostmap -host host1 vdisk8