July 12, 20232 yr Hello everyone and sorry for the bad english from google translate. I need some advice on configuring my pool's filesystem, it is currently set up like this: If 1 of the 6 disks fails, would I be able to restart the pool by replacing the broken disk and recovering the data on the remaining disks? I did some tests and I couldn't replace it, the pool didn't restart except with the same disk. Can someone smarter than me help me? Thank you
July 13, 20232 yr Community Expert 8 hours ago, danielebiancoxch said: Hello everyone and sorry for the bad english from google translate. I need some advice on configuring my pool's filesystem, it is currently set up like this: If 1 of the 6 disks fails, would I be able to restart the pool by replacing the broken disk and recovering the data on the remaining disks? I did some tests and I couldn't replace it, the pool didn't restart except with the same disk. Can someone smarter than me help me? Thank you No. You have the pool set to have the Single data profile which gives you maximum space but no redundancy. If you want to be able to recover from drive failure you probably want the RAID1 profile which gives you redundancy at the expense of halving the usable space.
July 30, 20232 yr Author On 7/13/2023 at 8:13 AM, itimpi said: No. You have the pool set to have the Single data profile which gives you maximum space but no redundancy. If you want to be able to recover from drive failure you probably want the RAID1 profile which gives you redundancy at the expense of halving the usable space. Hi Mark, thanks for your answer. Actually I'm not interested in recovering data on the broken hdd, but from the other working ones. is this possible by replacing only the bad hdd? To date I have not been able to remove or replace any hdd of the pool. Thank you
July 31, 20232 yr Community Expert On 7/30/2023 at 10:25 AM, danielebiancoxch said: Actually I'm not interested in recovering data on the broken hdd, but from the other working ones. With the single profile if a device fails or is not available the whole pool will not mount, so all data will be unavailable.
August 1, 20232 yr Author On 7/31/2023 at 1:14 PM, JorgeB said: With the single profile if a device fails or is not available the whole pool will not mount, so all data will be unavailable. Hi Jorge, Thank you. Even if I replace the broken hard drive with a new one? is this only possible in raid 5?
August 2, 20232 yr Any other BTRFS RAID level besides 0 and single have redundancy. So if it were RAID1, RAID10, or RAID5 you could recover from a single drive failure. BTRFS RAID5 is not a recommended profile.
August 2, 20232 yr Community Expert 10 hours ago, danielebiancoxch said: Even if I replace the broken hard drive with a new one? You cannot replace a failed device with a non redundant profile pool. 10 hours ago, danielebiancoxch said: is this only possible in raid 5? Raid5 or any redundant profile, like Jonathan mentioned btrfs raid5 is not recommended, for raid5/6 suggest using zfs instead.
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.