Re: Ceph + SAMBA (vfs_ceph)

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

 



Had to delete my filesystem and pools and recreate them. Then it worked. Not sure what happened.

Thanks everyone!


--
Salsa

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, September 4, 2019 4:19 PM, Salsa <salsa@xxxxxxxxxxxxxx> wrote:

> Sorry, but it took me a while to be able to get back to this.
>
> So I learned that my Samba installation was faulty and there was no way I managedto fix it, so uninstalled Samba and started it over using anothr cluster server.
>
> Installed Samba 4.8.3 using yum and compiled samba-4.8.3 to get vfs_ceph module following instructions from here:
>
> https://blog.51cto.com/evely/2432206?source=dra
>
> I have it set up and working and I followed you advice and shared a local directory to check if Samba was working.
>
> I can mount this directory from another machine but my Ceph share fails with this:
>
> "
> [2019/09/04 15:50:37.480465, 1] ../source3/smbd/service.c:655(make_connection_snum)
> make_connection_snum: SMB_VFS_CONNECT for service 'cephfs' at '/' failed: Connection timed out
> "
>
> My ceph section is as follows:
> [cephfs]
> create mask = 0777
> directory mask = 0777
> guest ok = Yes
> guest only = Yes
> kernel share modes = No
> oplocks = No
> path = /
> read only = No
> vfs objects = ceph
> ceph: user_id = samba.gw
> ceph:config_file = /etc/ceph/ceph.conf
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Salsa
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, August 29, 2019 1:37 PM, David Disseldorp ddiss@xxxxxxx wrote:
>
> > Hi Salsa,
> > The vfs_ceph "ceph: user_id" parameter specifies the CephX user ID
> > which Samba (via libcephfs) uses to authenticate with the Ceph
> > cluster. These credentials are completely separate to the SMB user
> > credentials which you provide with smbclient, etc. It seems that you
> > might be confusing them in your setup.
> > As documented in the Samba vfs_ceph manpage, "kernel share modes = no"
> > must currently be configured for CephFS shares.
> > Also, the "cephfs" share name in your smb.conf doesn't match the
> > "cephfs_a" name you're giving to smbclient.
> > I'd suggest configuring a locally backed Samba share first and get that
> > working with your Windows clients before moving over to the CephFS
> > backed share.
> > Cheers, David


_______________________________________________
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