Thomas Cameron
2021-Jan-03 04:35 UTC
[Gluster-users] Error loading module '/usr/lib64/samba/vfs/glusterfs.so'
Howdy, all - I've tried both RHEL 8 and CentOS 8. I'm trying to install Gluster 8, following the instructions at https://wiki.centos.org/HowTos/GlusterFSonCentOS I have these repos enabled for CentOS: CentOS Linux 8 - AppStream CentOS Linux 8 - BaseOS CentOS-8 - Gluster 8 CentOS Linux 8 - Extras I'm having the same issue with both distros. Samba is working fine for pure Samba stuff like home directories and browsing, but when I try to access the Gluster volume, I get a generic network error and I get entries in /var/log/samba/log.smbd like this: [2021/01/02 22:31:48.238519, 0] ../../lib/util/modules.c:49(load_module) Error loading module '/usr/lib64/samba/vfs/glusterfs.so': /usr/lib64/samba/vfs/glusterfs.so: cannot open shared object file: No such file or directory [2021/01/02 22:31:48.238590, 0] ../../source3/smbd/vfs.c:186(vfs_init_custom) error probing vfs module 'glusterfs': NT_STATUS_UNSUCCESSFUL [2021/01/02 22:31:48.238623, 0] ../../source3/smbd/vfs.c:381(smbd_vfs_init) smbd_vfs_init: vfs_init_custom failed for glusterfs [2021/01/02 22:31:48.238639, 0] ../../source3/smbd/service.c:659(make_connection_snum) make_connection_snum: vfs_init failed for service gluster-gv0 [2021/01/02 22:31:48.238904, 0] ../../lib/util/modules.c:49(load_module) Error loading module '/usr/lib64/samba/vfs/glusterfs.so': /usr/lib64/samba/vfs/glusterfs.so: cannot open shared object file: No such file or directory I've searched for an RPM which provides /usr/lib64/samba/vfs/glusterfs.so for RHEL/CentOS 8 to no avail. Do I need to downgrade to RHEL 7? I can, but I'd rather not. Is there a repo I'm missing? Thanks! Thomas
Strahil Nikolov
2021-Jan-03 10:39 UTC
[Gluster-users] Error loading module '/usr/lib64/samba/vfs/glusterfs.so'
? 22:35 -0600 ?? 02.01.2021 (??), Thomas Cameron ??????:> Howdy, all - > > I've tried both RHEL 8 and CentOS 8. I'm trying to install Gluster > 8, > following the instructions at > https://wiki.centos.org/HowTos/GlusterFSonCentOS > > I have these repos enabled for CentOS: > > CentOS Linux 8 - AppStream > CentOS Linux 8 - BaseOS > CentOS-8 - Gluster 8 > CentOS Linux 8 - Extras >For Samba (CentOS 8) you will need some extra sigs and other repos: centos-samba412 -> centos-release-samba412-1.0-1.el8.noarch or centos- samba413 -> centos-release-samba413.noarch powertools -> /etc/yum.repos.d/CentOS-Linux-PowerTools.repo Samba with libgfapi is working (I tried it myself). For Ganesha (CentOS 8) -> centos-release-nfs-ganesha30.noarch should bring you some extra packages. Best Regards, Strahil Nikolov