From: Trond Myklebust Subject: Re: how to check if file locking is working? Date: Sun, 29 Apr 2007 17:27:43 -0400 Message-ID: <1177882063.6400.39.camel@heimdal.trondhjem.org> References: <46308D00.5040109@wpkg.org> <463098C8.8010900@wpkg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net To: Tomasz Chmielewski Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HiGvu-0005P4-RY for nfs@lists.sourceforge.net; Sun, 29 Apr 2007 14:27:51 -0700 Received: from pat.uio.no ([129.240.10.15] ident=[U2FsdGVkX1/Cvp/kBj2jdHCdHr9Hnx57t5CyZTawodw=]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HiGvw-000736-5z for nfs@lists.sourceforge.net; Sun, 29 Apr 2007 14:27:53 -0700 In-Reply-To: <463098C8.8010900@wpkg.org> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Thu, 2007-04-26 at 14:19 +0200, Tomasz Chmielewski wrote: > Tomasz Chmielewski wrote: > > How can I check if file locking is working? > > > > I have a NFS4 server (Linux x86) and a NFS4 client (Linux ARM). > > > > > > NFS4 server exports a Debian-ARM root filesystem (/bin, /etc, /usr... a > > complete OS). > > > > I want to "upgrade" the Debian-ARM root filesystem in a NFS4 chroot, but > > it fails - dpkg claims that: > > > > debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by > > another process > > > > It's not true, as that export is only used by that one client. > > > > So what comes to my mind, is that file locking is somehow broken. > > > > How can I check if NFS4 file locking works properly, or is broken? > > I changed the client to use NFSv3 instead of NFSv4, and suddenly, the > things started to work... > > Ideas what I might be missing? Why locking works if I use NFSv3 on the > client, but doesn't when I use NFSv4 on the client (other than NFS > version, nothing else changed). > > Kernel option on a client or server, export options on the server, mount > options on the client etc.? nfsroot does not support NFSv4 at this time. Trond ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs