From owner-freebsd-questions@FreeBSD.ORG Tue Feb 20 16:32:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4F6116A647 for ; Tue, 20 Feb 2007 16:32:16 +0000 (UTC) (envelope-from netslists@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 88E3613C4BA for ; Tue, 20 Feb 2007 16:32:16 +0000 (UTC) (envelope-from netslists@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so414598ana for ; Tue, 20 Feb 2007 08:32:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=p5NN/38qd694Zig7nQNCEVwtPDXslTqsdWxxVGzP5/Wkn1NWpul7a8WCOUf8ePi3dXx9QZxNN+x81pTW6BNOA3NhkrwVzGHAPV1LBqLDIGEE4kP0vK5XvV09FV2spSXPp+uE/mPDAoHbfu9IrFQnnH+0s4J5GNLyDRHgrKNC8Dw= Received: by 10.100.107.2 with SMTP id f2mr2817655anc.1171987577745; Tue, 20 Feb 2007 08:06:17 -0800 (PST) Received: from ?192.168.11.5? ( [65.33.136.99]) by mx.google.com with ESMTP id d36sm3194989and.2007.02.20.08.06.16; Tue, 20 Feb 2007 08:06:17 -0800 (PST) Message-ID: <45DB1C55.5050905@gmail.com> Date: Tue, 20 Feb 2007 11:05:41 -0500 From: Sten Daniel Soersdal User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Joe Vender References: <200702192337.13712.jvender@owensboro.net> In-Reply-To: <200702192337.13712.jvender@owensboro.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Best partitioning scheme for my HDD? Please advise. 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: Tue, 20 Feb 2007 16:32:16 -0000 Joe Vender wrote: > I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to > install the ports collection and also KDE. I will operate from the KDE > environment using FreeBSD as a standalone desktop machine connected to the > net via a dialup internet connection. What would be the best sizes for the > disk partitions so that I don't run out of space on any of them while also > leaving the maximum amount of space possible for the future software to be > installed? > My partitions will be: > / > swap > /var > /tmp > /usr > > as suggested using the auto option during slice creation. > > I've found that if I use the default sizes that are chosen by the installer > using the auto option, the /usr partition fills up before everything is > installed and the installation fails. If I remember correctly, the auto > feature sets the sizes around the following sizes for my HDD: > / ~500MB > swap ~600MB > /var ~1300MB > /tmp ~ 500MB > /usr ~3GB > Perhaps it is possible to reduce / to ~128 mb? boot up and see estimate that you need several mb free and estimate double of /boot/kernel directory (if you install new kernel you get to keep the old one, therefore estimate double that directory size). Swap ... well for a successful crash dump you need as much as swap as you have memory. /var can be further reduced to perhaps 512mb or perhaps even less? if you do buildworld then /var/tmp/ might be used more. Perhaps you could merge / and /var and symlink /var/tmp with say /usr/tmp ? /tmp can be reduced, you can even remove it completely and use tmpfs for that partition. /usr needs the rest Just a (cluttered) suggestion. The cool part about FreeBSD is what you can get away with, just by symlinking (ln -s) a few folders here and there. After all, it's just your desktop, right? -- Sten Daniel Soersdal