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