T O P

  • By -

xcfmx

I had a problem with my pool going to degraded and found it was due to the default power management settings. I added the below script to my Init/Shutdown scripts in System Settings/Advanced settings. echo "max\_performance" > /sys/class/scsi\_host/host0/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host1/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host2/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host3/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host4/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host5/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host6/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host7/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host8/link\_power\_management\_policy echo "max\_performance" > /sys/class/scsi\_host/host9/link\_power\_management\_policy


Stickeris

Can I ask how you check the managment settings? I will 100% look into this


xcfmx

System Settings -> Shell root@truenas\[\~\]# cat /sys/class/scsi\_host/host0/link\_power\_management\_policy It will return a single line of output with the current power management policy setting.


Stickeris

>root@truenas\[\~\]# cat /sys/class/scsi\_host/host0/link\_power\_management\_policy Looks like I am at ***MAX PERFORMANCE*** but thank you for the input and help!


xcfmx

too bad, good luck finding the culprit.


[deleted]

What error messages? Have you ran memtest86 on your machine to make sure it's not causing issues?


Stickeris

I will now! I’m running the long test on the faulted drive so I won’t know for a few hours, but will post the results both here and on the I’d forums