Odpojení SATA Disku

Show prikazy

hdparm -C /devsda
lsblk

Zastaveni Disku

hdparm -y /dev/sda
echo offline > /sys/block/sda/device/state

Probuzeni disku

echo running > /sys/block/sda/device/state
dd if=/dev/sda of=/dev/null bs=512 count=1

Odebrani disku

echo 1 > /sys/block/sda/device/delete