[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Record locking through NFS.
From: "Enrique Bernal" <ebv () a68 ! com>
Date: 1999-09-02 9:08:05
[Download RAW message or body]
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 (Kernel
2.2.5)
Recently I have installed SuSE Linux 6.2 (Kernel 2.2.10) 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
ocked".
Have I to configure something more in order to lock files in the NFS
server?
Have somebody any ideas about this?
NOTE: rpcinfo -p in both sides don't shows "nlockmgr" as it did with kernel
2.2.5.
Thank you in advance,
Enrique
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic