Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2013 22:59:36 -0500
From:      Kurt Lidl <lidl@pix.net>
To:        sbruno@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Re: sparc64 zfsroot/gmirror?
Message-ID:  <20130220035936.GA62301@pix.net>
In-Reply-To: <1361318589.3815.12.camel@powernoodle.corp.yahoo.com>
References:  <1361318589.3815.12.camel@powernoodle.corp.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130220035936.GA62301>