Disk doesn't spin down

dr0n3
Posts: 1
Joined: Fri Jun 21, 2013 10:33 pm

Disk doesn't spin down

Postby dr0n3 » Fri Jun 21, 2013 10:40 pm

Hi,

I just build my NAS and the first problem came up.
I'm using 2x WD Red 3TB drives, they are recognized by Greyhole and everything works fine.
However, i can't spin them down. They are constantly running, which isn't really good.

I already tried shuting them down by:

Code: Select all

nas@NAS:~$ sudo hdparm -y /dev/sdb /dev/sdb: issuing standby command nas@NAS:~$ sudo hdparm -C /dev/sdb /dev/sdb: drive state is: active/idle
There is a short "squek" and the drive is running again/still running.
Apparently, the problem is hddtemp, which is the only process, accessing the disk:

Code: Select all

nas@NAS:~$ sudo lsof /dev/sdb lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/nas/.gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME hddtemp 1337 root 4r BLK 8,16 0t0 7400 /dev/sdb nas@NAS:~$ sudo kill 1337 nas@NAS:~$ sudo lsof /dev/sdb lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/nas/.gvfs Output information may be incomplete.
But killing hddtemp doesn't help. Putting them into standby via hdparm still doesn't work.

Does anybody know, what to do?
Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Disk doesn't spin down

Postby bigfoot65 » Sat Jun 22, 2013 6:46 am

Search these forums as I have seen this topic before. There should be some guidance there.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

s3nhome
Posts: 1
Joined: Thu Jul 10, 2014 5:32 am

Re: Disk doesn't spin down

Postby s3nhome » Thu Jul 10, 2014 5:33 am

I've set my disks to spin down after 21 minutes (APM level 252) but I can see that hddtemp is used on them. Did you find a solution to this?

Spinning media is still king for large storage, unfortunately, they are noisy in a small flat:P

My /dev/sda on which amahi is installed is a quiet SSD.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Disk doesn't spin down

Postby bigfoot65 » Thu Jul 10, 2014 6:46 pm

Not sure if this will help, but this was something I documented from a past user.

Code: Select all

#power drives down after 10 minutes idle /sbin/hdparm -S120 /dev/sda /sbin/hdparm -S120 /dev/sdb
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 6 guests