Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

quota over nfs - too many answers for quota

Help
2005-10-26
2013-03-26
  • Torsten Krah
    Torsten Krah
    2005-10-26

    I got following problem:

    Mounting /home/* per NFS, quota -v return the quota for searched user on each directory which is mounted there, instead displaying only the one which it belongs to.

    All others which are displayed, got the quota information from his own home, so what to do here.

    Example:

    quota -v

    Disk quotas for user user (uid 1259):
         Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
    server:/home/user1
                     441044  750000  900000           20424   25000   30000
    server:/home/user
                     441044  750000  900000           20424   25000   30000

    Should be ( and it is so when doing quota -v user on real root fs which is exported via nfs ):

    server:/home/user
                     441044  750000  900000           20424   25000   30000

    Any hints?

    best regards

    Torsten

     
    • Jan Kara
      Jan Kara
      2005-11-02

      I'm not sure I understand your setup right. I guess client mounts different directories of one filesystem of the server, doesn't it? In that case the behaviour is correct - for the client the two mountpoints are just different filesystems and so quota(1) does not know that they are actually the same filesystem on the server. If you want to have some nice reports, you can write some easy script that would filter the output of quota(1) command to contain only filesystems relevant for your setup...

       
    • Torsten Krah
      Torsten Krah
      2005-11-07

      Yes ur right.

      If i mount exported home completly without autofs, it works like exspected.

      thx.

      best regards