On Tue, Feb 26, 2019 at 03:47:31AM -0500, Ramana Raja wrote: > On Tue, Feb 26, 2019 at 1:38 PM, Hendrik Peyerl <hpeyerl@xxxxxxxxxxxx> wrote: > > > > Hello All, > > > > I am having some troubles with Ceph Quotas not working on subdirectories. I > > am running with the following directory tree: > > > > - customer > > - project > > - environment > > - application1 > > - application2 > > - applicationx > > > > I set a quota on environment which works perfectly fine, the client sees the > > quota and is not breaching it. The problem starts when I try to mount a > > subdirectory like application1, this directory does not have any quota at > > all. > > Is there a possibility to set a quota for environment so that the application > > directories will not be able to go over that quota? > > Can you set quotas on the application directories as well? > setfattr -n ceph.quota.max_bytes -v <quota set on environment> /environment/application1 Right, that would work of course. The client needs to have access to the 'environment' directory inode in order to enforce quotas, otherwise it won't be aware of the existence of any quotas at all. See "Limitations" (#4 in particular) in http://docs.ceph.com/docs/master/cephfs/quota/ Cheers, -- Luís _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com