Re: What caps are necessary for FUSE-mounts of the FS?

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

 



On Thu, Jun 29, 2017 at 11:42 AM, Riccardo Murri
<riccardo.murri@xxxxxxxxx> wrote:
> Hello!
>
> The documentation at <http://docs.ceph.com/docs/master/cephfs/fuse/> states:
>
> """
> Before mounting a Ceph File System in User Space (FUSE), ensure that
> the client host has a copy of the Ceph configuration file and a
> keyring with CAPS for the Ceph metadata server.
> """
>
> Now, I have two questions:
>
> 1. What capabilities should be given to the FS user in the keyring?
> Would this be creating a keyring file with the minimally-required caps
> to mount the FS read+write?
>
>         ceph-authtool --create-keyring ceph.fs.keyring --gen-key
> --caps mds 'allow rwx'

Docs are here:
http://docs.ceph.com/docs/master/cephfs/client-auth/

> 2. Is the full config file needed on the client?  Or is it that just
> the MON addresses are needed? In the latter case, is it enough to pass
> the MON addr:port through the `-m` option and *not* have a `ceph.conf`
> file?

Yes.  You can use -m and --keyring.  In practice, it is usually useful
to have a ceph.conf anyway so that you have a place to add e.g. any
debug log settings you need.

John

>
> Thanks for any help!
>
> Riccardo
> _______________________________________________
> 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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux