[Samba] nfs, 64 / 32 bit, locking problem

Christian Fischer Christian.Fischer at fischundfischer.com
Tue Feb 8 16:33:54 GMT 2005


Well, next problem.

Because of samba isn't running on alphaserver 1200 with gentoo linux and 
kernel 2.6.9-ac12 i've simply exported my smbroot (on alpha, it is my 
fileserver) and have samba running on an intel pentium4 box, also gentoo, 
kernel 2.6.0-ac12. Seems to work, eccept some locking problems.

smbd[9450]: [2005/02/08 17:29:51, 0] locking/posix.c:posix_fcntl_lock(657)
smbd[9450]:   posix_fcntl_lock: WARNING: lock request at offset 0, length 1 
returned
smbd[9450]: [2005/02/08 17:29:51, 0] locking/posix.c:posix_fcntl_lock(658)
smbd[9450]:   an No locks available error. This can happen when using 64 bit 
lock offsets
smbd[9450]: [2005/02/08 17:29:51, 0] locking/posix.c:posix_fcntl_lock(659)
smbd[9450]:   on 32 bit NFS mounted file systems.
nsm_mon_unmon: rpc failed, status=-13
lockd: cannot monitor 10.0.0.30
lockd: failed to monitor 10.0.0.30

The win soft won't install, there is a environment checking tool shipped, it 
tells me that i should switch off oplocks in wins registry if my datashare 
comes from this machine.

Two problems: as first the 64/ 32 bit locking problem, as second locking in 
general. Was this "oplocks = false" in smb.conf ? Had my last samba 
experiences some years ago with win98 and winNt.

Regards
Christian
-- 



More information about the samba mailing list