[Gluster-users] [External] Re: directory quotas non existing directory failing

Davide Obbi davide.obbi at booking.com
Fri Sep 14 06:04:48 UTC 2018


Here:
https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/

Kr
Davide

On Fri, Sep 14, 2018 at 7:12 AM Hari Gowtham <hgowtham at redhat.com> wrote:

> Hi,
>
> Can you point to the right place in doc where it is mentioned as above?
> Need to understand the context in which it was mentioned.
>
> As far as I know, it is not possible to do so.
> Quota's limits are stored on the directory itself.
> Without the directory being there quota can't store the limit for
> future directories.
>
>
> On Thu, Sep 13, 2018 at 4:48 PM Davide Obbi <davide.obbi at booking.com>
> wrote:
> >
> > Hi,
> >
> > According to glusterdoc:
> >
> > Note You can set the disk limit on the directory even if it is not
> created. The disk limit is enforced immediately after creating that
> directory.
> > However if i try to set the limit on direcotries not exsiting on the
> volume i get:
> >
> > quota command failed : Failed to get trusted.gfid attribute on path
> /rhomes/davide. Reason : No such file or directory
> > please enter the path relative to the volume
> >
> > glusterfs 4.1.2
> >
> > Based on this i hoped that would be possible to create some sort of
> wildcard quota like:
> >
> > gluster volume quota homes limit-usage /rhomes/* 20GB
> >
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > https://lists.gluster.org/mailman/listinfo/gluster-users
>
>
>
> --
> Regards,
> Hari Gowtham.
>


-- 
Davide Obbi
System Administrator

Booking.com B.V.
Vijzelstraat 66-80 Amsterdam 1017HL Netherlands
Direct +31207031558
[image: Booking.com] <https://www.booking.com/>
The world's #1 accommodation site
43 languages, 198+ offices worldwide, 120,000+ global destinations,
1,550,000+ room nights booked every day
No booking fees, best price always guaranteed
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180914/73e67f4d/attachment.html>


More information about the Gluster-users mailing list