NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48774: quota tests fail with NFS root



The following reply was made to PR bin/48774; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/48774: quota tests fail with NFS root
Date: Sun, 13 Jul 2014 01:48:35 +0000

 On Thu, May 01, 2014 at 06:35:01PM +0000, Martin Husemann wrote:
  >  Running mount against the server says:
  >  
  >   env LD_PRELOAD=/usr/lib/librumphijack.so RUMP_SERVER=unix://test 
RUMPHIJACK=vfs=getvfsstat,blanket=/mnt mount
  >  rumpfs on / type rumpfs (local)
  >  /diskdev on /mnt type ffs (local, with quotas)
  >  
  >  So is the bug in rumpfs?
 
 Maybe. But it may not be smart enough to fool libquota into seeing the
 rumpy root. libquota calls statvfs on the path it's been fed, and
 checks if f_fstypename says "nfs". mount calls getvfsstat() and prints
 the data it returns; quota(1) uses that to get the list of volumes,
 but the information libquota uses comes from an independent statvfs
 call.
 
 It seems unlikely that this would be the problem, except that libquota
 must be seeing the type as "nfs".
 
 Meanwhile, the broken rpc response in the original message looks
 suspiciously like uninitialized data...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index