Hi David! Am Sonntag, 3. April 2016, 01:51:01 CEST schrieb David C. Rankin:
Where is the default Advanced Power Management setting for 'hdparm -B' set? I've looked at yast sysconfig and picked through /etc, but cannot find the setting. The allowed hdparm apm are setting from 1-127 allow drive spindown, 128-254 does not allow spindown, 255 disables.
$ sudo smartctl -a /dev/sda | grep Load_Cycle 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 1422966
I need to set this setting at a minimum of 128 to prevent further spindown. With the default of 96, since I installed 13.1 on a new 750G laptop drive, I have experienced more than 1.4 million cycles (which exceeds the manufacturer lifecycle estimate of 50,000 -- by a lot, see: https://en.wikipedia.org/wiki/Hard_disk_drive_failure#Landing_zones_and_load .2Funload_technology) I didn't install 13.1 until 7/2014 or a bit less than 2 years ago. With the processes running on the laptop, that is one cycle a minute (approximately).
Granted, I'm not sure all 1.4 million are complete spindowns or simply some other power-saving feature moving the RW-head to the landing zone, but the Load_Cycle_Count is way above what sounds remotely reasonable for 22 months of drive use.
I would like to set apm at some value above 128 to prevent unnecessary spindown. Where can I find where this is set by default and set a new value??
Looks like you have one of many drives the have a broken firmware. openSUSE has a special package named storage-fixup, that reconfigures your drive so that this does not happen, presupposed it is contained in the list of known broken devices. With so many Load_Cycles you can consider your drive close before failure. Better you replace it soon. All this happened with one of my drives, too. It was part of a RAID1, so I was save as it failed. Two other drives showed the same symptoms, but storage- fixup saved them. Herbert