Remove scsi disk from operating system
To tell an OS you are ready to remove a scsi disk, you can run this command:
echo 1 > /sys/block/sdX/device/delete
Where sdX is the device you are ready to detach. For virtual machines I don't usually bother doing that, but that is how to safely tell GNU/Linux you are going to remove the device.
Comments