From owner-freebsd-questions Wed Jun 6 11:14:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from access1.lan2wan.com (access1.lan2wan.com [208.184.250.130]) by hub.freebsd.org (Postfix) with ESMTP id 239B737B406 for ; Wed, 6 Jun 2001 11:14:16 -0700 (PDT) (envelope-from support@lan2wan.com) Received: from ads-1.lan2wan.com (cp81814-a.mtgmry1.md.home.com [65.14.164.169]) by access1.lan2wan.com (8.11.1/8.11.1) with ESMTP id f56IEDn11333 for ; Wed, 6 Jun 2001 14:14:13 -0400 (EDT) Message-Id: <4.3.2.7.2.20010606134501.00c23ed0@access1.lan2wan.com> X-Sender: allan@access1.lan2wan.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 06 Jun 2001 14:04:41 -0400 To: questions@FreeBSD.org From: support@lan2wan.com Subject: quota -v does not report the correct usage - HELP Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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