Does Btrfs have any mechanism to help manage ERC settings in the drives
or is there any desire for Fedora to help users do this?

I've typically used rc.local to check the settings on drives used in md
or btrfs arrays, e.g.


DISKS="/dev/sda /dev/sdb"

echo -n "smartctl: Trying to enable SCTERC / TLER and disable write
cache on main disks..."

for d in $DISKS;
do
  smartctl -l scterc,70,70 $disk >/dev/null
  hdparm -W 0 $disk
done

echo "."
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to