Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 11:05:41 -0500
From:      Sten Daniel Soersdal <netslists@gmail.com>
To:        Joe Vender <jvender@owensboro.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Best partitioning scheme for my HDD? Please advise.
Message-ID:  <45DB1C55.5050905@gmail.com>
In-Reply-To: <200702192337.13712.jvender@owensboro.net>
References:  <200702192337.13712.jvender@owensboro.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?45DB1C55.5050905>