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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to