From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 20:59:03 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 478D7106567D for ; Tue, 24 Feb 2009 20:59:03 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id F1BA18FC1C for ; Tue, 24 Feb 2009 20:59:02 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so1023037yxl.13 for ; Tue, 24 Feb 2009 12:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uRl4Fp1sxJ92CR6mJp7evdHz9jqXDox3a1t6ddVw+jQ=; b=P31VwbYc9U2c7beYGk19DQBEsvksik1rG7px+/M+oNJFH86bOy/qy4MDvyrdySpWiW njTvP0euw0OuxA0uOTbjr/aGJbc0GSl7gjc2RqGCs8gTDGuPphsFNbMo3ScPSFExHbVe k79eGB2TuHv0GLED1W8rylz3LKKKbihR4PExM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bPmGDx7gFPRLyE7fvyQjx+mWrvVeLsoO092yvLWSG1jRNLmXRI/tS8/fhR0sguMKdw xxVr1JjciGBLvNcSzoWCbhjGz9Xpb4cSHUh0QNQEHyubSEXHjme6GV0D4jusze41BA/X jOgW7xxABW9VnN7Fejqao9e25DEwej/o7aktk= MIME-Version: 1.0 Received: by 10.151.147.16 with SMTP id z16mr117718ybn.222.1235509141682; Tue, 24 Feb 2009 12:59:01 -0800 (PST) In-Reply-To: <49A456E6.1040307@gmx.de> References: <1235502625.4345.2.camel@localhost.localdomain> <49A44878.30707@gmx.de> <49A456E6.1040307@gmx.de> Date: Tue, 24 Feb 2009 12:59:01 -0800 Message-ID: From: Maksim Yevmenkin To: Christoph Mallon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Sean Bruno , FreeBSD Current Subject: Re: Default FS Layout Too Small? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 20:59:04 -0000 On Tue, Feb 24, 2009 at 12:21 PM, Christoph Mallon wrote: > Maksim Yevmenkin schrieb: >> >> On Tue, Feb 24, 2009 at 11:20 AM, Christoph Mallon >> wrote: >>> >>> Sean Bruno schrieb: >>>> >>>> I noted that if I choose the auto defaults for my F/S layout, sysinsta= ll >>>> will not reserve enough space for root(512MB?). =A0This is just barely >>>> enough to recompile and install an updated kernel. =A0Much more than t= hat >>>> and the F/S is full. >>>> >>>> I would assume that the default would be much larger now-a-days. I thi= nk >>>> a simple doubling to 1G would be sufficient. >>>> >>>> Comments? >>> >>> You are not supposed to compile stuff (or put any other large and often >>> changing stuff) on the root fs. >> >> uhmmm.... i _think_ he is talking about the fact that 512mb root fs is >> barely enough to keep /boot/kernel/ and /boot/kernel.old/ together. >> surely you agree that keeping previous (working) copy of the kernel is >> a "really good idea" when trying out new kernel. i personally have >> been bitten by the same problem. spinning hard drives are _really_ big >> and cheap those days, so i would say we probably should increase >> default root fs size. > > I have several old kernels on my 256MB / and there is no space problem. well, good for you :) unfortunately, i'm not as lucky... > uname -a FreeBSD yak.dev.footprint.net 8.0-CURRENT FreeBSD 8.0-CURRENT #2 r188108: Tue Feb 3 16:46:46 PST 2009 max@yak.dev.footprint.net:/usr/obj/usr/svn/head/usr/src/sys/USB2 amd64 > df -h / Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 496M 247M 209M 54% / > du -skh /boot/kernel/ 222M /boot/kernel/ > du -sk /boot/kernel/* | sort -rn -k1 | head -30 40448 /boot/kernel/kernel.symbols 11904 /boot/kernel/zfs.ko.symbols 11584 /boot/kernel/kernel 9888 /boot/kernel/xfs.ko.symbols 4272 /boot/kernel/if_ath.ko.symbols 2592 /boot/kernel/wlan.ko.symbols 2432 /boot/kernel/nfsclient.ko.symbols 1920 /boot/kernel/if_nxge.ko.symbols 1808 /boot/kernel/sound.ko.symbols 1808 /boot/kernel/cam.ko.symbols 1776 /boot/kernel/ahd.ko.symbols 1744 /boot/kernel/miibus.ko.symbols 1744 /boot/kernel/if_cxgb.ko.symbols 1664 /boot/kernel/linux.ko.symbols 1536 /boot/kernel/zfs.ko 1504 /boot/kernel/if_igb.ko.symbols 1488 /boot/kernel/if_em.ko.symbols 1456 /boot/kernel/iw_cxgb.ko.symbols 1408 /boot/kernel/usb2_core.ko.symbols 1392 /boot/kernel/ipl.ko.symbols 1376 /boot/kernel/smbfs.ko.symbols 1312 /boot/kernel/drm.ko.symbols 1168 /boot/kernel/pf.ko.symbols 1136 /boot/kernel/hwpmc.ko.symbols 1040 /boot/kernel/ext2fs.ko.symbols 1024 /boot/kernel/mpt.ko.symbols 1008 /boot/kernel/ahc.ko.symbols 992 /boot/kernel/ndis.ko.symbols 960 /boot/kernel/xfs.ko 944 /boot/kernel/radeon.ko.symbols so, imo, its very reasonable to just bump the default root fs size and be done with it. thanks, max