Created
March 22, 2018 11:03
-
-
Save csamsel/bcf93ae41f2fb1d2a4e86d79c347817d to your computer and use it in GitHub Desktop.
script to activate TLER and disable NCQ on raid member HDDs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in sdb sdc sdd sde | |
do | |
# activate TLER | |
smartctl -q errorsonly -l scterc,70,70 /dev/$i | |
# disable NCQ | |
echo 1 > /sys/block/$i/device/queue_depth | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment