Issue with Gluster Quota

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

 



Hi Brian,

Please find the comments in line.

I'm running into the same issue.  But be aware, the documentation says
> that you should use an absolute path _relative_ to the volume.  So if
> your volume is, for example:
>
> volume name: home
>
> and a top-level directory in home is test, you would simply do
>
> volume quota home limit-usage /test 10MB
>
> So, in your case:
>
> volume quota crlgfs1 limit-usage /dheeraj 10MB
>
>
Yes, this is what quota expects to set a limit on the directory.


> I get the usage numbers in my configuration, but the quota is not
> enforced.  this is my config:
>
> gluster> volume info
>
> Volume Name: home
> Type: Distribute
> Status: Started
> Number of Bricks: 2
> Transport-type: tcp,rdma
> Bricks:
> Brick1: gluster1:/glusterfs/home
> Brick2: gluster2:/glusterfs/home
> Options Reconfigured:
> features.limit-usage: /brs:10MB
> features.quota: on
>
> Here's my quota information:
>
> gluster> volume quota home list
>        path              limit_set          size
>
> ----------------------------------------------------------------------------------
> /brs                   10485760             16424960
>
>
Did you start with an empty backend? And can you run these commands and
paste the output.

  getfattr -m . -d -e hex  gluster1:/glusterfs/home/brs
  getfattr -m . -d -e hex  gluster2:/glusterfs/home/brs

Thanks,
Juanid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gluster.org/pipermail/gluster-users/attachments/20110706/9c5e863c/attachment.htm>


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

  Powered by Linux