Howto: switch off / spin down external USB / Firewire disk / hard drive
Recently I’ve bought ssd drive for my notebook and 2.5″ Enclosure for the old hdd.
My 2.5″ Enclosure has no switch on/off, so … to turn it off I have to plug and unplug the usb cable, but … there’s a better way
All I need to do is to install sg3-utils, and use two simple commands to turn off/on my external usb drive.
apt-get install sg3-utils
and to turn it off/on
sg_start /dev/sdb –stop
sg_start /dev/sdb –start
that’s all!
Related entries:
- Linux & RAID - very simple how to
- How to check uuid for specified disk partition?
- How to move all MySQL databases to another server
- Logging via ssh using keys (without typing password)
- Firefox and Thunderbird on Linux