Just learned something new. It appears that hot-spares don’t work if you have a checkpoint on your pool. All my systems have a handful of hot-spares and I just had a drive fail overnight and to my surprise none of the spares had kicked in.
Reason was this:
zfsd 98 - - Replace vdev(tank/13090740039920181174): cannot replace 13090740039920181174 with /dev/gptid/e4479901-95ac-11ed-8eee-3cecef0f5468: checkpoint exists
Just sharing this info so people are aware if they choose to start utilising checkpoints.
2 Likes
Update: disk replacements also don’t work if you have a checkpoint in place. You must first discard the checkpoint before replacement works.
Appreciate this may well be old news to some people but for me today is a learning day.
2 Likes
I added this very crucial caveat to my post. Thank you for sharing it! The reason I didn’t add it sooner was because I thought I already had after reading your posts.
Better late than never!
1 Like
Great. Is it worth highlighting that this is also an issue for routine disk replacements outside of the hot-swap scope?
You do catch it with this statement “You cannot remove or modify vdevs if a checkpoint exists” however I’m not sure how many people reading the post would fully appreciate that this would mean disk replacements would fail.
2 Likes
Good point. I reworded that part.
1 Like