--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/f0704046-5e94-4ab0-a781-4d13202b2c05%40googlegroups.com.
и у меня так.
To unsubscribe from this group and stop receiving emails from it, send an email to al...@googlegroups.com.
I'm not an expert, just lots of experience and my feeling is most of the time having disks aggressively spindown results in earlier failures.When I say aggressively I mean after 10mins of idling for example.
I have my disks spin down (power saving) disabled
Here is one day log for wakeup/standby events (System->Utilities,View Logs, System Log, filtered on page bottom by 'left|right'
Jul 31 00:10:51 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 00:31:33 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 01:10:59 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 01:31:45 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 02:11:05 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 02:32:26 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 03:11:20 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 03:32:06 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 06:00:08 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 08:06:00 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 08:45:51 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 09:35:55 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 10:00:54 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 10:28:56 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 16:46:11 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 18:29:03 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 18:44:56 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 21:03:41 DNS-325 daemon.info sysctrl: right disk (sdb) standby Jul 31 21:08:58 DNS-325 daemon.info sysctrl: right disk (sdb) wakeup Jul 31 21:29:05 DNS-325 daemon.info sysctrl: right disk (sdb) standby
Location:
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
Location:
To unsubscribe from this group and stop receiving emails from it, send an email to al...@googlegroups.com.
Hi,How about a scheduled spindown?ie, From x to y hours (off office hours) allow spindown, but still observing the spindown timer.ie, From y to x hours (office hours) disable spindown.
On Friday, 2 August 2019 22:24:40 UTC+1, X Y Z wrote:Hi,How about a scheduled spindown?ie, From x to y hours (off office hours) allow spindown, but still observing the spindown timer.ie, From y to x hours (office hours) disable spindown.You can do that yourself using services->system->croncreate an entry at office opening time disabling spindown by using command 'hdparm -S 0 /dev/sda'
create an entry for off office usage with spindown enabled by using 'hdparm -S NN /dev/sda'; NN is a number that specifies the minutes for standby, not the minutes themselfs.
Hi
On Sunday, August 4, 2019 at 10:33:03 AM UTC+8, João Cardoso wrote:
On Friday, 2 August 2019 22:24:40 UTC+1, X Y Z wrote:Hi,How about a scheduled spindown?ie, From x to y hours (off office hours) allow spindown, but still observing the spindown timer.ie, From y to x hours (office hours) disable spindown.You can do that yourself using services->system->croncreate an entry at office opening time disabling spindown by using command 'hdparm -S 0 /dev/sda'Will this conflict with the Disk Utilities' Spindown settings?
Currently I have it at 30 minutes.create an entry for off office usage with spindown enabled by using 'hdparm -S NN /dev/sda'; NN is a number that specifies the minutes for standby, not the minutes themselfs.I checked hdparm and NN is indeed a very nasty number:
A value of zero means "timeouts are disabled": the device will not automatically enter standby mode. Values from 1 to 240 specify multiples of 5 seconds, yielding timeouts from 5 seconds to 20 minutes. Values from 241 to 251 specify from 1 to 11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours. A value of 252 signifies a timeout of 21 minutes. A value of 253 sets a vendor-defined timeout period between 8 and 12 hours, and the value 254 is reserved. 255 is interpreted as 21 minutes plus 15 seconds. Note that some older drives may have very different interpretations of these values.At any rate:
If I want it to disable spindown starting 8AM Mon-Fri, I'd have cron to hdparm -S 0And then have cron to hdparm -S 241 every 6PMall good?
Hi
BTW... hdparm does not work with USB drives.Yet ALT-F can set idle timeout commands to USB drives.How is this done?