danielebiancoxch Posted July 12, 2023 Share Posted July 12, 2023 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 Quote Link to comment
itimpi Posted July 13, 2023 Share Posted July 13, 2023 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. Quote Link to comment
danielebiancoxch Posted July 30, 2023 Author Share Posted July 30, 2023 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 Quote Link to comment
JorgeB Posted July 31, 2023 Share Posted July 31, 2023 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. Quote Link to comment
danielebiancoxch Posted August 1, 2023 Author Share Posted August 1, 2023 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? Quote Link to comment
JonathanM Posted August 2, 2023 Share Posted August 2, 2023 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. Quote Link to comment
JorgeB Posted August 2, 2023 Share Posted August 2, 2023 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. Quote Link to comment
danielebiancoxch Posted September 11, 2023 Author Share Posted September 11, 2023 Perfect. Thanks so much for the support. 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.