Re: Report correct filesystem usage / limits on BTRFS subvolumes with quota

2018-08-12 Thread Andrei Borzenkov
12.08.2018 10:04, Andrei Borzenkov пишет: > > On ZFS snapshots are contained in dataset and you limit total dataset > space consumption including all snapshots. Thus end effect is the same - > deleting data that is itself captured in snapshot does not make a single > byte available. ZFS allows

[PATCH] fstests: btrfs: Add test for corrupted childless qgroup numbers

2018-08-12 Thread Qu Wenruo
This bug is exposed by populating a high level qgroup, and then make it childless with old qgroup numbers, and finally do rescan. Normally rescan should zero out all qgroups' accounting number, but due to a kernel bug which won't mark childless qgroups dirty, their on-disk data is never updated,

trouble mounting btrfs filesystem....

2018-08-12 Thread Scott E. Blomquist
Hi All, Early this morning there was a power glitch that affected our system. The second enclosure went offline but the file system stayed up for a bit before rebooting and recovering the 2 missing arrays sdb1 and sdc1. When mounting we get Aug 12 14:52:43 localhost kernel: [

Re: Report correct filesystem usage / limits on BTRFS subvolumes with quota

2018-08-12 Thread Andrei Borzenkov
12.08.2018 06:16, Chris Murphy пишет: > On Fri, Aug 10, 2018 at 9:29 PM, Duncan <1i5t5.dun...@cox.net> wrote: >> Chris Murphy posted on Fri, 10 Aug 2018 12:07:34 -0600 as excerpted: >> >>> But whether data is shared or exclusive seems potentially ephemeral, and >>> not something a sysadmin should