Soon after building a FreeNAS system, I suffered a hard disk failure on my ZRAID1 system. I tried to follow the instructions in the User Guide for replacing a failed disk but got in a complete mess using the command line - mostly because 8.0.2 does not give the same results to commands that are described in the 8.0.2 manual.
Help on this forum assisted me in regaining access to my volume but I was back at square one with a degraded pool. This time, I thought I'd try a different mechanism and, after reading all that I could, including suggestions to do a fresh installation, decided that I didn't understand the console commands well enough. The general opinion was that one should not use the GUI but use the command line instead but I didn't feel comfortable so tried the GUI.
This procedure worked perfectly:
1. Shutdown and replace failed drive
2. Reboot and, from the GUI (Storage/Drives), click "Replace" alongside the device that said it's state was unknown.
3. Wait for resilvering to finish. (In my case, this was 49 hours later and I did have to use ZPOOL STATUS -v to see how far it had got)
4. Click "Detach" alongside the device that was offline. It was identified by a long integer (not a GUID)
5. Lo and behold, the "Degraded" status was replaced by "Online" for the pool and everything works OK.
Was I lucky, or have things been fixed in the GUI? One would certainly expect any self-respecting fault-tolerant disk system to have an easy to use invocation of the disk replacement procedure. Having been used to using HP SmartArray controllers/software, I was pretty disappointed to be directed to the command line but this experience has restored some faith in FreeNAS.
Help on this forum assisted me in regaining access to my volume but I was back at square one with a degraded pool. This time, I thought I'd try a different mechanism and, after reading all that I could, including suggestions to do a fresh installation, decided that I didn't understand the console commands well enough. The general opinion was that one should not use the GUI but use the command line instead but I didn't feel comfortable so tried the GUI.
This procedure worked perfectly:
1. Shutdown and replace failed drive
2. Reboot and, from the GUI (Storage/Drives), click "Replace" alongside the device that said it's state was unknown.
3. Wait for resilvering to finish. (In my case, this was 49 hours later and I did have to use ZPOOL STATUS -v to see how far it had got)
4. Click "Detach" alongside the device that was offline. It was identified by a long integer (not a GUID)
5. Lo and behold, the "Degraded" status was replaced by "Online" for the pool and everything works OK.
Was I lucky, or have things been fixed in the GUI? One would certainly expect any self-respecting fault-tolerant disk system to have an easy to use invocation of the disk replacement procedure. Having been used to using HP SmartArray controllers/software, I was pretty disappointed to be directed to the command line but this experience has restored some faith in FreeNAS.