xfs
[Top] [All Lists]

Re: Quota reporting for NFS mounts

To: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Quota reporting for NFS mounts
From: Jan Kara <jack@xxxxxxx>
Date: Thu, 19 Jul 2001 02:19:42 +0200
Cc: Tad Dolphay <tbd@xxxxxxx>, Fermin Molina <fermin@xxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, syrekron@xxxxxxxxxxx
In-reply-to: <10107191010.ZM220212@xxxxxxxxxxxxxxxxxxxxxxxx>; from nathans@xxxxxxxxxxxxxxxxxxxxxxxx on Thu, Jul 19, 2001 at 10:10:03AM +1000
References: <200107181532.KAA30810@xxxxxxxxxxxxxxxxxxxxxxxx> <tbd@xxxxxxx> <10107191010.ZM220212@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.15i
  Hello,

> On Jul 18, 10:32am, Tad Dolphay wrote:
> > Subject: Re: Quota reporting for NFS mounts
> > > 
> > > > > > I'm running redhat 7.1 with release 1.0.1 kernel 2.4.3 (IIRC, it is 
> > > > > > the
> > > > > > one based on the redhat kernel).  I'm also using quota-3.01-pre7 
> > > > > > which I
> > > > > > built from the source rpm.
> > > > > > 
> > > > > > I have exported my /export partition over NFS which file system is 
> > > > > > XFS.
> > > > > > 
> > > > > > I can mount this from client type machines, but when I try (on the
> > > > > > client) to list my quota, the command just hangs.  I've run snoop 
> > > > > > on the
> > > > > > connection, and it appears that my server (sherlock) doesn't 
> > > > > > respond to
> > > > > > the client's (cousteau) requests.
> > > > > > 
> > > > > > I also verified that rpc.rquotad is running on my server.
> > > > > > 
> > > > > > Any idea how I can get remote quota reporting working?
> > > > > 
> > > > > 
> > > > > Similar configuration. My NFS-client machine is a Sun (Solaris 2.7).
> > > > > On my linux XFS-NFS server, rpc.rquotad segfaults when I run
> > > > > quota -v <user> on the client (Sun).
> > > > > 
> > > > I'm able to use "quota -v <user>" on a SUN client with an XFS-NFS server
> > > > without any problems. I do find, though, that if I mount an NFS exported
> > > > file system on IRIX or SUN with the quota option and the file system is
> > > > not mounted on the server with the usrquota option then rpc.rquotad 
> > > > segfaults.
> > > > This happens with both xfs and ext2 file systems. Could it be a similar
> > > > problem?
> > > 
> > > 
> > > I'm not using the quota option when I mount on SUN.
> > > But I use usrquota on XFS-linux server.
> > > 
> > 
> > I just tried that and that seems to kill rpc.rquotad for me too.
> > 
> 
> Could you build & install a debug (-g) version of rpc.rquotad,
> attach to it with gdb while its running, then repeat the above
> and send the stack trace & any other interesting info gdb will
> give?  I don't have access to any Sun machines, but I know that
> these combinations of client<->server work, and are tested:
>   Linux<->Linux
>   IRIX<->Linux
>   Linux<->IRIX
> 
> I assume this same problem will happen with ext2 quota (could
> someone confirm that?) - Jan, have you seen this issue before?
  Actually I had some reports about rpc.rquotad SEGFAULTing. The
bug should be fixed in -pre8 utils I released yesterday so please
try those. If it doesn't help, tell me.

                                                        Honza


<Prev in Thread] Current Thread [Next in Thread>