[help] I can't remove some BTRFS subvolumes + bonus questions
Hello! My disk space was out of space left, so I decided to remove some snapper snapshot. snapper list listed over 360 snapshots. I removed them, and freed 50Gb of space. One of these hasn't been deleted successfully:
Cannot delete snapshot 166 since it is the next to be mounted snapshot.
it's description is writable copy of #156. How can I remove it? should I do it using btrfs subvolume delete?
here's the output of sudo btrfs subvolume list -t /:
I would run a check, then balance, then see if it's still throwing errors. It sounds like something has caught, but if there's an errant snapshot I wouldn't worry about it.
sudo mount -o subvolid=5 /dev/<your disk here> /mnt
This will give you full access to the filesystem, then you can identify the full path of snapshots and delete them ie.
sudo btrfs subvolume delete /mnt/...
In openSUSE, snapper works by booting to a snapshot. "mount" command will reveal which subvolume you are booted from.
Thanks for the answer! I mounted it and removed all the timeshift-btrfs stuff. now, after a reboot, sudo btrfs subvolume list -t / does not show timeshift stuffs anymore, but if I mount again sudo mount -o subvolid=5 /dev/nvme0n1p2 /mnt and ls /mnt/ I get:
@ @cache @home @log timeshift-btrfs
how can I remove timeshift-btrfs from there? can i just rm -rf it?
In openSUSE
(sorry I forgot to mention, I'm running EndeavourOS)