From: Jonathan Woithe Subject: Re: Clients not displaying NFS quotas Date: Tue, 8 May 2007 08:49:21 +0930 (CST) Message-ID: <200705072319.l47NJLXL023869@turbo.physics.adelaide.edu.au> References: <17982.32426.148387.521946@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net, Jonathan Woithe To: neilb@suse.de (Neil Brown) 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 1HlCUK-0007eM-7x for nfs@lists.sourceforge.net; Mon, 07 May 2007 16:19:28 -0700 Received: from adelphi.physics.adelaide.edu.au ([129.127.102.1]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HlCUM-0002fo-AG for nfs@lists.sourceforge.net; Mon, 07 May 2007 16:19:31 -0700 In-Reply-To: <17982.32426.148387.521946@notabene.brown> from "Neil Brown" at May 07, 2007 11:19:38 AM 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 Thursday May 3, jwoithe wrote: > > We have a Slackware 9.1 box (with numerous software upgrades) exporting a > > directory to various NFS clients. While running a 2.4.x kernel this all > > worked fine - users on clients could use "quota" to display their quota > > information. When the system was moved to a 2.6.19.2 kernel a few months > > ago the clients could no longer display quota information. The server > > still knew and enforced the quotas, it's just that from the client's > > point of view there were no quotas. > > > > The system is running the following software versions: > > > > * kernel 2.6.19.2 > > * nfs-utils 1.0.10 > > * util-linux 2.12 > > * portmap 5.0 > > > > The filesystem concerned is reiserfs3. The kernel has reiserfs quota > > support enabled. > > Hmm... what "rquotad" is running? It appears that both the "quota" > package and the "nfs-utils" package contains "rquotad". And the one > in nfs-utils is fairly thoroughly broken (only recognises ext2 and > ext3 for a start). > > You can tell which you are using by running it with "-v". > e.g. > /usr/sbin/rpc.rquotad -v > > The "nfs-utils" one will say > rquotad 1.0.10 > The "quota" one will give a "Usage" message because it doesn't > understand -v. Well spotted Neil. The server was in fact running the rquotad from nfs-utils 1.0.10. Originally (like most other distributions) the system was running the "quota package" version, but when I upgraded nfs-utils at some point for some reason nfs-utils seems to have silently replaced rpc.rquotad with its own apparently broken version. After restoring the original "quota package" rpc.rquotad the clients can once again view quota information. Thanks everyone for your assistance with this one. Regards jonathan ------------------------------------------------------------------------- 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