Re: SATA disc spindown



On Fri, 25 Nov 2011 13:26:13 +0100, Lou wrote:

Hallo Ramon,

Thanks for your reply Lou!


On Fri, 25 Nov 2011 11:49:42 +0000, Ramon Hofer wrote:

>Therefore I uncommented the spindown_time line and set the value to
>241 which should spin down all the drives after 30 minutes.

>To speed up testing I have set spindown_tim = 1 but the drives still
>stays active...

>Can I check the access to the discs from a log? Or maybe I should
>create a sudo hdparm -C /dev/sd? log which checks the drive states
>every 15 minutes or so?

Maybe it's just the hddtemp daemon with the temperature polls keeping
your data drive(s) awake? To find out more exactly I suggest you monitor
r/w access in syslog:

I have setup hddtemp to do nothing automatically (set interval to 0 and
don't start as daemon). So this shouldn't be the problem.


#this will put a comment about read/write access into your syslog: echo
1 > /proc/sys/vm/block_dump

#live monitoring syslog:
tail -f /var/log/syslog

#switch off syslog r/w comments:
echo 1 > /proc/sys/vm/block_dump

Hopefully this will give you the necessary hints

This is of great help!
Thanks alot!!


Btw: As you didn't write anything else hdparm should have no problem
spinning down sata drives?

And do I have to restart the system or is it enough the do a /etc/init.d/
hdparm restart?

Do you know if I can check the hdparm setting somewhere? Like hdparm -C
to show me the spindown setting?


Cheers


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/jao4l0$a08$3@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: SATA disc spindown
    ... I use Squeeze, 2.6.32-5-amd64, hdparm v9.32, the drive sdc is a WDC ... ass for linux users ... ... Do you have any advices about the Samsung drives in the mdadm raid? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Automounting USB drive on GNOME stopped working...
    ... I will have a look at syslog when I get back home. ... suffering from little disk space in a server with too much logging. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: SATA disc spindown
    ... >241 which should spin down all the drives after 30 minutes. ... To find out more exactly I suggest you monitor r/w access in syslog: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: SATA disc spindown
    ... >241 which should spin down all the drives after 30 minutes. ... monitor r/w access in syslog: ... The DPO and FUA things doesn't seem to have anything to do with that? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Automounting USB drive on GNOME stopped working...
    ... I will have a look at syslog when I get back home. ... could be checked pretty easily by creating a test user such as test1 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)