[PATCH] shadow_copy2: mount_point is valid only for locally mountable file-system

Jeremy Allison jra at samba.org
Wed Apr 26 17:19:32 UTC 2017


On Wed, Apr 26, 2017 at 06:18:12PM +0200, Michael Adam wrote:
> > > > we're dealing with a completely virtual underlying FS.
> > > 
> > > Hm,
> > > 
> > > the connectpath is already set to the path relative to the
> > > volume by vfs_glusterfs/config. (Starting with "/" for the
> > > volume root.)
> > > 
> > > The problem Rajesh was pointing out was that the path
> > > of the share might be set to something like
> > > "path = /usr/local" (signifying a subdir of the gluster volume)
> > > which conincides to be a local path too, and might be
> > > a mount point. So the find-mountpoint function would
> > > return this as the mountpoint, which is wrong.
> > > In gluster's case we would always have to end up with "/".
> > > If there was a flag inside the vfs that indicates whether
> > > the filsystem is a local / mounted or mountable filesystem
> > > or not, then shadow_copy2_find_mount_point and possibly
> > > other places could behave accordingly.
> > 
> > Hi Jeremy,
> > 
> > Any results from thinking more about it? :-)
> > 
> > Even though the glusterfs vfs module has a configurative
> > workaround, I would still like to conceptually adress
> > this...
> 
> Ping. :-)

Got two presentations to write for next week. Catch
me @ SambaXP and we'll talk about it.



More information about the samba-technical mailing list