I have a problem with file locking on a filesystem which is served from
a FreeBSD server (3.2-RELEASE) to SGI clients.
It actually manifests itself as the spellchecker for netscape not
working.
The netscape software is served from the FreeBSD machine.
Running par on the SGI to trace the system calls shows this:
open("/hosts/ingrid/software/netscape/netscape4.61/spell/pen4s324.dat",
O_RDONLY, 0777)
END-open() = 25
fcntl(25, F_GETLK, 0x7fff0ce0)
END-fcntl(25, F_GETLK, 0x7fff0ce0) errno = 46 (No locks available)
close(25) OK
close(25) errno = 9 (Bad file number)
open("/hosts/ingrid/software/netscape/netscape4.61/spell/pen4s324.dat",
O_RDONLY, 0777)
END-open() = 25
fcntl(25, F_GETLK, 0x7fff0ce0) errno = 46 (No locks available)
close(25) OK
close(25) errno = 9 (Bad file number)
(/hosts/ingrid/software is the nfs filesystem on the freebsd machine)
If the software is served from another SGI it doesn't give an error:
open("/hosts/mainman/export/software/netscape/netscape4.61/spell/pen4s324.d Is the problem in the NFS or UFS? The mount on the sgi is: ingrid:/software on /hosts/ingrid/software type nfs on the BSD machine it is: /dev/vinum/soft_stripe on /software (NFS exported, local, writes: sync What else should I be looking for? Cheers, -- Sent via Deja.com http://www.deja.com/
O_RDONLY, 0777)
END-open() = 26
fcntl(26, F_GETLK, 0x7fff0f18)
END-fcntl(26, F_GETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0})
OK
close(26) OK
(vers=3,nosuid,nodev,dev=10000d)
54462 async 445902)
David
--------------------------
David Lloyd
Systems Group
The Moving Picture Company
Share what you know. Learn what you don't.