All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.38: Quota over NFS4
@ 2011-03-17 13:32 Adam Lackorzynski
  2011-03-17 17:38 ` J. Bruce Fields
  2011-03-20 19:49 ` Maciej Rutecki
  0 siblings, 2 replies; 20+ messages in thread
From: Adam Lackorzynski @ 2011-03-17 13:32 UTC (permalink / raw)
  To: Trond Myklebust, linux-kernel, linux-nfs

Hello,

I'm seeing a problem with quotas in a system where the server running
2.6.38 exports an XFS filesystem via NFS4 to a client. The client kernel
version does not seem to play a role, checked with 2.6.38, 2.6.37 and
2.6.36. The following script and output show the problem:

#! /bin/sh

quota | grep home
du
cp /bin/ls x1
du
cat x1 > /dev/null
rm x1
du
quota | grep home

Output:

   homes:/home/ 8194720  9072000 9174400          403670  500000  550000        
0       .
96      .
0       .
   homes:/home/ 8194816  9072000 9174400          403671  500000  550000        


As can be seen the 96 kb are still accounted on the quota of the user.
Removing the 'cat' command from the script makes the quota be ok again
(original value). Also mounting via nfs3 does not exhibit it, same for running
the script on the nfs-server directly.

Client mount options are:
homes:/home/ /home nfs4 rw,nosuid,nodev,relatime,vers=4,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=1.2.3.3,minorversion=0,local_lock=none,addr=1.2.3.4 0 0

Server mount options are:
/dev/mapper/vg-homefs /home xfs rw,nosuid,nodev,relatime,attr2,usrquota 0 0




Thanks,
Adam
-- 
Adam                 adam@os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-04-22 19:31 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-17 13:32 2.6.38: Quota over NFS4 Adam Lackorzynski
2011-03-17 17:38 ` J. Bruce Fields
2011-03-17 21:33   ` Adam Lackorzynski
2011-03-17 22:27     ` J. Bruce Fields
2011-03-17 22:59       ` Adam Lackorzynski
2011-03-17 23:03         ` J. Bruce Fields
2011-03-17 23:16           ` Adam Lackorzynski
     [not found]           ` <20110320172758.GK11929@os.inf.tu-dresden.de>
     [not found]             ` <20110320212633.GA26036@fieldses.org>
     [not found]               ` <20110320213111.GO11929@os.inf.tu-dresden.de>
     [not found]                 ` <20110320214316.GB26036@fieldses.org>
     [not found]                   ` <20110321184043.GC4992@os.inf.tu-dresden.de>
     [not found]                     ` <20110321222301.GB472@fieldses.org>
     [not found]                       ` <20110322221305.GA5857@os.inf.tu-dresden.de>
     [not found]                         ` <20110323150328.GD23418@fieldses.org>
     [not found]                           ` <20110323174052.GE5005@os.inf.tu-dresden.de>
2011-03-23 19:06                             ` J. Bruce Fields
2011-03-23 22:30                               ` Adam Lackorzynski
2011-03-24 17:17                                 ` Christoph Hellwig
2011-03-24 17:17                                   ` Christoph Hellwig
2011-03-24 17:51                                   ` J. Bruce Fields
2011-03-24 17:51                                     ` J. Bruce Fields
2011-03-24 22:28                                     ` Adam Lackorzynski
2011-03-24 22:28                                       ` Adam Lackorzynski
2011-03-25  0:03                                       ` J. Bruce Fields
2011-03-25  0:03                                         ` J. Bruce Fields
2011-04-22 19:31                                         ` J. Bruce Fields
2011-04-22 19:31                                           ` J. Bruce Fields
2011-03-20 19:49 ` Maciej Rutecki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.