From owner-freebsd-questions@FreeBSD.ORG Tue Feb 20 19:52:11 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 01C8016AE31 for ; Tue, 20 Feb 2007 19:52:10 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av11-2-sn2.hy.skanova.net (av11-2-sn2.hy.skanova.net [81.228.8.184]) by mx1.freebsd.org (Postfix) with ESMTP id 8BF3F13C441 for ; Tue, 20 Feb 2007 19:52:10 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av11-2-sn2.hy.skanova.net (Postfix, from userid 502) id A71F03846C; Tue, 20 Feb 2007 20:52:09 +0100 (CET) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-2-sn2.hy.skanova.net (Postfix) with ESMTP id 684B938451; Tue, 20 Feb 2007 20:52:09 +0100 (CET) Received: from [192.168.1.6] (81-231-90-251-no41.tbcn.telia.com [81.231.90.251]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1F72F37E49; Tue, 20 Feb 2007 20:52:08 +0100 (CET) Message-ID: <45DB50EB.6010901@passagen.se> Date: Tue, 20 Feb 2007 20:50:03 +0100 From: Roger Olofsson 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=ISO-8859-1; format=flowed 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 19:52:11 -0000 Hello Joe, May I suggest a small trick that really makes your life alot easier. Go with the default values when you install the FreeBSD, ie accept the sysinstall generated autos. (Make sure to make / and swap the first partitions though). Now, whenever a partition gets filled up, just do a symlink to another partition. The command is ln -s and is a real lifesaver. Whenever all partitions are full, just stick another HD in the machine and ln -s to that drive. Say f'rinstance that your /var/log gets filled up. Just symlink it to another partition with more space. (Of course when it comes to logs, you should always set these to rotate and newsyslog.conf is your friend.) This works for everything, you can of course change stuff like the mysql-server.sh script to point database folders to different places than default but why bother when a simple symlink does the trick? Now, the next trick I'd recommend is a bit more complicated to setup but it's basically the natural evolution of a symlink on a local machine. If you have another FreeBSD machine in your network, make one a NFS daemon and the other a NFS client and NFS-mount a drive from one machine to the other over the network. You could also use Samba to do this if your other machines aren't FreeBSD. Good luck! Greetings /Roger Joe Vender skrev: > 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 > > > I've played around with the sizes, reducing /var to around 350Mb, / to around > 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this > way, I got FreeBSD installed OK, but I'm considering installing it for a > final time and using it exclusively for my desktop after testing various > linuxes and FreeBSD and comparing them. So, I would like to get the sizes of > FreeBSD's slices optimized. I'm sure there are plenty of people in the user > community with a similar usage/size situation who can advise me. > > Thanks, > Joe > _______________________________________________ > 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" > >