Re: [Questions] why shard feature doesn't support quota

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is based on my high-level understanding of quota in gluster - supporting quota on sharded volumes will require us to make quota xlator account for shards residing under the hidden ".shard" directory per file and adding this to the quota-xattr representing aggregated consumed size on the parent directory of the original file.

This isn't hard to do. But at the moment we support sharding only for VM image store use case.
There are plans to make shard useful for more generic use cases in the near term. When we get there, we will support quota too on sharded files.

-Krutika

On Thu, Jun 29, 2017 at 11:20 AM, Xie Changlong <xiechanglong.d@xxxxxxxxx> wrote:
Hi all

I did a small test on gluster 3.8.4, and found shard feature does not support quota.  Here is the step:
$ gluster volume set s1 features.shard on
$ gluster volume quota s1 enable
$ gluster volume quota s1 limit-usage /ttt 1GB
$ gluster volume quota s1 list
$ cd /mnt/s1/ttt; fallocate -l 2GB testfile
Then, i found testfile created sucessully.

So, It seems shard doesn't support quota. It's a technical issue or there is a ongoing plan?

--
Thanks
    -Xie

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux