From owner-freebsd-questions Tue Feb 23 13:52: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 69E7411935 for ; Tue, 23 Feb 1999 13:52:03 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id QAA27164; Tue, 23 Feb 1999 16:53:34 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902232153.QAA27164@cc942873-a.ewndsr1.nj.home.com> Subject: Re: quota questions In-Reply-To: <3.0.5.32.19990223120404.042b0110@crash.cts.com> from Jerry Preeper at "Feb 23, 99 12:04:04 pm" To: preeper@cts.com (Jerry Preeper) Date: Tue, 23 Feb 1999 16:53:34 -0500 (EST) Cc: freebsd-questions@FreeBSD.org Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jerry Preeper wrote, > I have quotas enabled on my web server and started playing around with some > of the information as I have started to get to less than 1GB free on the > hard drive in order to start cleaning some stuff up off the server that's > not needed. Now I'm not one to accuse someone of being too cautious, but you're worried about having less than 1 GB on a 4.5 GB drive? That's 22.2% of your total space. > 1) With a 4.5GB hard drive, and say 150 users, what would happen if the > total amount of quotas set exceeds the size of the hard drive, even if > there is still free space available on the drive? Nothing. > Does it matter? Not unless your users start to fill it up. > For > example, right now (from repquota -a) I have soft quotas totalling 4062400 > and hard quotas totalling 4382800, but the file system from df -i shows > 4168505 in 1k blocks. The -i option shows the number of inodes that are free... Is that really a concern? Those numbers seem reasonable. If a huge portion of your users decided to fill up to the hard limit at once, you could potentially fill the disk. However, only you can weigh the likelyhood of that occuring versus the added advantage the users get by having a little more breathing space between the hard and soft limit. > 2) Should the sum of all the block limits used by users in repquota -a > (shows 2887728) be equal to the number of blocks used (1K blocks) in a df > -i output (shows 2871052)? What would the difference be? Do the system users (root, bin mainly) have quotas? Do users without quotas show in the totals? (I'm really asking, I dunno.) That's about 16 MB. Is there one (or a few) normal user who got left off a list somewhere? > TIA for any assistance. Glad to help. I'd like to hear anyone's experience with quotas. They are marked as broken in 2.2.x, but I'm thinking of installing them any way on a mailserver to keeps some problems I've had from reoccuring. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message