From owner-freebsd-stable@FreeBSD.ORG Sun May 31 16:05:35 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DF2D106564A for ; Sun, 31 May 2009 16:05:35 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id A9E238FC26 for ; Sun, 31 May 2009 16:05:34 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (localhost.spoerlein.net [127.0.0.1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id n4VG5XZQ000623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 31 May 2009 18:05:33 +0200 (CEST) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id n4VG5Xi4000622; Sun, 31 May 2009 18:05:33 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Sun, 31 May 2009 18:05:33 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Dan Naumov Message-ID: <20090531160533.GF18676@acme.spoerlein.net> Mail-Followup-To: Dan Naumov , freebsd-stable@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-stable@freebsd.org Subject: Re: ZFS on top of GELI / Intel Atom 330 system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 16:05:35 -0000 On Fri, 29.05.2009 at 11:19:44 +0300, Dan Naumov wrote: > Also, free free to criticize my planned filesystem layout for the > first disk of this system, the idea behind /mnt/sysbackup is to take a > snapshot of the FreeBSD installation and it's settings before doing > potentially hazardous things like upgrading to a new -RELEASE: > > ad1s1 (freebsd system slice) > ad1s1a => 128bit Blowfish ad1s1a.eli 4GB swap > ad1s1b 128GB ufs2+s / > ad1s1c 128GB ufs2+s noauto /mnt/sysbackup > > ad1s2 => 128bit Blowfish ad1s2.eli > zpool > /home > /mnt/data1 Hi Dan, everybody has different needs, but what exactly are you doing with 128GB of / ? What I did is the following: 2GB CF card + CF to ATA adapter (today, I would use 2x8GB USB sticks, CF2ATA adapters suck, but then again, which Mobo has internal USB ports?) Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad0a 507630 139740 327280 30% / /dev/ad0d 1453102 1292296 44558 97% /usr /dev/md0 253678 16 233368 0% /tmp /usr is quite crowded, but I just need to clean up some ports again. /var, /usr/src, /home, /usr/obj, /usr/ports are all on the GELI+ZFS pool. If /usr turns out to be to small, I can also move /usr/local there. That way booting and single user involves trusty old UFS only. I also do regular dumps from the UFS filesystems to the ZFS tank, but there's really no sacred data under / or /usr that I would miss if the system crashed (all configuration changes are tracked using mercurial). Anyway, my point is to use the full disks for GELI+ZFS whenever possible. This makes it more easy to replace faulty disks or grow ZFS pools. The FreeBSD base system, I would put somewhere else. Cheers, Ulrich Spörlein -- http://www.dubistterrorist.de/