On Fri, 25 Nov 2011 13:19:28 +0000, Ramon Hofer wrote: > 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
When I turn logging on, I only get lots of messages from the system drive and not from any other. So it should work? > And do I have to restart the system or is it enough the do a > /etc/init.d/ hdparm restart? When I only have the spindown_time option in hdparm.conf and I do /etc/ init.d/hdparm restart then it tells me: "Setting parameters of disc: (none)." But when I add /dev/sdc { spindown_time = 1 } I get "Setting parameters of disc: /dev/sdc." The output from last reboot of grep sdc /var/log/syslog is Nov 25 14:26:19 media-server kernel: [ 1.776301] sd 1:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) Nov 25 14:26:19 media-server kernel: [ 1.776400] sd 1:0:0:0: [sdc] Write Protect is off Nov 25 14:26:19 media-server kernel: [ 1.776402] sd 1:0:0:0: [sdc] Mode Sense: 00 3a 00 00 Nov 25 14:26:19 media-server kernel: [ 1.776425] sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Nov 25 14:26:19 media-server kernel: [ 1.776546] sdc: Nov 25 14:26:19 media-server kernel: [ 2.178369] sdc1 Nov 25 14:26:19 media-server kernel: [ 2.200458] sd 1:0:0:0: [sdc] Attached SCSI disk The DPO and FUA things doesn't seem to have anything to do with that? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jao5s4$a08$4...@dough.gmane.org