From owner-freebsd-stable Tue Jan 9 13: 8:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bellona.asdf.com (bellona.asdf.com [205.138.138.158]) by hub.freebsd.org (Postfix) with ESMTP id 8397037B69D for ; Tue, 9 Jan 2001 13:07:57 -0800 (PST) Received: from localhost (xlogan@localhost) by bellona.asdf.com (8.9.3/8.9.3) with ESMTP id QAA77920 for ; Tue, 9 Jan 2001 16:07:56 -0500 (EST) (envelope-from xlogan@novagate.net) X-Authentication-Warning: bellona.asdf.com: xlogan owned process doing -bs Date: Tue, 9 Jan 2001 16:07:56 -0500 (EST) From: -=X=- To: freebsd-stable@FreeBSD.ORG Subject: Re: /var drive space problem In-Reply-To: <3A59D273.CB58B4D0@tsolab.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 Jan 2001, Daniel Tso wrote: > Why would you want a 250M root ? I always keep root small, usually the > default 32M or 40M. It limits the possible damage and makes it much > easier to restore. One thing we found is that if you have a lot of users on a box and your /etc/master.passwd file is > 10 megs, you end up with a /etc/passwd file of ~9 megs, an /etc/pwd.db file of ~ 9 megs and an /etc/spwd.db file of ~ 10 megs. Added up, that is just about 40 megs. Then if you go to add another user in and you do a pwd_mkdb, it makes copies of the password files in /etc/, and you end up filling up the root partition and pwd_mkdb dies out with an error. We eventually went from a 50 meg partition to a 256 meg partition for /. -Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message