PDA

View Full Version : [ubuntu] power down usb disk



surfer
December 7th, 2010, 12:04 PM
i have a tiny server. parts of the operating system are installed on an integrated CF card (/boot and /) and the rest on an external usb disk (swap, /tmp, /var and /home).

when i hibernate the machine, the usb disk is not powered down. as it's a headless system, i can't tell when the shutdown is complete. but the external disk never spins down.

is there a way to power that disk down? i have seen it work on that system before...

surfer
December 7th, 2010, 03:25 PM
...bump!

dandnsmith
December 7th, 2010, 04:39 PM
There's a lot of suggestions from googling your post title.

One of the most interesting, which might tell you what you want is: one site FAQ (http://www.nslu2-linux.org/wiki/FAQ/SpinDownUSBHarddisks)

HTH

viralmeme
December 7th, 2010, 04:42 PM
when i hibernate the machine, the usb disk is not powered down

Power off USB (http://www.linuxquestions.org/questions/debian-26/power-off-usb-509328/)
--

Dilbert on Dating (http://www.dilbert.com/strips/comic/2008-05-21/)

surfer
December 7th, 2010, 04:45 PM
thanks a lot! i'll try that tonight and report back.

surfer
December 14th, 2010, 02:04 PM
hmmm... these suggestions seem to work when trying to power off a disk while the system is running. the hd i'd like to spin down contains vital mountpoints of the sytstem (/var, /tmp, swap). i would like to power the disk down when the system hibernates.