From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 20:22:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5625106564A for ; Wed, 22 Jun 2011 20:22:44 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 799DF8FC08 for ; Wed, 22 Jun 2011 20:22:43 +0000 (UTC) Received: by qyk30 with SMTP id 30so3277155qyk.13 for ; Wed, 22 Jun 2011 13:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0SkrLPN7mnft23Je1+nS7gd84rSXoai7bXfauk9Fd60=; b=ZFpUyU65umHdDel+3a0ueHjlnOeH9s+I0HI8YbQE2pXZ0YT96IIUr0NcKTRuymy6QB PJkssPTjccJ7MvyA2YRXQPcFZiEeEy2s+/ZLYMuMlJjF2g2KEjbXyFMELuxkHJp7aBnE 6qhgEGfoV6ExBamEuKTJ47RojzT0kjOcN9Cl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iOQd9c5Q9dRMgRzcK2qNnbnzOt1AOBMO3dwKYj9XdcT91hUD5GpXNy7p4qxBPTzjvL F3Ug457zKCGnsizd73jKslHyT4rHI0+26VbGJwDfy6TLhWDPaI93zvrfk6fegICB2ltw JHEloNzyf6vRt4P2D3XxYQQ76jtguzMqEBHGU= MIME-Version: 1.0 Received: by 10.229.2.131 with SMTP id 3mr928175qcj.156.1308774162900; Wed, 22 Jun 2011 13:22:42 -0700 (PDT) Received: by 10.229.89.79 with HTTP; Wed, 22 Jun 2011 13:22:42 -0700 (PDT) In-Reply-To: <4E00FDC0.3090808@infracaninophile.co.uk> References: <4E00EA98.1090805@nagual.nl> <4E00FDC0.3090808@infracaninophile.co.uk> Date: Wed, 22 Jun 2011 21:22:42 +0100 Message-ID: From: krad To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD ZFS system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2011 20:22:44 -0000 On 21 June 2011 21:23, Matthew Seaman wrote: > On 21/06/2011 20:01, Dick Hoogendijk wrote: > > I'd like to install FreeBSD (pcbsd) on a (zfs) mirror > > In OpenSolaris you can install directly to the zfs mirror, but how's > > this in this situation> After all, an UFS partitin is also created. How > > can I get the equivalent of an OpenSolaris mirrored install for a > > FreeBSD system? > > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror > > Cheers > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > its dead easy to do retrospective as well no need to rebuild or ditch the pcbsd install method. X = current boot drive Y = blank drive z = zfs partition/slice eg s1d, p3 etc gpart backup /dev/X | gpart restore /dev/Y gpart bootcode -b /zfsboot/pmbr -p /zfsboot/(gpt)*zfsboot -i 1 /dev/Y zpool attach /dev/Xz /dev/Yz