[Samba] Samba creating multiple isntances of the deamon

Jeremy Allison jra at samba.org
Wed Oct 19 17:38:31 GMT 2005


On Wed, Oct 19, 2005 at 01:16:57PM -0400, Benoit Gauthier wrote:
> (2005.10.19, 13:10)
> 
> > The flock is called only if "HAVE_KERNEL_SHARE_MODES" is set to
> > true. What kernel are you running on ?
> 
> Does 2.6.11 make sense?
> 
> > Do you know if any NFS client have files open on the Samba share
> > also ?
> 
> The configuration is like this:
> 
> 4 external computers run NFS servers.
> 
> One Linux box on my network connects to each of these via NFS (thus,
> there is only one NFS client machine).
> 
> One Windows machine sees the NFS mounts on the local Linux Box via
> Samba and a mapped drive L:; it performs the back-ups from the 4
> servers.
> 
> A second Windows machine also has the Linux box mapped on its own
> drive L:.
> 
> There are no mounts from the Linux box to the Windows machines (i.e.,
> the Linux box cannot see the Windows hard drives).
> 
> Does that answer your question? Does it help?

Ok, if I understand you you're re-exporting an NFS mount from the
Linux box to the Windows clients via Samba. Looks to me like the
kernel share mode code isn't working over NFS properly. Can you
try removing the define "#define HAVE_KERNEL_SHARE_MODES 1" from
include/config.h and rebuilding - that should stop it making this
call.

Jeremy.


More information about the samba mailing list