Flatbed0563 Posted May 12 Share Posted May 12 Hi all, I recently moved to zfs raidz2 for my main storage, the day after putting everything up again, I got 2 drives giving me smart warnings (current pending sector and offline uncorrectable error). I was planning on replacing the drives and resilver. However, I am wondering, how confident can I be about data integrity during the resilver. Can I be absolutely sure that if data gets corrupted due to a third drive failure, unraid will either correct or notify me? Quote Link to comment
Kilrah Posted May 12 Share Posted May 12 (edited) Would only replace one at a time starting with the one in worse shape. If you replace both at the same time then no more correction is possible, and a 3rd drive failure would cause the loss of the entire pool. Edited May 12 by Kilrah Quote Link to comment
Flatbed0563 Posted May 12 Author Share Posted May 12 Thx for the response. Can I trust that each resilver will not corrupt any data, as the rebuild will calculate from a potentially faulty drive? Quote Link to comment
Solution Kilrah Posted May 12 Solution Share Posted May 12 (edited) When you replace one drive there will be 2 sources of redundancy, so if one is unreadable it'll use the other. If both were bad the whole operation would fail AFAIK. There are checksums so it can know if the data is correct or not. Either it rebuilds correct data or it can't and the pool is gone. Edited May 12 by Kilrah Quote Link to comment
Flatbed0563 Posted May 12 Author Share Posted May 12 Thx for the info, that is actually a relief Quote Link to comment
JorgeB Posted May 13 Share Posted May 13 Additionally, and if you have enough SATA ports to have all disks connected, you could do a manual replacement, so the old disks could still be read (except for the bad parts). Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.