Snapper, for a subvolume it works with, puts snapshots in another subvolume called ".snapshots" in the parent subvolume. If one then operates with the snapshots, like copying them about, or reverting to an older snapshot, snapper stops, because .snapshots gets left behind.
After this causing trouble I adopted the method given in the arch wiki for snapper, in which one mounts a snapshot volume that is elsewhere, typically in the btrfs root, on .snapshots. For example, one might have @ and @snapshots at the top level, and in /etc/fstab @snapshots is mounted on @/.snapshots. This has worked well for me on the linux root subvolume on occasion.
But, I couldn't get it to work for @home or other subvolumes. Any operation, such as snapper -c home list failed with
When I first tried that, I gave up and just let snapper have its .snapshots in @home. But, today after checking things after major subvolume manipulations (a long story), I found snapper not working because .snapshots had wandered off, so I tried again, and got the ".snapshots is not a btrfs subvolume" error again.
But it is you *&%^*&%!.
For example, @homesnapshots would be mounted on @home/.snapshots, so @home/.snapshots is indeed a subvolume. /var/log/snapper is uninformative.
In preparing a rant for this post, I read again the arch wiki, and found a detail that I'd forgotten: "Give the folder 750 permissions."
With that, it works; the error is misleading.
After this causing trouble I adopted the method given in the arch wiki for snapper, in which one mounts a snapshot volume that is elsewhere, typically in the btrfs root, on .snapshots. For example, one might have @ and @snapshots at the top level, and in /etc/fstab @snapshots is mounted on @/.snapshots. This has worked well for me on the linux root subvolume on occasion.
But, I couldn't get it to work for @home or other subvolumes. Any operation, such as snapper -c home list failed with
Code:
IO Error (.snapshots is not a btrfs subvolume).
But it is you *&%^*&%!.
For example, @homesnapshots would be mounted on @home/.snapshots, so @home/.snapshots is indeed a subvolume. /var/log/snapper is uninformative.
In preparing a rant for this post, I read again the arch wiki, and found a detail that I'd forgotten: "Give the folder 750 permissions."
With that, it works; the error is misleading.
Comment