Friday, December 20, 2013

linux remove sata disk

echo 1 > /sys/block/(whatever)/device/delete

thanks to http://unix.stackexchange.com/questions/43413/how-can-i-safely-remove-a-sata-disk-from-a-running-system