Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2001 14:04:41 -0400
From:      support@lan2wan.com
To:        questions@FreeBSD.org
Subject:   quota -v does not report the correct usage - HELP
Message-ID:  <4.3.2.7.2.20010606134501.00c23ed0@access1.lan2wan.com>

next in thread | raw e-mail | index | archive | help
I have enabled quotas on our FreeBSD 4.2-RELEASE
and set quota limits on /var  for user quotas to limt mail storage under 
/var/mail
this is the only directory that contains files owned by users on the /var 
partition
The problem is that a file (mailbox) is reported differently bu du and quotas
ls -l  /var/mail/diane   -rw-------  1 diane  user  17243625 Jun  6 13:55 diane
du -k /var/mail/diane   16864   diane
du -h /var/mail/diane     16M   diane

However quota -v shows somthing else alltogether
quota -v diane
Disk quotas for user diane (uid 1894):
Filesystem  blocks   quota   limit        grace   files   quota   limit   grace
  /var    	2512      20550  102600                 0       0       0

What is going on with this and is there a fix?

Here is the layout:

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     99183    34028    57221    37%    /
/dev/ad0s1f   8891088   510227  7669574     6%    /usr
/dev/ad0s1e  19849974   310718 17951259     2%    /var
procfs              4        4        0   100%    /proc

/etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
/dev/ad0s1f             /usr            ufs     rw              2       2
/dev/ad0s1e             /var            ufs     rw,userquota            2 
     2
/dev/acd0c              /cdrom          cd9660  ro,noauto       0       0
proc                    /proc           procfs  rw              0       0


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20010606134501.00c23ed0>