On Fri, May 11, 2018 at 7:40 AM, Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx> wrote: > > I have added a data pool by: > > ceph osd pool set fs_data.ec21 allow_ec_overwrites true > ceph osd pool application enable fs_data.ec21 cephfs > ceph fs add_data_pool cephfs fs_data.ec21 > > setfattr -n ceph.dir.layout.pool -v fs_data.ec21 folder > setfattr: folder: Permission denied You need "rwp" mds auth caps to modify layouts (see http://docs.ceph.com/docs/master/cephfs/client-auth/#layout-and-quota-restriction-the-p-flag) John > > Added the pool also to client auth > > caps mds = "allow rw" > caps mgr = "allow r" > caps mon = "allow r" > caps osd = "allow rwx pool=fs_meta,allow rwx pool=fs_data,allow rwx > pool=fs_data.ec21" > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com