How to hot-swap SATA disks on Linux
From Leo's Notes
This page was last edited on 17 January 2016, at 01:23.
To remove a SATA on a live Linux system:
- Ensure the disk is unmounted.
- Ensure the disk isn't used by swap or LVM groups.
- Power down the disk by running
echo 1 > /sys/block/sdX/device/delete.