Mailinglist Archive: opensuse (2234 mails)
| < Previous | Next > |
[SLE] Record locking through NFS.
- From: jam@xxxxxxx (Jesús Alejandre)
- Date: Thu, 2 Sep 1999 11:01:20 +0200
- Message-id: <01bef521$b9590f20$040101c0@xxxxxxxxxxxxx>
Hello, all.
I have a program that uses record locking - fcntl(filedes, F_SETLK, ...) -
in a file from a NFS server. That worked well in SuSE Linux 6.1.
Recently I have installed SuSE Linux 6.2 in both boxes (NFS server and NFS
client), and I think I have configured them correctly, but my program
doesn´t manage to lock records in the server´s file, as did in 6.1.
I have included the client´s IP in server´s /etc/exports (rw), both
/etc/hosts files contain both IP addresses, I have put USE_KERNEL_NFSD="yes"
in both /etc/rc.config, and ran SuSEconfig (and reboot). I mount the server
in the client with "mount 192.1.121.2:/home /mnt", and got no errors. Even I
included the option "-o lock" in mount but with the same results: when my
program tries to lock the server´s file, it just get an error "file locked".
Have I to configure something more in order to lock files in the NFS server?
Have somebody any ideas about this?
Thank you in advance,
Jesús.
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
| < Previous | Next > |