BTRFS – WARNING: qgroup data inconsistent, rescan recommended

# btrfs qgroup show /
WARNING: rescan is running, qgroup data may be incorrect
....

# btrfs subvolume list /
ID 256 gen 32 top level 5 path @
ID 257 gen 20910 top level 256 path @/var
ID 258 gen 20890 top level 256 path @/usr/local
ID 259 gen 20902 top level 256 path @/tmp
ID 260 gen 20902 top level 256 path @/srv
ID 261 gen 20886 top level 256 path @/root
ID 262 gen 20887 top level 256 path @/opt
ID 263 gen 20910 top level 256 path @/home
ID 264 gen 56 top level 256 path @/boot/grub2/x86_64-efi
ID 265 gen 28 top level 256 path @/boot/grub2/i386-pc
ID 266 gen 20742 top level 256 path @/.snapshots
ID 267 gen 20903 top level 266 path @/.snapshots/1/snapshot
ID 274 gen 55 top level 266 path @/.snapshots/2/snapshot
ID 277 gen 518 top level 266 path @/.snapshots/4/snapshot
ID 279 gen 525 top level 266 path @/.snapshots/5/snapshot
ID 596 gen 14767 top level 266 path @/.snapshots/166/snapshot
ID 644 gen 20374 top level 266 path @/.snapshots/204/snapshot
ID 645 gen 20376 top level 266 path @/.snapshots/205/snapshot

Sample
# btrfs quota rescan <path>
# btrfs quota rescan /home

 

https://btrfs.wiki.kernel.org/index.php/Quota_support#Enabling_quota

Leave a reply

©2016 idStudio & SMThemes.com