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
[-- Attachment #1 --]
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!
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 -----
From: Sebastien ROCHE
To: dan@tsolab.org
Cc: Ken Menzel ; Joe Gleason ; Matt Heckaman ; B ; freebsd-stable@freebsd.org
Sent: Monday, January 08, 2001 9:56 AM
Subject: Re: /var drive space problem
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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Sebastion,</FONT></DIV>
<DIV><FONT face=Arial size=2> /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! </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ken</FONT></DIV>
<DIV>-----------------------------------------------------<BR>Ken Menzel
ICQ# 9325188<BR><A href="http://www.icarz.com">www.icarz.com</A> <A
href="mailto:kenm@icarz.com">kenm@icarz.com</A></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=roche1@sxb.bsf.alcatel.fr
href="mailto:roche1@sxb.bsf.alcatel.fr">Sebastien ROCHE</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dan@tsolab.org
href="mailto:dan@tsolab.org">dan@tsolab.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=kenm@icarz.com
href="mailto:kenm@icarz.com">Ken Menzel</A> ; <A title=clash@fireduck.com
href="mailto:clash@fireduck.com">Joe Gleason</A> ; <A title=matt@ARPA.MAIL.NET
href="mailto:matt@ARPA.MAIL.NET">Matt Heckaman</A> ; <A title=brentb@loa.com
href="mailto:brentb@loa.com">B</A> ; <A title=freebsd-stable@freebsd.org
href="mailto:freebsd-stable@freebsd.org">freebsd-stable@freebsd.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 08, 2001 9:56
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: /var drive space
problem</DIV>
<DIV><BR></DIV>Hi all,
<P>About this particular problem (size of /):
<P>My / partition is 32 Mb large. I had no problem until yesterday, when the
<B><I>make installkernel</I></B> didn't work due to insufficient space. <BR>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.
<P>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).
<P>Thanks for help,
<P>Sebastien <BR> <BR>
<P>Daniel Tso wrote:
<BLOCKQUOTE TYPE="CITE">> I Agree, with Joe, but I also want to add
I think the root file <BR>> systems is also too small. The same
type of formula could work. As <BR>> for me I'll continue to set my
favorite values for modern drives: 250M <BR>> root, 2*mem swap,
250M /var, the rest /usr. <BR>> 20M is way too small for modern
drives, but we can't hard code this <BR>> as many people stll are
using old hardware to do jobs (such as nat <BR>> boxs and ipfw etc).
<P>Why would you want a 250M root ? I always keep root small, usually the
<BR>default 32M or 40M. It limits the possible damage and makes it much
<BR>easier to restore.
<P>/tmp does not belong in root, but has its own partition, which can be
<BR>200M if you have it.
<P>The root partition should be as static as possible, IMHO.
<P>To Unsubscribe: send mail to majordomo@FreeBSD.org <BR>with "unsubscribe
freebsd-stable" in the body of the
message</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?039901c07987$06b142c0$711663cf>
