Re: Adding pool to cephfs, setfattr permission denied

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

 



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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux