User Tools

Site Tools


wiki:os:linux:odpojeni_sata_disku

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
wiki/os/linux/odpojeni_sata_disku.txt · Last modified: 2018/07/26 11:23 by root