Howto: switch off / spin down external USB / Firewire disk / hard drive
> February 18th, 2009
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!