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.
>>- svctask -- -- rmvdiskhostmap -- ----------------------------> >-- -host --+- host_id ---+-- --+- vdisk_id ---+--------------->< '- host_name -' '- vdisk_name -'
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