From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 20:24:26 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 AE9AF1065670 for ; Wed, 22 Jun 2011 20:24:26 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 612648FC12 for ; Wed, 22 Jun 2011 20:24:26 +0000 (UTC) Received: by qwc9 with SMTP id 9so790166qwc.13 for ; Wed, 22 Jun 2011 13:24:25 -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=K1nW9bluX7KhWcEasrp9627c757G1TFD1J81SYvHj9s=; b=LWBnL93QmmYqJVvtXw7uz844rkq3J11m/Xcdf0fF7wuWaUFGWZCVlJoFjSdj01v7qx 9kmXoFSuW6g+QNr1c6AdQ4Y8c+gbsXI3NgpSY9aLvfUwyz6Ih/s7y+bK/AsY0ANUIJ8n yn62J93Haoa02sU/OdCV4B5EU2+wIe51UCakQ= 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=su5hQenZxXeh5pqvih0bMhMl8dTOhQ4BGLwL96nRVQaBDVJspXzT28ZSfUF817pvN2 WwiK1/U11U/+IfA4hzD0WZgRK+HIUsW9w1wQtdn9/nWzhVoQh5AbYL2m05akkQGRrVxw vCdZIpmMO1J/+KcFPx3B1s0EKaeeY07cGmRZM= MIME-Version: 1.0 Received: by 10.229.7.3 with SMTP id b3mr914351qcb.194.1308774265586; Wed, 22 Jun 2011 13:24:25 -0700 (PDT) Received: by 10.229.89.79 with HTTP; Wed, 22 Jun 2011 13:24:25 -0700 (PDT) In-Reply-To: References: <4E00EA98.1090805@nagual.nl> <4E00FDC0.3090808@infracaninophile.co.uk> Date: Wed, 22 Jun 2011 21:24:25 +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:24:26 -0000 ps you dont need the ufs file system just go zfs root. For recovery have a full install of bsd on a pen drive. On 22 June 2011 21:22, krad wrote: > > > 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 >