New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BTRFS Raid / Multi Disk setup is currently not supported #2028
Comments
I implemented the current Btrfs support in ReaR and See
where all show only See also |
@ChojinDSL
on your original system or systems when you have different kind of them. Perhaps you may need to specify some more output columns that could be By the way: |
@jsmeix Here's the output of lsblk you asked for. I use Debian Stretch at the moment.
|
BTRFS is a bit unusual since it's so flexible and allows for very unusual setups. e..g
|
@ChojinDSL Btrfs' features just break traditional assumptions You may have a look at I fear implementing support for Btrfs setup on multiple disks |
Stale issue message |
I've noticed that ReaR doesn't correctly work with a BTRFS Multiple Disk setup.
E.g. a BTRFS Volume can consist of multiple disks in a variety of configurations, e.g. single, RAID1, RAID10, RAID5/6, etc..
It seems as if ReaR only creates a single disk BTRFS Volume during recovery. This could create problem if the backup is larger than a single disk.
Since BTRFS supports many mixed configurations, e.g. Metadata as RAID1 but Data as RAID10, accurately detecting the original layout might be tricky.
However, at the very least it would be very nice if ReaR could detect if a BTRFS Volume consists of multiple devices and then re-creates the BTRFS volume with the member devices during recovery.
If you create the BTRFS volume with just a list of devices, then per default the volume will be created as a "single" volume, but with the total capacity of all member devices. Since BTRFS supports rebalancing to migrate from single to RAID1/10/5/6, it would be easy for the user to rebalance their system back to their original layout, after recovery has taken place and the system has bootet into the OS.
The text was updated successfully, but these errors were encountered: