Re: How to use vfs_ceph

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

 



At a glance looks OK, I've not tested this in a while. Silly question but does your Samba package definitely ship with the Ceph vfs? Caught me out in the past.

Have you tried exporting a sub dir? Maybe 777 it although shouldn't make a difference. 

On 21 Dec 2017 13:16, "Felix Stolte" <f.stolte@xxxxxxxxxxxxx> wrote:
Hello folks,

is anybody using the vfs_ceph module for exporting cephfs as samba shares? We are running ceph jewel with cephx enabled. Manpage of vfs_ceph only references the option ceph:config_file. How do I need to configure my share (or maybe ceph.conf)?

log.smbd:  '/' does not exist or permission denied when connecting to [vfs] Error was Transport endpoint is not connected

I have a user ctdb with keyring file /etc/ceph/ceph.client.ctdb.keyring with permissions:

    caps: [mds] allow rw
    caps: [mon] allow r    caps: [osd] allow rwx pool=cephfs_metadata,allow rwx pool=cephfs_data

I can mount cephfs with cephf-fuse using the id ctdb and its keyfile.

My share definition is:

[vfs]
    comment = vfs
    path = /
    read _only_ = No
    vfs objects = acl_xattr ceph
    ceph:user_id = ctdb
    ceph:config_file = /etc/ceph/ceph.conf


Any advice is appreciated.

Regards Felix

--
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir. Dr. Karl Eugen Huthmacher
Geschäftsführung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt



_______________________________________________
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