Hi, I have an external WD Red Plus (wd40efzx) connected to my Pi 4b and I was checking the hdparm values, it seems that this are the current settings:
apm = 127
force_spindown_time = 0
However, I’m not sure I understand the values in APM (127) or what they do. What are the recommendations? Seeking some advice. Use case is that this is a disk with light usage, it may be used like once or twice a week (read/write), although it needs to be always connected because it has some services that randomly may need to access it (it can be 1 week without access or 2 days in a row, it’s random).
I want to have the best lifespan of it but I don’t know which settings to use.
A low value means aggressive power management
and a high value means better performance. Possible
settings range from values 1 through 127 (which permit
spin-down), and values 128 through 254 (which do not permit
spin-down). The highest degree of power management is
attained with a setting of 1, and the highest I/O
performance with a setting of 254. A value of 255 tells
hdparm to disable Advanced Power Management altogether on
the drive (not all drives support disabling it, but most
do).
So you could start with a value of 1 and see how it’s going.
You can also set the spindown time within dietpi-drive_manager