In Btrfs Assistant, I tried creating a manual snapshot on the Snapper tab. There’s nothing under the Select Config dropdown, and when I try hitting New, I get “No Config Selected for Snapshot.” After a bit of research, I found that I need to set up a config in the terminal with something like:
sudo snapper -c root create-config /
But, I get:
Creating config failed (invalid filesystem type).
According to my fstab, I’ve got the following btrfs partitions (subvolumes?):
/ btrfs subvol=root,compress=zstd:1,ro 0 0
/home btrfs subvol=home,compress=zstd:1 0 0
/var btrfs subvol=var,compress=zstd:1 0 0
To me, that looks like / is a btrfs partition (subvolume). I tried listing the subvolumes:
sudo btrfs subv list /
ERROR: not a btrfs filesystem: /
ERROR: can't access '/'
Odd. I thought the mountpoint would be / . Then I tried:
sudo btrfs subv list /root
ID 256 gen 148645 top level 5 path var
ID 257 gen 148645 top level 5 path home
ID 258 gen 148627 top level 5 path root
I don’t understand why the subvolumes are under /root. But, in a bit of random flailing, I tried:
sudo snapper -c root create-config /root
IO Error (subvolume is not a btrfs subvolume).
So, I’m at a loss. How do I create a config in Bazzite that will allow me to create Btrfs snapshots?
EDIT: I also looked for my Btrfs mount points with:
cat /proc/mounts | grep btrfs
/dev/nvme0n1p7 /etc btrfsrw,seclabel,relatime,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/root 0 0
/dev/nvme0n1p7 /sysroot btrfsro,seclabel,relatime,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/root 0 0
/dev/nvme0n1p7 /sysroot/ostree/deploy/default/var btrfsrw,seclabel,relatime,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/root 0 0
/dev/nvme0n1p7 /var btrfsrw,seclabel,relatime,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/var 0 0
/dev/nvme0n1p7 /var/home btrfs rw,seclabel,relatime,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/home 0 0
and I’m still pretty much at a loss.