Jump to content

ZFS integrity during 2 disk resilver


Go to solution Solved by Kilrah,

Recommended Posts

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?

Link to comment
Posted (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 by Kilrah
Link to comment
  • Solution
Posted (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 by Kilrah
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...