[Samba] samba & nfs...
Stefan.Nordlander at mhd.mh.se
Wed Dec 4 09:05:01 GMT 2002
Just wanted you to know that this problem was solved by rebooting one
of the nodes in our NFS fileservercluster. Since the user claimed one of
his fellow-workers (with his home on the same node) was able to get locks
on the fs I dismissed this cause earlier.
What have we learned today? :)
> > > [2002/11/28 14:05:54, 0] locking/posix.c:(669)
> > > an No locks available error. This can happen when using 64 bit lock
> > > offsets
> > > [2002/11/28 14:05:54, 0] locking/posix.c:(670)
> > > on 32 bit NFS mounted file systems.
> > Errr - I'd guess what's happening is what the error says :-).
> > And when I added that message I thought it'd be very clear :-(.
> > The kernel Samba is running on supports 64 bit fcntl locks,
> > however the underlying (NFS) filesystem that the files are
> > being shared from only supports 32 bit locks. Thus the lock
> > request is being denied.
> > If these files are only being accessed by Windows users (the
> > usual case for MS-Office files, unless you have OpenOffice
> > on IRIX) then you can turn off the mapping down to POSIX locking
> > by setting the parameter "posix locking = False". No harm done.
> > Jeremy.
> ;) It's not that I didn't understand what the message itself meant, just
> that it worked a few days ago (or so I have been told :) and I haven't
> made any changes in the system.
> What could have been the source of this problem? The kernel has always
> been 64bit on this machine, and the NFS(3) as far as I know is always 64bit
> (XFS between two 64bit machines) so I just thought that since the err
> message said "..can happen.." I thought it could have other causes to.
> If I set posix locking = False, what potential dangers do I face? Except
> the obvious 'open one document from two locations' -issue. We don't use
> any form of Office suite on IRIX (unforitently), but the files are
> frequentlly used on the Unix side, via apache etc..
> Thanks Jeremy!
More information about the samba