date: 2011-08-04 19:03:34+00:00

Spin down external USB drive on Debian Squeeze

categories: - Debian/Ubuntu - Linux

It seems like I have at least two options to spin down my external USB drive used for rsnapshot backups (Iomega 1TB). In the first place, I assumed it would spin down by itself by simply unmounting the volume, like on the Mac. But it doesn't.

So I gave sdparm a try :

sdparm --command=stop /dev/backupdrive

It doesn't work :-)

I found a working solution at

sg_start --readonly --stop /dev/backupdrive

sg_start is part of sg3-utils package. YMMV, I guess ?

Use the cmd_postexec option in rsnapshot to trigger the spin down.

Want the same device name for your external USB drive ? Check out