From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 20:29:30 2012 Return-Path: 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 7018B639 for ; Sun, 14 Oct 2012 20:29:30 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id B8B3E8FC12 for ; Sun, 14 Oct 2012 20:29:28 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id B8VR1k008516WCc018VSmj; Sun, 14 Oct 2012 21:29:26 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=XOyyuHdE c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=G8PPuS6faQMA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=D7rCoLxHAAAA:8 a=uV-vMVcYup8A:10 a=6I5d2MoRAAAA:8 a=juaQ31GLO2LMfh31EQkA:9 a=wPNLvfGTeEIA:10 a=tlJW8gxtbz4A:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.80) (envelope-from ) id 1TNUoO-0003oP-Sw for freebsd-questions@freebsd.org; Sun, 14 Oct 2012 21:29:25 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 14 Oct 2012 21:29:24 +0100 User-Agent: KMail/1.9.10 References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> In-Reply-To: <507AFEEC.2030609@webrz.net> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201210142129.24479.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.2 Subject: Re: FreeBSD9 - Fresh install (2) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 20:29:30 -0000 On Sunday 14 October 2012 19:05:32 Jos Chrispijn wrote: > The slice one and two idea is perhaps Windows related, but I thought if > I want to update my FreeBSD9 t0, let's say 10 or 11, I only have to > clean slice one and put BSD on that again (having the backup slice > untouched). My approach would be to go for 3 slices. Slice 1 would be a suitable size to hold the OS and swap, I have quite a lot of ports installed on my desktop PC so would go for about 20 to 30 GB. This could be less for a server but with 1TB you can afford to be generous. This can then be partitioned to suit with whatever combinations of /, /usr, /usr/local, /var. /tmp and swap suits your fancy. The second slice would be the same size as the first and be left empty for now as a spare. The third slice, the rest of the disk, would be for all of your data and could be partitioned (or not) to suit your needs for /home and any other local data requirements. If there's to be any large mysql databases then I'd put them here with symlinks from /var where mysql normally expects to find them. When you come to upgrade to the next FreeBSD release just install it into the spare second slice and boot from that instead of the first. If you experience any serious problems with the upgrade then nothing has been lost and you can just revert to booting of the first slice until things are sorted out. The above is all assuming you're using UFS. If you're going to use ZFS then there are other possibilities like using sysutils/beadm from ports to manage multiple boot environments in a single partition. -- Mike Clarke