meta data for this page
This is an old revision of the document!
BTRFS subvolumes
btrfs subvolume create /BTRFS/sub1 btrfs subvolume create /BTRFS/sub2 btrfs subvolume create /BTRFS/sub3
btrfs subvolume list /BTRFS ID 256 gen 234 top level 5 path sub1 ID 257 gen 227 top level 5 path sub2 ID 258 gen 228 top level 5 path sub3
Mount subvolume
mount -o subvol=sv1/sv12 /dev/sdb /mnt
Getting data size on each subcvolume:
- Enable quota on btrfs
btrfs quota enable /
- Install script https://github.com/agronick/btrfs-size