[Gluster-users] does your samba work with 4.1.x (centos 7.5)
Diego Remolina
dijuremo at gmail.com
Tue Nov 13 01:04:26 UTC 2018
Hi Anoop,
This is an overview of how to use Central files in Revit:
https://revitpure.com/blog/how-to-use-central-and-local-files-in-revit
Once a central file is created, other folders are also created in the
location of the file, which contains many other files.
[root at ysmha02 vfsgluster]# ls -la
total 385588
drwxrws---. 4 dijuremo Staff 4096 Nov 12 19:03 .
drwxr-xr-x. 21 root root 4096 Nov 7 19:51 ..
drwxrws---. 2 dijuremo Staff 4096 Nov 12 19:05 2017-07-06 CAPE CORAL
CJDR_CENTRAL_R2017_backup
-rw-rw----. 1 dijuremo Staff 394825728 Jul 23 2017 2017-07-06 CAPE CORAL
CJDR_CENTRAL_R2017.rvt
drwxrws---. 2 dijuremo Staff 4096 Nov 12 19:03 Revit_temp
So I copied the file 2017 2017-07-06 CAPE CORAL CJDR_CENTRAL_R2017.rvt to
the network share:
\\ysmserver\vfsgluster
When I attempted to create a central file, it failed giving this error
message:
[image: revit-central-creation-error.JPG]
A simple ls -l of the _backup folder shows there is an existing file there
called incrementtable.2108.dat:
[root at ysmha02 vfsgluster]# ls -l 2017-07-06\ CAPE\ CORAL\
CJDR_CENTRAL_R2017_backup/incrementtable.2108.dat
-rw-rw----. 1 dijuremo Staff 2357 Nov 12 19:13 2017-07-06 CAPE CORAL
CJDR_CENTRAL_R2017_backup/incrementtable.2108.dat
However, at this point, things are not OK. The file is *not* a central
file. If I hit close and open the file again, then Revit will hang, usually
just go into the usual windows "Not Responding" state. This can last for
several minutes. I just closed the application via End Task after 5 minutes
of waiting. Rather than double clicking on the file from the share, I also
tried opening Revit first, then opening the file from Revit using the Open
dialog. This also hangs the program.
In one occasion, I tried to manually delete the folders (long_name_backup
and Revit_temp) from windows using File Explorer to try and recreate the
central again and then the delete process hung in one file,
preview.1957.dat for almost a minute, but it finally succeeded. This is not
normal behavior.
On the server, I can see this is a rather small file:
[root at ysmha02 2017-07-06 CAPE CORAL CJDR_CENTRAL_R2017_backup]# ls -la
total 11
drwxrws---. 2 dijuremo Staff 4096 Nov 12 19:39 .
drwxrws---. 4 dijuremo Staff 4096 Nov 12 19:03 ..
-rw-rw----. 1 dijuremo Staff 2753 Nov 12 19:36 preview.1957.dat
This is the test samba share exported using vfs object = glusterfs:
[vfsgluster]
path = /vfsgluster
browseable = yes
create mask = 660
directory mask = 770
write list = @Staff
kernel share modes = No
vfs objects = glusterfs
glusterfs:loglevel = 7
glusterfs:logfile = /var/log/samba/glusterfs-vfsgluster.log
glusterfs:volume = export
Full smb.conf
http://termbin.com/y4j0
/var/log/samba/glusterfs-vfsgluster.log
http://termbin.com/5hdr
Please let me know if there is any other information I can provide.
Diego
On Sun, Nov 11, 2018 at 11:41 PM Anoop C S <anoopcs at autistici.org> wrote:
> On Fri, 2018-11-09 at 15:03 -0500, Diego Remolina wrote:
> > Yes it works if you use fuse mount
> >
> > No it does not work well if you use: vfs objects = glusterfs
>
> Would you mind explaining the issue in detail? Apologies if you have
> already raised it here before
> and could not get to resolution.
>
> Please attach the output of `testparm -s` and any relevant error messages
> from logs under
> /var/log/samba/ when glusterfs vfs module is being used.
>
> > The samba comes directly from CentOS repository.
> >
> > Gluster comes from SIG 3.10.12
> >
> > # rpm -qa | grep centos-release-gluster
> > centos-release-gluster310-1.0-1.el7.centos.noarch
> >
> > # yum info samba
> > Loaded plugins: fastestmirror, verify
> > Loading mirror speeds from cached hostfile
> > * base: reflector.westga.edu
> > * extras: reflector.westga.edu
> > * updates: reflector.westga.edu
> > Installed Packages
> > Name : samba
> > Arch : x86_64
> > Version : 4.7.1
> > Release : 6.el7
> > Size : 1.9 M
> > Repo : installed
> > From repo : base
> > Summary : Server and Client software to interoperate with Windows
> machines
> > URL : http://www.samba.org/
> > License : GPLv3+ and LGPLv3+
> > Description : Samba is the standard Windows interoperability suite of
> > programs for Linux and
> > : Unix.
> >
> > # yum info glusterfs-server
> > Loaded plugins: fastestmirror, verify
> > Loading mirror speeds from cached hostfile
> > * base: reflector.westga.edu
> > * extras: reflector.westga.edu
> > * updates: reflector.westga.edu
> > Installed Packages
> > Name : glusterfs-server
> > Arch : x86_64
> > Version : 3.10.12
> > Release : 1.el7
> > Size : 4.3 M
> > Repo : installed
> > From repo : centos-gluster310
> > Summary : Distributed file-system server
> > URL : http://gluster.readthedocs.io/en/latest/
> > License : GPLv2 or LGPLv3+
> > Description : GlusterFS is a distributed file-system capable of
> > scaling to several
> > : petabytes. It aggregates various storage bricks over
> > Infiniband RDMA
> > : or TCP/IP interconnect into one large parallel network file
> > : system. GlusterFS is one of the most sophisticated file
> systems in
> > : terms of features and extensibility. It borrows a powerful
> concept
> > : called Translators from GNU Hurd kernel. Much of the code
> > in GlusterFS
> > : is in user space and easily manageable.
> > :
> > : This package provides the glusterfs server daemon.
> >
> >
> > Diego
> > On Fri, Nov 9, 2018 at 2:58 PM Kaleb S. KEITHLEY <kkeithle at redhat.com>
> wrote:
> > >
> > > On 11/9/18 10:19 AM, Diego Remolina wrote:
> > > > Hmmm yes and no...
> > >
> > > Yes and no what?
> > >
> > > That samba comes from the CentOS-Base/updates repo.
> > >
> > > If you don't use the Storage SIG you will get glusterfs 3.8.4,
> > > client-side only; also from the CentOS-Base/updates repo.
> > >
> > > That samba's rpm (.spec file) says it Requires: GlusterFS > 3.4, but in
> > > all likelihood it was built with GlusterFS 3.8.4 from the Base/updates
> repo.
> > >
> > > But the original question was about EPEL, and there is no version of
> > > Samba or GlusterFS in EPEL. Enable the EPEL repo and disable the
> > > Base/updates repo and try `yumdownloader samba\*` or `yumdownloader
> > > glusterfs\*`. You won't get anything.
> > >
> > > And if we extrapolate to the CentOS Storage SIG, there's still no
> > > version of Samba there either. It would be nice if there was, but there
> > > isn't.
> > >
> > > >
> > > > Have had problems with samba 4.7.x from Centos repos and Gluster
> > > > 3.10.x when using plugin vfs gluster to access shares so I had to use
> > > > fuse mounts and point samba to fuse mounts.
> > > >
> > > > I tried an upgrade to glusterfs 4.1.5 a couple days ago and samba
> > > > worked with it but still using fuse mounts, not vfs gluster.
> > > >
> > > > A while back a combination of samba vfs plugin ans gluster broke the
> > > > use of Autodesk Revit files stored in gluster. However since I am
> > > > still running 3.10.12, I am not able to open any bug reports or
> > > > anything given it is no longer supported. I was hopping to do that
> > > > with gluster 4.1.5, but had to roll back to 3.10.12.
> > > >
> > > > These are my current rpms (one version behind in samba) from Centos:
> > > >
> > > > rpm -qa | grep samba
> > > > samba-client-libs-4.7.1-6.el7.x86_64
> > > > samba-common-4.7.1-6.el7.noarch
> > > > samba-common-libs-4.7.1-6.el7.x86_64
> > > > samba-4.7.1-6.el7.x86_64
> > > > samba-vfs-glusterfs-4.7.1-6.el7.x86_64
> > > > samba-libs-4.7.1-6.el7.x86_64
> > > > samba-common-tools-4.7.1-6.el7.x86_64
> > > >
> > > > rpm -qa | grep gluster
> > > > glusterfs-api-3.10.12-1.el7.x86_64
> > > > glusterfs-3.10.12-1.el7.x86_64
> > > > glusterfs-client-xlators-3.10.12-1.el7.x86_64
> > > > centos-release-gluster310-1.0-1.el7.centos.noarch
> > > > glusterfs-fuse-3.10.12-1.el7.x86_64
> > > > glusterfs-server-3.10.12-1.el7.x86_64
> > > > samba-vfs-glusterfs-4.7.1-6.el7.x86_64
> > > > glusterfs-libs-3.10.12-1.el7.x86_64
> > > > glusterfs-rdma-3.10.12-1.el7.x86_64
> > > > libvirt-daemon-driver-storage-gluster-3.9.0-14.el7_5.8.x86_64
> > > > glusterfs-cli-3.10.12-1.el7.x86_64
> > > >
> > > >
> > > > Diego
> > > > On Fri, Nov 9, 2018 at 10:09 AM Kaleb S. KEITHLEY <
> kkeithle at redhat.com> wrote:
> > > > >
> > > > > On 11/9/18 8:12 AM, lejeczek wrote:
> > > > > > hi guys
> > > > > >
> > > > > > I presume because 4.1.x has been in EPEL repo it is confirmed and
> > > > > > validated to work 100% with default samba installation.
> > > > >
> > > > > GlusterFS — any version — is _not_ in EPEL.
> > > > >
> > > > > However it is in the CentOS Storage SIG.
> > > > >
> > > > > >
> > > > > > But, I'd prefer to here you guys say you ACTUALLY have your
> samba work
> > > > > > 100% with 4.1.x. Anybody?
> > > > >
> > > > > Nobody has built Samba in the CentOS Storage SIG with GlusterFS
> support.
> > > > > Not for a long time anyway. The last time it was built was over
> four
> > > > > years ago — for el6.
> > > > >
> > > > > It would be great if someone in one of the Gluster, Samba, or
> CentOS
> > > > > communities would start building it on a regular basis.
> > > > >
> > > > > Any volunteers?
> > > > >
> > > > > --
> > > > >
> > > > > Kaleb
> > > > > _______________________________________________
> > > > > Gluster-users mailing list
> > > > > Gluster-users at gluster.org
> > > > > https://lists.gluster.org/mailman/listinfo/gluster-users
> > >
> > > --
> > >
> > > Kaleb
> > > _______________________________________________
> > > Gluster-users mailing list
> > > Gluster-users at gluster.org
> > > https://lists.gluster.org/mailman/listinfo/gluster-users
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > https://lists.gluster.org/mailman/listinfo/gluster-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181112/a830bfc1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revit-central-creation-error.JPG
Type: image/jpeg
Size: 23287 bytes
Desc: not available
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181112/a830bfc1/attachment.jpe>
More information about the Gluster-users
mailing list