lock failed at offset 1073741735??? *ouch*

Darren Nickerson darren.nickerson at catchword.com
Wed Apr 19 11:40:08 GMT 2000


I'm trying to share an NFS-mounted volume with Samba - and something's amiss.
Accessing any of the .doc files from a Win95 PC (Office 97) says "The file is 
already in use - make a copy?". Samba's log says:

[2000/04/19 10:52:34, 3] lib/util.c:fcntl_lock(2773)
  fcntl lock gave errno 11 (Resource temporarily unavailable)
[2000/04/19 10:52:34, 3] lib/util.c:fcntl_lock(2795)
  lock failed at offset 1073741735 count 20 op 6 type 1 (Resource temporarily un
[2000/04/19 10:52:34, 3] smbd/error.c:error_packet(138)
  error packet at line 4288 cmd=36 (SMBlockingX) eclass=1 ecode=33

I think this is the interesting bit.

Some details:

linux-2.2.14 SMP with knfsd compiled into the kernel
nfslock run at boot time from initscripts

[root at osmin /root]# egrep -i lock /etc/smb.conf
# Disable opportunistic locking to prevent our PCs from cacheing files locally
   oplocks = False 
#   oplocks = True
#   level2 oplocks = True

The machine on which the disk truly lives runs kernel 2.2.13-ac2, with the 
same RedHat and knfsd userspace tools.



More information about the samba mailing list