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
Restore lvm backups on brtfs? #166
Comments
@tlaurion Its certainly possible now with extra steps taken by the user. The only issue I'm aware of is (in the context of a system like Qubes) the volume names will differ almost completely. OTOH, for non-Qubes systems this may not pose any problem at all and volumes might be sent and received without changing volume names, depending on the admin's preferred storage arrangements. Let's say you have a Qubes reflink storage pool at '/mnt/btrfs/libqubes' and the dirs 'appvms' and 'vm-templates' are directly under that. In this case you almost certainly want to make '/mnt/btrfs/libqubes' a Btrfs subvolume and use that path for Hence...
If we want to restore banking from this archive into an LVM thin pool, we can either create the thin volume manually and then use Going in the opposite direction LVM to Btrfs: You can also rename before receiving, or you have the option of receiving directly using the LVM name and then doing There is also a minor issue with permissions; Wyng currently can only preserve owner read/write status when going between LVM and reflink, but it will do this automatically. The short answer is: Yes. It boils down to the difference in volume names. And I've already done that type of restoration between different pool types with Wyng; One must simply know the paths used by the different Qubes pool types and rename accordingly. As for questions about making this work nicely under the VM concept directly, this will have to be addressed with |
BTW, I think Btrfs has improved a lot but it still might be sub-optimal compared with XFS, which has less overhead than Btrfs but still supports reflinks. My understanding is there may still be a big difference in write amplification between the two. |
@tasket is there advancement I'm not aware of? |
@tlaurion Btrfs has a series of very substantial speed improvements in the kernel versions 6.1, 6.2, and 6.3. These have been available in Qubes 4.1 via the 'kernel-latest' package. I think Qubes 4.2 is starting out with kernel 6.1 or 6.2 IIRC. |
Implemented in wyng-util-qubes. |
Asking this wishing for a "yes, possible" in the goal of restoring 4.1 templates and vms backuped from 4.1 in lvm mode into 4.2 into brtfs. Seems like the issues related to perf won't be fixed soon (4k templates etc) where BTRFS just gets a perf boost on 4.2 by default.
Any insights on how/if that is possible @tasket ?
The text was updated successfully, but these errors were encountered: