Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2013 20:52:51 -0800
From:      Sean Bruno <seanwbruno@gmail.com>
To:        Kurt Lidl <lidl@pix.net>
Cc:        hackers@freebsd.org
Subject:   Re: sparc64 zfsroot/gmirror?
Message-ID:  <1361335971.2816.3.camel@powernoodle>
In-Reply-To: <20130220035936.GA62301@pix.net>
References:  <1361318589.3815.12.camel@powernoodle.corp.yahoo.com> <20130220035936.GA62301@pix.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-maQmYNqessROBPEk0Q5h
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2013-02-19 at 22:59 -0500, Kurt Lidl wrote:
> 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 /
> >=20
> > Since it wasn't obvious how to setup zfs root things I setup something
> > that looks like this:
> >=20
> > =3D>       0  71087625  da0  VTOC8  (33G)
> >          0    385560    1  freebsd-ufs  (188M)
> >     385560  70702065    2  freebsd-zfs  (33G)
> >=20
> > =3D>       0  71087625  da1  VTOC8  (33G)
> >          0    385560    1  freebsd-ufs  (188M)
> >     385560  70702065    2  freebsd-zfs  (33G)
> >=20
> >=20
> > Where everything *except* /boot is in the mirrored zpool.
> >=20
> > I can reinstall the system trivially, and am looking for suggestions.
>=20
> I wrote up a script to do the heavy lifting for installing
> a completely zfs system on a sparc64 machine.
>=20
> http://www.pix.net/ftp/pub/freebsd/sparc_zfs_setup.txt
>=20
> 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.
>=20
> -Kurt
>=20


Ah, I see I'm completely overthinking it.

=46rom your script:
gpart bootcode -p /boot/zfsboot ${disk}
dd if=3D/boot/zfsloader of=3D/dev/${disk}a bs=3D512 oseek1024
conv=3Dnotrunc,sync

That's what I was missing hence my silly layout.

Sean


--=-maQmYNqessROBPEk0Q5h
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAABAgAGBQJRJFajAAoJEBkJRdwI6BaHAKUH+wSn714n9/zEMLrFQ78AYiNH
HpF+IPYThNp9E0/llLZTf5QAGYFiHPLZnok5/F5SBIbPeSNJVwnquRiiWmTld23E
rohiyVaQgcrtrLDvTs2hthrY+jaF1+KCTRKPf+DlFjKKII8nXdsEe0VY7Z/wTAxZ
O/eHmm+ttmaMReCL96mF3mvvRfTgiyOdF7YQ6A5pmpijqq/8fBHmPNOVbVdbXDTi
hKgxEYllw8uk/4M2exLVmojj1LbRlS1/d1OsGYlrcn5VBTijZWaacQvwF+HuyWr0
UmeOfMX9aF1jSLYMSZbiAFv9gSG6qYxeMrTg8ns3gJAkL72B/77OWRzZJ/7OIKU=
=V48Q
-----END PGP SIGNATURE-----

--=-maQmYNqessROBPEk0Q5h--




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