[Samba] lock problem on 32 bit mounted nfs with 64 bit lock offsets
Carsten Springenberg
springenberg at bwv-zk.de
Tue Nov 11 09:44:37 GMT 2003
Hello list,
I've got a problem concerning locking of files with a share on a nfs
mounted NAS.
samba server is 2.2.8a installed from SuSE-RPMs
the NAS is mounted with following line in fstab:
<IP-Number>:/vgroup00/data02/data /mnt/nas01 nfs
rsize=8192,wsize=8192,soft 0 0
I tried to save a file from word which lead to a aprox. 1 minute hang of
my Win2k/SP3. The log of the machine showed following lines:
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(657)
posix_fcntl_lock: WARNING: lock request at offset 2147483539, length
1 returned
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(658)
an No locks available error. This can happen when using 64 bit lock
offsets
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(659)
on 32 bit NFS mounted file systems.
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(657)
posix_fcntl_lock: WARNING: lock request at offset 2147483539, length
1 returned
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(658)
an No locks available error. This can happen when using 64 bit lock
offsets
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(659)
on 32 bit NFS mounted file systems.
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(657)
posix_fcntl_lock: WARNING: lock request at offset 2147483539, length
1 returned
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(658)
an No locks available error. This can happen when using 64 bit lock
offsets
[2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(659)
on 32 bit NFS mounted file systems.
[2003/11/11 10:21:06, 0] smbd/oplock.c:oplock_break(797)
oplock_break: receive_smb timed out after 30 seconds.
oplock_break failed for file Projekte/Ranking
Internetauftritt/Rankingproblem.doc (dev = a, inode = 1107435404, file_i
d = 12439).
[2003/11/11 10:21:06, 0] smbd/oplock.c:oplock_break(869)
oplock_break: client failure in oplock break in file Projekte/Ranking
Internetauftritt/Rankingproblem.doc
What can I do? How can I mount a nfs on 64 bit? Or can I change samba to
use 32 bit lock offsets on this particular share? Any ideas?
Thanks in advance,
Carsten
More information about the samba
mailing list