-
Notifications
You must be signed in to change notification settings - Fork 9
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
Volume layout with root and home in top level not working #47
Comments
Thanks for trying snazzer on fedora. 👍 Could you post your I've a similar layout running on Arch Linux, so we should get this to work somehow. Btw, did you run @csirac2 the strange thing is that with my similar setup, I actually get no output to |
I ran booth and they gave the same output |
I'm confused. What I use to circumvent the top level subvolumes issue is to mount my disk via fstab to /run/systemfs, and run snazzer on that mountpoint, so exactly what you tried with your /mnt experiment. Hopefully @csirac2 can shed some light on what's actually happening there next weekend, and why To complete the view, you could post |
Using /mnt works-ish i modified But then snazzer-receive fails
as does snazzer-measure
list-snapshots seems to work
and is even when /home is specified
|
Research results: |
Thanks for the contributions - yes indeed, you have discovered that I haven't been testing snazzer with this layout. Now that snazzer appears to have people trying it, I will work on improving the testing :) Addressing this requires some thought - it seems like a regression I thought I had already fixed. Will work on this once the other two PRs are done. I have some ansible automation I will need to bring into our tests somehow. Thanks again |
I run into a similar situation. OS is CentOS 7.3. I created a btrfs filesystem named tank. Then I created two subvolumes under tank for var and home. My /etc/fstab is as below: [root@localhost /]# cat /etc/fstab UUID=24ac7a7f-4a8b-4a56-814d-f4195d2f5690 / ext4 defaults 1 1 [root@localhost /]# btrfs subvolume list -t /tank [root@localhost /]# snazzer --all --dry-run /home EXCL [root@localhost /]# snazzer --all --dry-run /var EXCL |
On Fedora the default volume layout is
# btrfs subvolume list -t / ID gen top level path -- --- --------- ---- 257 123693 5 root 258 123693 5 home 305 123659 257 var/lib/machines
snazzer --all --dry-run
fails withERROR: /root is not a btrfs subvolume
andsnazzer --all --dry-run /home
fails with/home/root is not a btrfs subvolume
mount /dev/sdb -o subvolid=5 /mnt
and thensnazzer --all --dry-run /mnt
will ignore ignores.while
snazzer --all --dry-run /mnt/root
will fail withERROR: /mnt/root is not a filesystem mountpoint
same for /mnt/homeThe text was updated successfully, but these errors were encountered: