Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2001 10:24:00 -0500
From:      "Ken Menzel" <kenm@icarz.com>
To:        "Sebastien ROCHE" <roche1@sxb.bsf.alcatel.fr>, <dan@tsolab.org>
Cc:        "Joe Gleason" <clash@fireduck.com>, "Matt Heckaman" <matt@ARPA.MAIL.NET>, "B" <brentb@loa.com>, <freebsd-stable@freebsd.org>
Subject:   Re: /var drive space problem
Message-ID:  <039901c07987$06b142c0$711663cf@icarz.com>
References:  <Pine.BSF.4.31.0101071653420.18503-100000@epsilon.lucida.ca> <002701c078f7$086b9f60$0b2d2d0a@fireduck.com> <014101c0797f$84682880$711663cf@icarz.com> <3A59D273.CB58B4D0@tsolab.org> <3A59D52B.2F4277EC@sxb.bsf.alcatel.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0396_01C0795D.1D981740
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Sebastion,
  /modules should not be that big,  but try "du -hx /",   my servers =
have 34 Meg in the root filesystem.  Make sure you don't have multiple =
copies of the kernel,  this is why when I build my roots I make them =
250M it's overkill, but hey I got 72G of space,  and 35Gig per tape on =
the backup I don't want to run out of space just because I build a =
couple of kernels to play with! =20

Anyway the du command will show you where the space is used, be careful =
not to delete anything needed to boot!  However you can probably clean =
up modules.old and old kernels and any junk in /root (root users home =
directory).

Ken
-----------------------------------------------------
Ken Menzel  ICQ# 9325188
www.icarz.com  kenm@icarz.com
  ----- Original Message -----=20
  From: Sebastien ROCHE=20
  To: dan@tsolab.org=20
  Cc: Ken Menzel ; Joe Gleason ; Matt Heckaman ; B ; =
freebsd-stable@freebsd.org=20
  Sent: Monday, January 08, 2001 9:56 AM
  Subject: Re: /var drive space problem


  Hi all,=20
  About this particular problem (size of /):=20

  My / partition is 32 Mb large. I had no problem until yesterday, when =
the make installkernel didn't work due to insufficient space.=20
  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.=20

  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).=20

  Thanks for help,=20

  Sebastien=20
   =20
   =20

  Daniel Tso wrote:=20

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

    > boxs and ipfw etc).=20
    Why would you want a 250M root ? I always keep root small, usually =
the=20
    default 32M or 40M. It limits the possible damage and makes it much=20
    easier to restore.=20

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

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

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


------=_NextPart_000_0396_01C0795D.1D981740
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Sebastion,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; /modules should not be that =
big,&nbsp; but=20
try "du -hx /",&nbsp;&nbsp; my servers have 34 Meg in the root =
filesystem.&nbsp;=20
Make sure you don't have multiple copies of the kernel,&nbsp; this is =
why when I=20
build my roots I make them 250M it's overkill, but hey I got 72G of =
space,&nbsp;=20
and 35Gig per tape on the backup I don't want to run out of space just =
because I=20
build a couple of kernels to play with!&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anyway the du command will show you =
where the space=20
is used, be careful not to delete anything needed to boot!&nbsp; However =
you can=20
probably clean up modules.old and old kernels and any junk in /root =
(root users=20
home directory).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Ken</FONT></DIV>
<DIV>-----------------------------------------------------<BR>Ken =
Menzel&nbsp;=20
ICQ# 9325188<BR><A href=3D"http://www.icarz.com">www.icarz.com</A>&nbsp; =
<A=20
href=3D"mailto:kenm@icarz.com">kenm@icarz.com</A></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Droche1@sxb.bsf.alcatel.fr=20
  href=3D"mailto:roche1@sxb.bsf.alcatel.fr">Sebastien ROCHE</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Ddan@tsolab.org=20
  href=3D"mailto:dan@tsolab.org">dan@tsolab.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dkenm@icarz.com=20
  href=3D"mailto:kenm@icarz.com">Ken Menzel</A> ; <A =
title=3Dclash@fireduck.com=20
  href=3D"mailto:clash@fireduck.com">Joe Gleason</A> ; <A =
title=3Dmatt@ARPA.MAIL.NET=20
  href=3D"mailto:matt@ARPA.MAIL.NET">Matt Heckaman</A> ; <A =
title=3Dbrentb@loa.com=20
  href=3D"mailto:brentb@loa.com">B</A> ; <A =
title=3Dfreebsd-stable@freebsd.org=20
  =
href=3D"mailto:freebsd-stable@freebsd.org">freebsd-stable@freebsd.org</A>=
 </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, January 08, 2001 =
9:56=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: /var drive space=20
  problem</DIV>
  <DIV><BR></DIV>Hi all,=20
  <P>About this particular problem (size of /):=20
  <P>My / partition is 32 Mb large. I had no problem until yesterday, =
when the=20
  <B><I>make installkernel</I></B> didn't work due to insufficient =
space. <BR>I=20
  think it's /modules which is bigger than it was (and the installation =
process=20
  makes a copy of it). Anyway it was difficult to have it work. I lost =
/stand=20
  and I put /lkm on /usr and I had to delete some binaries in /bin or =
/sbin that=20
  I don't use.=20
  <P>Do you have an idea of what else I could put on /usr ?&nbsp; (not =
/bin=20
  /sbin /modules /boot /kernel /etc, hmmm there's not much more I =
think).=20
  <P>Thanks for help,=20
  <P>Sebastien <BR>&nbsp; <BR>&nbsp;=20
  <P>Daniel Tso wrote:=20
  <BLOCKQUOTE TYPE=3D"CITE">&gt; I Agree, with Joe,&nbsp; but I also =
want to add=20
    I think the root file <BR>&gt; systems is also too small.&nbsp; The =
same=20
    type of formula could work.&nbsp; As <BR>&gt; for me I'll continue =
to set my=20
    favorite values for modern drives: 250M <BR>&gt; root,&nbsp; 2*mem =
swap,=20
    250M /var,&nbsp; the rest /usr. <BR>&gt; 20M is way too small for =
modern=20
    drives,&nbsp; but we can't hard code this <BR>&gt; as many people =
stll are=20
    using old hardware to do jobs (such as nat <BR>&gt; boxs and ipfw =
etc).=20
    <P>Why would you want a 250M root ? I always keep root small, =
usually the=20
    <BR>default 32M or 40M. It limits the possible damage and makes it =
much=20
    <BR>easier to restore.=20
    <P>/tmp does not belong in root, but has its own partition, which =
can be=20
    <BR>200M if you have it.=20
    <P>The root partition should be as static as possible, IMHO.=20
    <P>To Unsubscribe: send mail to majordomo@FreeBSD.org <BR>with =
"unsubscribe=20
    freebsd-stable" in the body of the=20
message</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0396_01C0795D.1D981740--



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?039901c07987$06b142c0$711663cf>