Re: SMB and ceph question

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

 



Hey,

There is a ceph VFS module you may want to look at, it will rely on cephfs data. 
https://github.com/samba-team/samba/blob/master/source3/modules/vfs_ceph.c 

Check for samba configuration `vfs objects = ceph` 

Étienne

> -----Original Message-----
> From: Christophe BAILLON <cb@xxxxxxx>
> Sent: jeudi 27 octobre 2022 23:00
> To: Wyll Ingersoll <wyllys.ingersoll@xxxxxxxxxxxxxx>
> Cc: ceph-users <ceph-users@xxxxxxx>
> Subject:  Re: SMB and ceph question
> 
> Thanks, it's fine
> 
> > De: "Wyll Ingersoll" <wyllys.ingersoll@xxxxxxxxxxxxxx>
> > À: "Christophe BAILLON" <cb@xxxxxxx>
> > Cc: "Eugen Block" <eblock@xxxxxx>, "ceph-users" <ceph-users@xxxxxxx>
> > Envoyé: Jeudi 27 Octobre 2022 22:49:18
> > Objet: Re:  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 <cb@xxxxxxx>
> > Sent: Thursday, October 27, 2022 4:08 PM
> > To: Wyll Ingersoll <wyllys.ingersoll@xxxxxxxxxxxxxx>
> > Cc: Eugen Block <eblock@xxxxxx>; ceph-users <ceph-users@xxxxxxx>
> > Subject: Re:  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.ingersoll@xxxxxxxxxxxxxx>
> > > À: "Eugen Block" <eblock@xxxxxx>, "ceph-users" <ceph-users@xxxxxxx>
> > > Envoyé: Jeudi 27 Octobre 2022 15:25:36
> > > Objet:  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 <eblock@xxxxxx>
> > > Sent: Thursday, October 27, 2022 5:40 AM
> > > To: ceph-users@xxxxxxx <ceph-users@xxxxxxx>
> > > Subject:  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://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoc
> >> umentation.suse.com%2Fses%2F7.1%2Fsingle-html%2Fses-
> admin%2F%23cha-se
> >> s-
> cifs&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7Cfcae08de9
> 536
> >>
> 4ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C0%7C0%
> 7C638
> >>
> 025013784800512%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
> LCJQIjoiV
> >>
> 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata
> =n6nx1
> >>
> %2FFTL4YHMgPdSCxh60cITbaoWEZhgZzPfXEMq%2Fw%3D&amp;reserved=0
> > > |
> >
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocu
> > mentation.suse.com%2Fses%2F7.1%2Fsingle-html%2Fses-
> admin%2F%23cha-ses-
> >
> cifs&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7Cfcae08de9
> 5364ca
> >
> 78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C0%7C0%7C
> 6380250
> >
> 13784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQ
> IjoiV2luMz
> >
> IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=Ho9
> HPBkSPDg
> > AyQhnXdSoB9mH2nz7qZskvm95ZdV%2FDO0%3D&amp;reserved=0 ]
> 
> > > Zitat von Christophe BAILLON <cb@xxxxxxx>:
> 
> > >> 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://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fe
> > >>
> yona.com%2F&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7C
> fcae0
> > >>
> 8de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C
> 0%
> > >>
> 7C0%7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMD
> > >>
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
> &am
> > >>
> p;sdata=Fxlfb0ahVZ2NZNOKrXt0Gw21INdSPTz8oJxW%2Bmu14EU%3D&amp;
> reserv
> > >> ed=0 |
> > >>
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fe
> > >>
> yona.com%2F&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7C
> fcae0
> > >>
> 8de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C
> 0%
> > >>
> 7C0%7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMD
> > >>
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
> &am
> > >>
> p;sdata=Fxlfb0ahVZ2NZNOKrXt0Gw21INdSPTz8oJxW%2Bmu14EU%3D&amp;
> reserv
> > >> ed=0 ] Twitter :: [
> > >> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ft
> > >>
> witter.com%2Fctof&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.co
> m%7
> > >>
> Cfcae08de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7a
> b
> > >>
> 1%7C0%7C0%7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWI
> joiMC4w
> > >>
> LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C
> %7C
> > >>
> %7C&amp;sdata=l5Fh5AXRTNanZ5J%2F7CrdO0gUXm%2By%2B4TIoE6GLkd0u
> wE%3D&
> > >> amp;reserved=0 |
> > >> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ft
> > >>
> witter.com%2Fctof&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.co
> m%7
> > >>
> Cfcae08de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7a
> b
> > >>
> 1%7C0%7C0%7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWI
> joiMC4w
> > >>
> LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C
> %7C
> > >>
> %7C&amp;sdata=l5Fh5AXRTNanZ5J%2F7CrdO0gUXm%2By%2B4TIoE6GLkd0u
> wE%3D&
> > >> amp;reserved=0 ]
> _______________________________________________
> > >> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send
> > >> an email to ceph-users-leave@xxxxxxx
> 
> 
> 
> > > _______________________________________________
> > > ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an
> > > email to ceph-users-leave@xxxxxxx
> > > _______________________________________________
> > > ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an
> > > email to ceph-users-leave@xxxxxxx
> 
> > --
> > Christophe BAILLON
> > Mobile :: +336 16 400 522
> > Work :: [
> >
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Feyon
> >
> a.com%2F&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7Cfcae
> 08de953
> >
> 64ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C0%7C0
> %7C638
> >
> 025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
> LCJQIjoiV2
> >
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=
> Fxlfb0a
> > hVZ2NZNOKrXt0Gw21INdSPTz8oJxW%2Bmu14EU%3D&amp;reserved=0 |
> >
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Feyon
> >
> a.com%2F&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7Cfcae
> 08de953
> >
> 64ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C0%7C0
> %7C638
> >
> 025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
> LCJQIjoiV2
> >
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=
> Fxlfb0a
> > hVZ2NZNOKrXt0Gw21INdSPTz8oJxW%2Bmu14EU%3D&amp;reserved=0 ]
> Twitter ::
> > [
> > https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwit
> >
> ter.com%2Fctof&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%
> 7Cfcae0
> >
> 8de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C
> 0%7C0
> >
> %7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA
> wMDAiLCJQ
> >
> IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;s
> data=l
> >
> 5Fh5AXRTNanZ5J%2F7CrdO0gUXm%2By%2B4TIoE6GLkd0uwE%3D&amp;rese
> rved=0 |
> > https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwit
> >
> ter.com%2Fctof&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%
> 7Cfcae0
> >
> 8de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7C
> 0%7C0
> >
> %7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA
> wMDAiLCJQ
> >
> IjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;s
> data=l
> >
> 5Fh5AXRTNanZ5J%2F7CrdO0gUXm%2By%2B4TIoE6GLkd0uwE%3D&amp;rese
> rved=0 ]
> 
> --
> Christophe BAILLON
> Mobile :: +336 16 400 522
> Work ::
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Feyon
> a.com%2F&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7Cfcae
> 08de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7ab1%7
> C0%7C0%7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C300
> 0%7C%7C%7C&amp;sdata=Fxlfb0ahVZ2NZNOKrXt0Gw21INdSPTz8oJxW%2B
> mu14EU%3D&amp;reserved=0
> Twitter ::
> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitt
> er.com%2Fctof&amp;data=05%7C01%7Cetienne.menguy%40ubisoft.com%7
> Cfcae08de95364ca78f6908dab85e9e92%7Ce01bd386fa514210a2a429e5ab6f7a
> b1%7C0%7C0%7C638025013784956723%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%
> 7C3000%7C%7C%7C&amp;sdata=l5Fh5AXRTNanZ5J%2F7CrdO0gUXm%2By%2
> B4TIoE6GLkd0uwE%3D&amp;reserved=0
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email
> to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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