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
No layout recreation code generated for btrfs fs on Debian testing #408
Comments
@ypid interesting. The file for |
Hi I hope this helps: https://github.com/ypid/rear_issue_408 |
ok thanks - I noticed in
the UUID is a bit malformed... |
@ypid could you paste the output of the command |
Sure:
|
Ok, thanks it is indeed different then on my test system:
|
I can confirm that the problem still exists with b19c28e although the uuid is now correctly extracted. |
@ypid how does the disklayout file looks now? And were does it block for you (during recover)? |
I added debug logs using the current version. Not sure when I find the time to test a restore again. |
I added the layout files generated during recover. |
…ount_filesystem_code.sh script to override the mount_fs function (therefore we start with number 14 instead of 13 so we are sure it gets read after the default mount_fs() function defined in usr/share/rear/layout/prepare/GNU/Linux/13_include_mount_filesystem_code.sh) This code is coming from J Meixner (see issue #497) read116 fork from SuSe. We are just moving the code from Johannes back into the main stream of rear, but now we extracted the btrfs mount code away from 13_include_filesystem_code.sh into a specific script for SUSE_LINUX called 14_include_mount_filesystem_code.sh; The purpose is to get one script in the future that could handle all types of btrfs (which I doubt). We also need to think on a Debian specific script to (but that is for later - see issue #408) Issues #233, #497 and #408
@ypid Were you able to test rear-1.17.0 already on Debian with btrfs? Does it work now or is it still an issue? |
I might be able to test this in a few months as I don’t have rear setup currently. |
No further feedback sinde more than one year and I think we can close it as "fixed". |
Hi
During migration with ReaR I noticed that there was not layout generation code for my root filesystem which is btrfs. Also, because of the disk dependency system of ReaR, /boot was also not created (which I could fix by commenting out my root fs from the disklayout.conf file).
I am not sure what the problem is. When I need to migrate (or restore) once again in the future I will further investigate this issue. For now I could fix it by writing the section for the root fs myself.
Also I noticed that ReaR was not able to handle a swap partition, which is encrypted (and created) with a random key on each start. ReaR would have to do nothing more than to create a partition (which is then setup by dm-crypt on startup). The creation (mkswap) is not needed. Maybe possible to add a test for this.
https://github.com/rear/rear/blob/master/usr/share/rear/layout/prepare/GNU/Linux/13_include_filesystem_code.sh
The text was updated successfully, but these errors were encountered: