User avatar
Posts: 17951
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Spinning down HDD?

Thu Jan 09, 2014 7:39 am

sdparm (1.0.7) seems to be available in Jessie now. I'm not sure why you can't download it.

Forum Moderator
Forum Moderator
Posts: 3720
Joined: Wed Dec 28, 2011 11:45 pm

Re: Spinning down HDD?

Thu Jan 09, 2014 8:02 am

mcgyver83 wrote:I had to restart from scratch and now I'm not able to install sdparm from apt-get (raspbian jessie).
Can you post the errors you are getting?

Posts: 1
Joined: Sat Jul 05, 2014 11:48 am

Re: Spinning down HDD?

Sat Jul 05, 2014 12:06 pm

I also had problems with hdparm (SG_IO: bad/missing sense data)
and now it is running fine with hd-idle.

I downloaded it via CVS and compiled as mentioned on the website.

The tool is loaded automatically at system startup with help of the /etc/rc.local script. ( line "/usr/local/sbin/hd-idle -i 1200 -a sda1 &" above the exit command)

Posts: 15
Joined: Fri Dec 19, 2014 12:35 am

Re: Spinning down HDD?

Sun Dec 28, 2014 12:35 am

Hello, a suggestion of silent hdd (2to if possible for nas server) compatible with "Spinning down" please ?

Posts: 361
Joined: Fri Oct 05, 2012 11:49 am

Re: Spinning down HDD?

Wed Dec 31, 2014 8:42 am

The post above, works really fine!

Posts: 1
Joined: Wed Apr 15, 2015 5:36 am

Re: Spinning down HDD?

Fri Apr 17, 2015 6:12 am

Thanks for these information guys. Can you please add what are the best ssd brands with features and price? =) I'm looking a good one.

Posts: 3
Joined: Fri Apr 15, 2016 9:31 am

Re: Spinning down HDD?

Fri Apr 15, 2016 11:01 am


I bought the 314Gb PiDrive KIT and installed it successfully. After that I moved the system (Ubuntu Mate) to the PiDrive so my Pi boots now from the HDD.

The Problem is the drive is not spinning down.

I tried hdparm and hd-idle (actually a service on my Pi) but if I use "hd-idle -t" option the disk is spinning down and just spins up one second later.

I can I get my HDD to spin down as I think it is not good for thr drive running all the time (24/7 in my case).

Also I have services like Nagios3 and RPIMonitor running - is this the problem? Do you think it would be better to use the PiDrive just for data storage?

Thanks for your help.

Posts: 4
Joined: Fri Jul 17, 2015 1:03 pm

Re: Spinning down HDD?

Sun Jan 08, 2017 10:41 pm

I was having the same issues with my USB Harddrive not spinning down. I migrated this HD from a Pi1 where it was spinning down fine to my Pi3. I tried hdparm and udisks without success. The HDD also supports a power-down on idle setting but this did not kick in. I'm not sure why it didn't work because nothing was being accessed on the drive.

In the end the hd-idle solution worked for me. Thanks @jokerpack for posting this.

Posts: 1
Joined: Sun Sep 01, 2019 3:29 pm

Re: Spinning down HDD?

Sun Sep 01, 2019 3:36 pm

here is the solution to this problem. ... ata/771726
Just write in console lsusb this comand show you your wendor and device id. Then edin you cmdline.txt. sudo /boot/cmdline.txt .
Finally must by something like this
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet usb_storage.quirks=0bc2:ab28:

Return to “General discussion”