I have alerts today for one of my mirror vdevs. I ran Long SMART which failed, Short SMART which passed. The sector errors started with 8, then a few hours later were 16. I’ll probably replace the drive, but is there any recourse for remapping or fixing this drive while it’s still in the NAS? My pool has 54% usage.
I don’t know what you want to “online” at the end.
If you have a spare SATA port, the best procedure is to plug in the new drive and replace the failing drive from GUI (Storage>Pool>Status>drive>…). TrueNAS will offline the old drive when it’s done.
I’m on SCALE. I was just referencing this in the docs:
“Click Offline on the ZFS Info widget to take the disk offline. The button toggles to Online.”
The correct route for SCALE is:
GUI >Storage>Pool Devices>Drive
“Best bet is to do an online replacement, meaning that you connect the replacement drive while the old drive is still in the system. Don’t offline or remove the failing disk first–install the new one, do the replacement through the GUI, and once that finishes, the old disk will offline automatically. You can then remove it at your convenience.”
If you do this, Scale will format the disk before replacing it. Once its formatted it will change to “removed” and you will not be able to online it if something goes wrong during the replacement (ie read errors from the remaining disk, which could’ve been read from the offlined disk, if only it weren’t formatted…)