There do exist vfs_ceph and vfs_ceph_snapshots modules for Samba, at least in 
theory.

https://www.samba.org/samba/docs/current/man-html/vfs_ceph.8.html
https://www.samba.org/samba/docs/current/man-html/vfs_ceph_snapshots.8.html

However, they don't exist in, for instance, the version of Samba in the RHEL8 
repositories.  I don't know if any other distros include them in their 
repository versions of Samba, either.

I also don't know how well they work, due to above mentioned absence.  I was 
hoping the snapshots one existed in RHEL, but no such luck.

-----Original Message-----
From: Wyll Ingersoll <wyllys.ingers...@keepertech.com> 
Sent: Thursday, October 27, 2022 4:49 PM
To: Christophe BAILLON <c...@20h.com>
Cc: ceph-users <ceph-users@ceph.io>
Subject: [ceph-users] Re: SMB and ceph question


No - the recommendation is just to mount /cephfs using the kernel module and 
then share it via standard VFS module from Samba. Pretty simple.
________________________________
From: Christophe BAILLON <c...@20h.com>
Sent: Thursday, October 27, 2022 4:08 PM
To: Wyll Ingersoll <wyllys.ingers...@keepertech.com>
Cc: Eugen Block <ebl...@nde.ag>; ceph-users <ceph-users@ceph.io>
Subject: Re: [ceph-users] Re: SMB and ceph question

Re

Ok, I thought there was a module like ganesha for the nfs to install directly 
on the cluster...

----- Mail original -----
> De: "Wyll Ingersoll" <wyllys.ingers...@keepertech.com>
> À: "Eugen Block" <ebl...@nde.ag>, "ceph-users" <ceph-users@ceph.io>
> Envoyé: Jeudi 27 Octobre 2022 15:25:36
> Objet: [ceph-users] Re: SMB and ceph question

> I don't think there is anything particularly special about exposing 
> /cephfs (or subdirs thereof) over SMB with SAMBA.  We've done it for 
> years over various releases of both Ceph and Samba.
> Basically, you create a NAS server host that mounts /cephfs and run 
> Samba on that host.  You share whatever subdirectories you need to in the 
> usual way.
> SMB clients mount from the Samba service and have no knowledge of the 
> underlying storage.
>
>
> ________________________________
> From: Eugen Block <ebl...@nde.ag>
> Sent: Thursday, October 27, 2022 5:40 AM
> To: ceph-users@ceph.io <ceph-users@ceph.io>
> Subject: [ceph-users] Re: SMB and ceph question
>
> Hi,
>
> the SUSE docs [1] are not that old, they apply for Ceph Pacific. Have 
> you tried it yet?
> Maybe the upstream docs could adapt the SUSE docs, just an idea if 
> there aren't any guides yet on docs.ceph.com.
>
> Regards,
> Eugen
>
> [1] 
> https://documentation.suse.com/ses/7.1/single-html/ses-admin/#cha-ses-
> cifs
>
> Zitat von Christophe BAILLON <c...@20h.com>:
>
>> Hello,
>>
>> For a side project, we need to expose cephfs datas to legacy users 
>> via SMB, I don't find the official way in ceph doc to do that.
>> In old suze doc I found ref to ceph-samba, but I can't find any 
>> informations on ceph official doc.
>> We have a small cephadm dedicated cluster to do that, can you help me 
>> to find the best way to deploy samba on top ?
>>
>> Regards
>>
>> --
>> Christophe BAILLON
>> Mobile :: +336 16 400 522
>> Work :: https://eyona.com
>> Twitter :: https://twitter.com/ctof
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an 
>> email to ceph-users-le...@ceph.io
>
>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an 
> email to ceph-users-le...@ceph.io 
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an 
> email to ceph-users-le...@ceph.io

--
Christophe BAILLON
Mobile :: +336 16 400 522
Work :: https://eyona.com
Twitter :: https://twitter.com/ctof
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to 
ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to