* BTRFS subvolume quota limits
[not found] <CA+pWcCZ9qtMNDpzEhmTjvJFJ9WnjbxZcvYxnJUJjdratQYNCow@mail.gmail.com>
@ 2011-11-20 21:50 ` Karol Šebesta
2011-11-21 4:15 ` dima
0 siblings, 1 reply; 3+ messages in thread
From: Karol Šebesta @ 2011-11-20 21:50 UTC (permalink / raw)
To: linux-btrfs
Hello,
Is there any possibility to set quota limit for subvolume created in
BTRFS pool as in Solaris ZFS?
I'm currently testing btrfs and I have a pool /home with two
partitions (disks) and three subvolumes on it:
Label: none =A0uuid: b742c9c7-162b-40d1-9186-f1c84418ff53
=A0 =A0 =A0 =A0Total devices 2 FS bytes used 513.02MB
=A0 =A0 =A0 =A0devid =A0 =A02 size 20.00GB used 1.26GB path /dev/sdb
=A0 =A0 =A0 =A0devid =A0 =A01 size 5.00GB used 1.26GB path /dev/sda6
BTRFS:/ # btrfs subvolume list /home
ID 257 top level 5 path Download
ID 258 top level 5 path Test
ID 261 top level 5 path Test2
BTRFS:/ #
These subvolumes are mounted as /apps, /Test and /Test2
/dev/sda6 =A0 =A0 =A0 =A025G =A0514M =A09.0G =A0 6% /home
/dev/sdb =A0 =A0 =A0 =A0 25G =A0514M =A09.0G =A0 6% /apps
/dev/sdb =A0 =A0 =A0 =A0 25G =A0514M =A09.0G =A0 6% /Test
/dev/sdb =A0 =A0 =A0 =A0 25G =A0514M =A09.0G =A0 6% /Test2
In Solaris ZFS I can use:
Example:
zfs set quota=3D1G home/Download =A0 --> and /apps will be have 1GB siz=
e
zfs set quota=3D5G home/Test =A0 --> and /Test will be have 5GB size
zfs set quota=3D10G home/Test2 =A0 --> and /Test2 will be have 10GB siz=
e
And in pool /home will be still 9GB free space for future extends.
It is possible in BTRFS? I know there is "btrfs filesystem resize" but
this only resize/reduce the whole /home pool and not set quota on
subvolumes as I need.
Any help is appreciated.
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BTRFS subvolume quota limits
2011-11-20 21:50 ` BTRFS subvolume quota limits Karol Šebesta
@ 2011-11-21 4:15 ` dima
2011-11-21 5:18 ` Arne Jansen
0 siblings, 1 reply; 3+ messages in thread
From: dima @ 2011-11-21 4:15 UTC (permalink / raw)
To: linux-btrfs
On 11/21/2011 06:50 AM, Karol =C5=A0ebesta wrote:
> Hello,
>
> Is there any possibility to set quota limit for subvolume created in
> BTRFS pool as in Solaris ZFS?
Hi
Quotas are not implemented yet in btrfs as far as I know.
~dima
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BTRFS subvolume quota limits
2011-11-21 4:15 ` dima
@ 2011-11-21 5:18 ` Arne Jansen
0 siblings, 0 replies; 3+ messages in thread
From: Arne Jansen @ 2011-11-21 5:18 UTC (permalink / raw)
To: dima; +Cc: linux-btrfs
On 11/21/2011 05:15 AM, dima wrote:
> On 11/21/2011 06:50 AM, Karol =C5=A0ebesta wrote:
>> Hello,
>>
>> Is there any possibility to set quota limit for subvolume created in
>> BTRFS pool as in Solaris ZFS?
>=20
> Hi
> Quotas are not implemented yet in btrfs as far as I know.
This type of quota is implemented, but not merged yet. Please see
my qgroup patchset "Subvolume Quota Groups". Testers welcome :)
-Arne
> ~dima
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-21 5:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CA+pWcCZ9qtMNDpzEhmTjvJFJ9WnjbxZcvYxnJUJjdratQYNCow@mail.gmail.com>
2011-11-20 21:50 ` BTRFS subvolume quota limits Karol Šebesta
2011-11-21 4:15 ` dima
2011-11-21 5:18 ` 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).