From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 20 03:59:37 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D3B817B5; Wed, 20 Feb 2013 03:59:37 +0000 (UTC) (envelope-from lidl@hydra.pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c]) by mx1.freebsd.org (Postfix) with ESMTP id AEFC6DFC; Wed, 20 Feb 2013 03:59:37 +0000 (UTC) Received: from hydra.pix.net (localhost [127.0.0.1]) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id r1K3xauW062442; Tue, 19 Feb 2013 22:59:36 -0500 (EST) (envelope-from lidl@hydra.pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.6 at mail.pix.net Received: (from lidl@localhost) by hydra.pix.net (8.14.5/8.14.5/Submit) id r1K3xaoB062441; Tue, 19 Feb 2013 22:59:36 -0500 (EST) (envelope-from lidl) Date: Tue, 19 Feb 2013 22:59:36 -0500 From: Kurt Lidl To: sbruno@freebsd.org Subject: Re: sparc64 zfsroot/gmirror? Message-ID: <20130220035936.GA62301@pix.net> References: <1361318589.3815.12.camel@powernoodle.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1361318589.3815.12.camel@powernoodle.corp.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 03:59:37 -0000 On Tue, Feb 19, 2013 at 04:03:09PM -0800, Sean Bruno wrote: > I'm restoring some of the sparc64 machines for freebsd.org and had a > question with regards to what to do about the / > > Since it wasn't obvious how to setup zfs root things I setup something > that looks like this: > > => 0 71087625 da0 VTOC8 (33G) > 0 385560 1 freebsd-ufs (188M) > 385560 70702065 2 freebsd-zfs (33G) > > => 0 71087625 da1 VTOC8 (33G) > 0 385560 1 freebsd-ufs (188M) > 385560 70702065 2 freebsd-zfs (33G) > > > Where everything *except* /boot is in the mirrored zpool. > > I can reinstall the system trivially, and am looking for suggestions. I wrote up a script to do the heavy lifting for installing a completely zfs system on a sparc64 machine. http://www.pix.net/ftp/pub/freebsd/sparc_zfs_setup.txt The 12GB space for zfs is appropriate for a 18Gb disk, and allows the remainder of the disk space to accommodate a 4Gb-ish swap space, for crash dumps. The swap is placed at the end of the disk, since that's the slowest part to access. -Kurt