From owner-freebsd-stable Mon Jan 8 6:57:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132]) by hub.freebsd.org (Postfix) with ESMTP id 8372C37B402 for ; Mon, 8 Jan 2001 06:56:52 -0800 (PST) Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id PAA07538; Mon, 8 Jan 2001 15:53:20 +0100 Received: from bsf.alcatel.fr (mail.dit.sxb.bsf.alcatel.fr [155.132.205.115]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id PAA18366; Mon, 8 Jan 2001 15:52:19 +0100 (MET) Received: from mail (mail-bsf-alcatel-fr.dit.sxb.bsf.alcatel.fr [155.132.205.91]) by bsf.alcatel.fr (8.8.8+Sun/8.9.3) with ESMTP id PAA06842; Mon, 8 Jan 2001 15:55:36 +0100 (MET) Received: from barr (barr [172.25.60.80]) by mail (8.8.8+Sun/) with ESMTP id PAA06838; Mon, 8 Jan 2001 15:55:36 +0100 (MET) Received: from sxb.bsf.alcatel.fr by barr (8.9.3+Sun/ABS1.5) id PAA27670; Mon, 8 Jan 2001 15:56:43 +0100 (MET) Message-ID: <3A59D52B.2F4277EC@sxb.bsf.alcatel.fr> Date: Mon, 08 Jan 2001 15:56:43 +0100 From: Sebastien ROCHE X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: dan@tsolab.org Cc: Ken Menzel , Joe Gleason , Matt Heckaman , B , freebsd-stable@freebsd.org Subject: Re: /var drive space problem References: <002701c078f7$086b9f60$0b2d2d0a@fireduck.com> <014101c0797f$84682880$711663cf@icarz.com> <3A59D273.CB58B4D0@tsolab.org> Content-Type: multipart/alternative; boundary="------------8AE054E49F4D8D37B2E6FBA9" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------8AE054E49F4D8D37B2E6FBA9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, About this particular problem (size of /): My / partition is 32 Mb large. I had no problem until yesterday, when the make installkernel didn't work due to insufficient space. I think it's /modules which is bigger than it was (and the installation process makes a copy of it). Anyway it was difficult to have it work. I lost /stand and I put /lkm on /usr and I had to delete some binaries in /bin or /sbin that I don't use. Do you have an idea of what else I could put on /usr ? (not /bin /sbin /modules /boot /kernel /etc, hmmm there's not much more I think). Thanks for help, Sebastien Daniel Tso wrote: > > I Agree, with Joe, but I also want to add I think the root file > > systems is also too small. The same type of formula could work. As > > for me I'll continue to set my favorite values for modern drives: 250M > > root, 2*mem swap, 250M /var, the rest /usr. > > 20M is way too small for modern drives, but we can't hard code this > > as many people stll are using old hardware to do jobs (such as nat > > boxs and ipfw etc). > > 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. > > /tmp does not belong in root, but has its own partition, which can be > 200M if you have it. > > The root partition should be as static as possible, IMHO. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message --------------8AE054E49F4D8D37B2E6FBA9 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all,

About this particular problem (size of /):

My / partition is 32 Mb large. I had no problem until yesterday, when the make installkernel didn't work due to insufficient space.
I think it's /modules which is bigger than it was (and the installation process makes a copy of it). Anyway it was difficult to have it work. I lost /stand and I put /lkm on /usr and I had to delete some binaries in /bin or /sbin that I don't use.

Do you have an idea of what else I could put on /usr ?  (not /bin /sbin /modules /boot /kernel /etc, hmmm there's not much more I think).

Thanks for help,

Sebastien
 
 

Daniel Tso wrote:

> I Agree, with Joe,  but I also want to add I think the root file
> systems is also too small.  The same type of formula could work.  As
> for me I'll continue to set my favorite values for modern drives: 250M
> root,  2*mem swap, 250M /var,  the rest /usr.
> 20M is way too small for modern drives,  but we can't hard code this
> as many people stll are using old hardware to do jobs (such as nat
> boxs and ipfw etc).

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.

/tmp does not belong in root, but has its own partition, which can be
200M if you have it.

The root partition should be as static as possible, IMHO.

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

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