0
1
On an btrfs volume, I have a folder snapshots/
in which I store a snapshot of the whole volume from time to time.
btrfs automatically mounts all subvolumes, eg. after mounting the top volume, snapshots/
is populated with all snapshots ever done.
Now I like to unmount the subvolumes in snapshots
, leaving snapshots
empty (without deleting the snapshots of course). This is very useful if I do backups, indexing or searching on the volume, which otherwise always needs to be limited in a tool-dependent fashion to exclude snapshots/
, which is not always easy.
As the subvolumes are not mounted by kernel, I cannot unmount them with mount
. How to unmount them?
Reboot is not an issue, as my
btrfs
volumes are not containing my root fs. – dronus – 2016-06-12T23:27:49.407