I’m a fairly new user of TrueNAS and ZFS, I set up my NAS this summer. I had three disks available, and figured I would use two in a mirror setup, and add the third as a spare.
My understanding was that if/when one of the disks in the mirror failed, the spare would step in and take its place and I could replace the failing disk when I had time. Until that time, everything would work fine, with the redundancy that mirroring offers. ![]()
A few days ago, one of the disks in the mirror failed, and a resilvering was done, but the system is still set as degraded, and from the UI I’m not sure if the spare has been added to the mirror, or if the entire mirror has been taken out of use and I’m now running on a single disk. ![]()
It doesn’t help that I don’t remember which disks were in the mirror and which was the spare. ![]()
The UI also says I have 1 unused disk, but it doesn’t tell me which one it is, it only tells me the size. All the disks are the same size, so that’s not really helpful at all. ![]()
I’ve discussed this with some people who have used ZFS for a long time, but they all have lots of disks and never used TrueNAS so their recommendations doesn’t “cleanly apply” to my situation/UI.
I’m not allowed to embed a screenshot or a link to a screenshot (new account I guess?), so I will try to describe what I see:
Under Storage → Manage devices.
Data VDEVs
MIRROR DEGRADED No errors
sda ONLINE 2.73 TiB No errors
SPARE DEGRADED No errors
sdc FAULTED 2.73 TiB 18 Errors
sdd ONLINE 2.73 TiB No errors
Spare
sdd UNAVAIL 2.73 TiB No errors
I guess I have two questions:
- What should my immediate next step be?
I think I have another 3TB drive in a different machine, which is not in use at the moment. Would any solution be easier by using that drive (either by moving into the NAS, or using via network)?
- Longer term, is the mirror + spare setup a bad choice, should I do something else instead?
The people I talked to suggested RAIDZ2, but that requires 4 drives. I guess I could use RAIDZ1, but I’m not sure I understand when you would use mirror+spare vs raidz1.