linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* working quota example?
@ 2012-10-08 12:09 matthieu Barthélemy
  2012-10-08 13:01 ` Arne Jansen
  0 siblings, 1 reply; 6+ messages in thread
From: matthieu Barthélemy @ 2012-10-08 12:09 UTC (permalink / raw)
  To: linux-btrfs

Hi all,

I tried without success to get a working Btrfs+quota setup.
I created a new Btrfs filesystem on a new
partition, then activated quota management ('btrfs quota enable'), and
created a few subvolumes.
I created a qgroup (with id 100) with 'btrfs qgroup create', and tried to
apply a quota on one of my subvolumes using 'btrfs qgroup limit'

So far I've been unable to get this working, I can create a file (using dd)
inside the subvolume that will happily eat all my FS space without triggering
anything that could look like a quota limitation.
btrfs-progs help is not really useful, it's more like a quick reminder than
a real 'help'.
So I have 2 questions for experimented Btrfs developers and users:
-Could someone post a working example of a quota configuration on 1 or
several subvolumes? Minimal/simplest working configuration.
-How can I see the used/remaining space for each subvolume that has a quota
set (I guess it should be done with 'btrfs qgroup show ' but its output is
rather terse (returns '0/100 0 0' on my system).

Thanks in advance for your help, and all the work done to bring us so many
features.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-09  7:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-08 12:09 working quota example? matthieu Barthélemy
2012-10-08 13:01 ` Arne Jansen
     [not found]   ` <CAK=A7Ee84dXpc4DenR7-Sn8UPG-qTiRRS0fdvRCWT+hF1bPaSQ@mail.gmail.com>
2012-10-08 19:48     ` matthieu Barthélemy
2012-10-08 19:51     ` Arne Jansen
2012-10-09  7:13       ` matthieu Barthélemy
2012-10-09  7:24         ` Arne Jansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).