From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 09:22:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D4381065670 for ; Fri, 2 Jul 2010 09:22:37 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 860568FC22 for ; Fri, 2 Jul 2010 09:22:36 +0000 (UTC) Received: by fxm13 with SMTP id 13so2303965fxm.13 for ; Fri, 02 Jul 2010 02:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=luKIkPdjrHxAKzHDtbYy0C54/OFkzIWMCOcDFyvuT/w=; b=QZWQKoV1Wk2MbUgUJC/5OvlB1szF7m9nG2clj5VrRn7Nt0T7YrM1SBFGSWv8ZWcVOd 1daMW2kVZv7lCBkeCQVPQp7fvZCUM4EBzC3CQghxnwrqFt5folOF08ThcB57+4mNfTBK nqGxTeTF80NdXSwcvyvlfiQuw07noPL85G7Zw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=URkmMo/uuoVwr9phiuWcpPj2dzByHMT/9XVU/ZQwx+F5G4ykO5OWmpBKUxvux0xILY nVxBIC8NHf0yk2PbaxlTT2sQnG8Hixq3p5KU+DcEdEUKMH27glYhH8socpUfwzQxk+Sb 3FFnrih75LJ5td+1L4F7GdIY7KADsH0HouG6w= MIME-Version: 1.0 Received: by 10.239.150.142 with SMTP id n14mr33682hbb.71.1278062555281; Fri, 02 Jul 2010 02:22:35 -0700 (PDT) Received: by 10.239.161.199 with HTTP; Fri, 2 Jul 2010 02:22:35 -0700 (PDT) In-Reply-To: <4C2D9659.3060208@infracaninophile.co.uk> References: <20100701212112.GA28138@gizmo.acns.msu.edu> <4C2D9659.3060208@infracaninophile.co.uk> Date: Fri, 2 Jul 2010 10:22:35 +0100 Message-ID: From: krad To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ed Flecko , freebsd-questions@freebsd.org Subject: Re: /boot is full after running "make installkernel" on FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2010 09:22:37 -0000 On 2 July 2010 08:33, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/07/2010 22:29:54, Ed Flecko wrote: > > Henrik, > > When I FIRST installed 8.0, I did create a separate /home partition. > > When I installed the kernel and starting running out of space in / , I > > thought "O.K...I'll let FreeBSD make the partition sizes IT wants to > > and see if I have the same problem, and I did. > > > > Apparently, 512M is just, not, quite big enough so I think I'll try 1G > > to give me plenty of room. > > Is it time for me to start advocating "one big partition" again? > > This may not be the consensus view, but I have found that for a quiet > life and general lack of botheration it helps to create *only two* > partitions on your hard drive: > > b: Swap -- usually 2x RAM > a: Everything else > > Now, I've run this setup on literally hundreds of servers without > problems. The usual argument against doing this is "but a run-away > process might log so much that is fills your hard drive." This is true. > You might also be killed by a lightning strike the next time you leave > your house. Run-away logfiles are actually pretty rare, and given that > 80GB would be considered a pretty small hard drive nowadays, and you can > fit a standard FreeBSD install with quite a lot of extra software inside > 10GB, you're likely to have sufficient empty space that you'ld get days > of warning before it caused real trouble. In which case, newsyslog(8) > is your friend. Cycling logs based on size and checking that every hour > will avoid almost all trouble. You do monitor disk space usage on your > servers don't you? Cacti is in ports and its pretty easy to set up, as > are several other alternatives. > > Watch this list: you'll see people having trouble with too small root > partitions with great regularity. I don't think I've /ever/ seen anyone > ask about dealing with a process generating huge amounts of log data. > > Even if you do fill up the hard drive, it's not actually guaranteed > disaster. FreeBSD itself will keep running just fine. So will most web > applications -- although you won't get any logging. Simply delete some > of the excess files, and the system will spring back to normal function. > Filling the partition certainly will crash a database, but for serious > RDBMS setups, I generally make an exception and put the database working > files onto their own partition[*]. > > Nowadays too, I much prefer using ZFS -- so I have *one* zpool from > which is allocated all of the space for the zdevs on the system. This > is much the best of both worlds -- you get as many filesystems as you > can eat, but each of them can use as much of the total available space > as it needs to. > > Cheers, > > Matthew > > [*] As this usually involves hardware RAID10 with plenty of cache and a > BBU on at least 4 x 15k RPM SAS2 drives, it would generally be on a > separate partition in any case. > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkwtllkACgkQ8Mjk52CukIyTOwCeJYhR6kY6wxmP+WlNyGF/eJte > I0wAnRuULVWsjqxFAHaL1SFFTJd2sMMW > =T9JF > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > all i can say is your a brave boy 8) A 1 TB+ / slice would take ages to fsck. Of course all these issues go away with zfs