On Thu, 28 Nov 2002 [EMAIL PROTECTED] wrote:

> On Thu, Nov 28, 2002 at 05:02:24PM +0100, Stefan Nordlander wrote:
> > Hi, I'm having problems with M$ Office files on an samba mounted fs.
> > Here's the deal.
> >
> > Server A is an NFS server holding the homes. (Irix 6.5.14)
> > Server B is the Samba server (Samba 2.2.2, kernel oplocks = no, Irix
> > 6.5.14)
> >
> > The homes are nfs-mounted on the Samba server (autofs), and all is well
> > until someone tries to open or create an Microsoft Office Document.
> > I suppose it has something to do with the (bloody) ~$blahblah.doc files
> > that are created by Office..
> > The log.smbd gives:
> >
> > [2002/11/28 14:05:54, 0] locking/posix.c:(667)
> >   posix_fcntl_lock: WARNING: lock request at offset 2147483538, length 1
> > returned
> > [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!

/shoe

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to