Disk dropped offline in BTRFS RAID-5 pool


Recommended Posts

Background: I got a warning that a disk is missing in my BTRFS RAID-5 pool. Turned server off to investigate and for some reasons the SATA cable is slightly loose on the missing drive. No SMART error. Refixed cable, turn server back on and disk showed back up. No unmountable or stuff like that.

 

Q1: I assume I just need to run a scrub with correction and that should recalculate parity for anything that wasn't written to the offline disk?

Q2: Is there any reason to run btrfs scrub without correction?

 

Link to comment
1 minute ago, testdasi said:

Q1: I assume I just need to run a scrub with correction and that should recalculate parity for anything that wasn't written to the offline disk?

Yep, and check that all errors are corrected.

 

1 minute ago, testdasi said:

Q2: Is there any reason to run btrfs scrub without correction?

No.

  • Thanks 2
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.