From: Tomasz Chmielewski Subject: Re: how to check if file locking is working? Date: Tue, 01 May 2007 08:24:35 +0200 Message-ID: <4636DD23.2000509@wpkg.org> References: <46308D00.5040109@wpkg.org> <463098C8.8010900@wpkg.org> <1177882063.6400.39.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net To: Trond Myklebust Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HiloN-0003Se-7G for nfs@lists.sourceforge.net; Mon, 30 Apr 2007 23:26:07 -0700 Received: from mail.syneticon.net ([213.239.212.131] helo=mail2.syneticon.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HiloO-0005XR-89 for nfs@lists.sourceforge.net; Mon, 30 Apr 2007 23:26:09 -0700 In-Reply-To: <1177882063.6400.39.camel@heimdal.trondhjem.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 Trond Myklebust schrieb: > 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. Hmm, I didn't say anything about nfsroot, did I? I merely did a chroot over NFSv4, and some apps don't work well then. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- 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