![]() To suppress this message, which could end up getting written somewhere, potentially the / filesystem (which is on an SSD in my case), below is what I'm using in the root crontab. ![]() You should see output like this: 1+0 records inĥ12 bytes copied, 0.000738308 s, 693 kB/s` To make sure you have the right UUID, test it on the command line like this (make sure you use your desired UUID, not this one): sudo dd if=/dev/disk/by-uuid/f01df4b5-6865-476a-8d3b-597cbd886d41 of=/dev/null count=1 skip=$RANDOM This uses crontab to read a random block from the drive every 5 minutes and ignores all messages. The following method does require root access, but so does hdparm. I had no luck with hdparm on an external HDD mounted in a USB enclosure, which I use to serve media with minidlna.īest results come from using the disk's uuid, which you can find with: sudo blkid Sudo hdparm -S 245 /dev/sdb = spindown after (245-240)*30 minutes. Sudo hdparm -S 25 /dev/sdb = spindown after 25*5 seconds. Will show the current spindown value, for example: Advanced power management level: 254įrom the manual, 254 is reserved, so I expect it to be Ubuntu's default (can anyone confirm/expand on this please?). Note that some older drives may have very different A value of 253 sets a vendor-defined timeout periodīetween 8 and 12 hours, and the value 254 is reserved. A value of 252 signifiesĪ timeout of 21 minutes. Minutes, yielding timeouts from 30 minutes to 5.5 hours. Values from 241 to 251 specify from 1 to 11 units of 30 Values from 1 to 240 specify multiples of 5 seconds, yielding timeouts from 5 ![]() "timeouts are disabled": the device will not automatically enter standby mode. TheĮncoding of the timeout value is somewhat peculiar. Respond to a subsequent disk access, though most drives are much quicker. Under such circumstances, the drive may take as long as 30 seconds to Long to wait (with no disk activity) before turning off the spindle motor to save This timeout value is used by the drive to determine how From the manual ( man hdparm on the command line): -S Put the drive into idle (low-power) mode, and also set the standby (spindown)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |