Spinning down USB hard drive

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
holmes
Posts: 22
Joined: Fri Mar 11, 2011 2:09 pm

Spinning down USB hard drive

Post by holmes »

Hi,

I have installed Ubuntu 10.10 on a USB hard drive and run Squeezplay and Squeezebox server.
I would like the drive to spin down when it is idle. I tried the Ubuntu power-management settings and HD-idle without success.
Does anyone have any experience or idea on this topic?

Many thanks,
Jarv_77
Posts: 92
Joined: Fri Mar 04, 2011 9:55 am

Re: Spinning down USB hard drive

Post by Jarv_77 »

Holmes,

A bit late but your post came up on a search I was doing......

I have an externally powered Western Digital hard-drive connected to my joggler. It spins down automatically when not in use.

David
User avatar
Mevi
Posts: 774
Joined: Tue Oct 25, 2011 4:39 pm

Re: Spinning down USB hard drive

Post by Mevi »

I think it's down to the hdd whether it spins down when idle. I have a samsung portable drive that does and a generic enclosure that does, another 2 generic ones that don't. I added an app to my XP build to enable spin down on some drives, but without firmware support, no fix that I could find.
I've Got The Moves Like Joggler

Windows XP Professional SP3 plus Tablet PC for O2 Joggler
http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=305

How to build your own Windows XP for the Joggler
http://www.jogglerwiki.com/wiki/WindowsXP
Jarv_77
Posts: 92
Joined: Fri Mar 04, 2011 9:55 am

Re: Spinning down USB hard drive

Post by Jarv_77 »

I've been looking into this and have found that, for some, the hard drive spinning down is a big problem as it can get 'lost' from /mnt and not wake up again! At the moment I am suspecting that it is the root of my problems with mp3 files not loading in squeezeserver/player.

David
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: Spinning down USB hard drive

Post by BuZz »

drives can be set to spin down when idle via some power management settings. some usb controllers may do this automatically. if it doesn't you first need to see whether the controller support SAT (SCSI-ATA Command Translation) as without this you will not be able to send commands via hdparm for example.

first you could try something like

sudo hdparm -y /dev/sdX

and see if that works.

(should put the drive in standby)
Post Reply