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: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/48774: quota tests fail with NFS root
Date: Thu, 1 May 2014 20:34:53 +0200

 BTW: the test just does this, very simple:
 
 Preparation:
  newfs -q user -q group -B be -O 1 -s 4000 -F fsimage
  /usr/tests/fs/ffs/h_ffs_server -b fsimage unix://test
 
 The h_ffs_server is a simple rump server mounting the given image.
 Then "mount -u -v" is run against it:
 
   env LD_PRELOAD=/usr/lib/librumphijack.so RUMP_SERVER=unix://test 
RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -u -v
 
 which gives the two error lines complaining about ERANGE:
 
  quota: /: quota_get (objtype 0): Result too large or too small
  quota: /: quota_get (objtype 1): Result too large or too small
 
 and then the expected output about the image:
 Disk quotas for user martin (uid 205): 
   Filesystem   blocks    quota    limit   grace   files   quota   limit   grace
         /mnt        0        -        -   7days       1       -       -   7days
 
 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?
 
 The same test works when the image is on tmpfs but / is on ffs.
 
 Martin
 


Home | Main Index | Thread Index | Old Index