Re: USB drive enclosures with spin down

From: Anton Bakken <atbakken_at_no.spam.please>
Date: Mon Aug 06 2007 - 12:41:12 CST

> Does anybody know of a USB hard drive enclosure that supports drive spin
> down (either manual or automatic) under Linux? I've bought a cheap
> enclosure but it doesn't allow me to spin down the drive (and after more
> than 24 hours of inactivity it hasn't spun down automatically).

Hello Bruce,

Setting hdparm -S on the device controls the spindown timeout, for example
if your device is /dev/sdb you can set it to time out if inactive for 50
seconds by typing "hdparm -S 10 /dev/sdb" as root. The number after -S is
multiplied by 5 to give you your spindown timeout. Also note unmounting the
drive will not park your harddrive for safe transportation. You will have to
issue "hdparm -Y /dev/sdb" This will park the heads and put your harddrive
to power off mode. The only way to get your drive active again is to
physically power down the drive and then power it back on. This should work
for any drive in any enclosure.

Bakken
Received on Mon Aug 6 12:41:15 2007

This archive was generated by hypermail 2.1.8 : Mon Aug 06 2007 - 12:41:18 CST