So from time to time I remove storage from Linux servers and don’t want to reboot the server so I run the following command works in RHEL and SLES:
echo 1 > /sys/block/device-name/device/delete For exampleecho 1 > /sys/block/sde/device/delete
Random thoughts and technical bits
So from time to time I remove storage from Linux servers and don’t want to reboot the server so I run the following command works in RHEL and SLES:
echo 1 > /sys/block/device-name/device/delete For exampleecho 1 > /sys/block/sde/device/delete
Does this command works on Ubuntu/Debian?
It does not