[Samba] Can't get Samba to run with GlusterFS and CTDB

Rowland penny rpenny at samba.org
Mon Jan 20 22:18:00 UTC 2020


On 20/01/2020 21:47, Sherry Reese via samba wrote:
> Hello everyone,
>
> I can't get Samba to open a share when I run the following command on a
> Ubuntu client. My goal is to get a GlusterFS cluster of 3 nodes to get
> running so I can open the volumes on Windows.
>
> sudo smbclient //gluster03/glusterfs-videos -Usherry
> WARNING: The "idmap backend" option is deprecated
This means that your smb.conf is using a deprecated option, what you 
need to replace this with, will depend on just how you want to run samba 
(as a standalone server, Unix domain member etc).
> WARNING: The "syslog" option is deprecated
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
>
> I don't understand what that means.
>
> I am running this on 3 Ubuntu nodes so SELinux is disabled.
>
> cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=18.04
> DISTRIB_CODENAME=bionic
> DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
>
> In one of the log files I see an error but no idea why.
>
> root at gluster03:/var/log/samba# tail -f log.gluster03
> [2020/01/20 22:39:06.055031,  0]
> ../source3/param/loadparm.c:3350(process_usershare_file)
>    process_usershare_file: stat of
> /var/lib/samba/usershares/glusterfs-videos failed. No such file or directory
>
> Can some help?
Not directly, it sounds like you need Ralph here.
>
> I was following the guides at
> https://docs.gluster.org/en/latest/Administrator%20Guide/Accessing%20Gluster%20from%20Windows/
>   and https://github.com/vfxpipeline/glusterfs/blob/master/sun1.sh to set it
> up but all the "documentation" is very confusing and misleading.

Probably because it seems to be so old, CTDB became a part of Samba when 
Samba 4.2.0 was released, can I suggest that you read our documentation 
until better help turns up ;-)

https://wiki.samba.org/index.php/CTDB_and_Clustered_Samba

Rowland





More information about the samba mailing list