From owner-freebsd-questions@FreeBSD.ORG Sat Jun 25 15:57:07 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 C4E27106566C for ; Sat, 25 Jun 2011 15:57:07 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9558FC0C for ; Sat, 25 Jun 2011 15:57:07 +0000 (UTC) Received: by gwb15 with SMTP id 15so1912943gwb.13 for ; Sat, 25 Jun 2011 08:57:06 -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:from:date :message-id:subject:to:cc:content-type; bh=zxI8yOabZTkhlozd+ZuytMqzAwVDvkUtG08PDHoYhKA=; b=uZnOi98KDksUkaOO7+mZV01Vg6ePm0i7MxzsfV/KTseW7HXEd+NQtER6eLWtH319ov Ei4IKX6vGfcMNXRhnLfbd6zmetbOUvCFE81xRie12No+buWLrzHLMJ30qJHUG6S8BWG0 k+UxFYzC8GlIaLr4dk2RwYBx13huNaQYlcN2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ptdmMr5UR0XGfuVlR0TUpOH66JMDJ1ulue6eq62sHUfwm4KtE3TpZcbegMZ45Ucle6 UNMEyt9z9OZcvNJPHtSpIA3F6GFM08M4BImEydmwk5YRVvn3HzVCek1bvEzrjaSAKZgI EFLiTQ084M9k8lCaVsmMkNgIE96FeU4iJuRiI= Received: by 10.101.23.17 with SMTP id a17mr3506292anj.143.1309017426118; Sat, 25 Jun 2011 08:57:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.70.3 with HTTP; Sat, 25 Jun 2011 08:56:45 -0700 (PDT) In-Reply-To: <4E05F31B.3050603@nagual.nl> References: <4E00EA98.1090805@nagual.nl> <4E05F31B.3050603@nagual.nl> From: Valentin Bud Date: Sat, 25 Jun 2011 18:56:45 +0300 Message-ID: To: Dick Hoogendijk 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: Sat, 25 Jun 2011 15:57:07 -0000 On Sat, Jun 25, 2011 at 5:39 PM, Dick Hoogendijk wrote: > ** > Op 23-6-2011 9:35 schreef Valentin Bud: > > On Tue, Jun 21, 2011 at 10:01 PM, Dick Hoogendijk wrote: > >> OK, it works very well. Installing a ZFS FreeBSD system with an ufs /boot >> is very very easy using the PC-BSD DVD. >> However, I have one question: >> >> 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? >> >> Hope I phrased the question clearly enough. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > Hello Community, > > Like others said in their answer to your question, you don't have to put > /boot on UFS, just go with root on ZFS. > If you would like speed when installing the system I recommend mfsBSD - > http://mfsbsd.vx.sk/. As pointed out > in the web page there is a script (zfsinstall) that does all the work for > you. It does all the steps described in the > wiki - http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror. > > If you want to gain knowledge about the process of installing FreeBSD > with root on ZFS then go with the wiki > article. Using mfsBSD I install a 8.2-STABLE custom system in under 5 > seconds. That's pretty neat :). > > OK, I tried mfsbsd. I had the iso loaded at ata1 master and freebsd-8.2-dvd > as ata1 slave. > I booted my VM; mfsbsd came up fine. I mounted my fbsd dvd drive on /cdrom > and tried to run the zfsinstall script. Alas, it refuses.. It can't find the > (needed!) 8.2-RELEASE.???tgz file It does not exist. There is only a > directory 8.2-RELEASE (on DVD as well as on CDROM ). Question: is this a bug > in zfsinstall script? > How do I work around it? > > Hello Community, You don't need any other CD/DVD to install from. The 8.2-RELEASE.tar.gz file is on the mfsBSD iso. You have to mount it to /cdrom and you can use zfsinstall script that comes with mfsBSD to do a root on ZFS install of FreeBSD. I outline the steps: 0. Download http://mfsbsd.vx.sk/iso/mfsbsd-se-8.2-amd64.iso. 1. Boot mfsBSD. No other disk needed to install FreeBSD on root. 2. # mount /dev/acd0 /cdrom (change acd0 with your local CD/DVD drive). 3. # *zfsinstall -d ad0 -t /cdrom/8.2-RELEASE-amd64.tar.xz* -s 4G - change the drive and swap partition size according to your needs. You might wanna check the options of zfsinstall script, it has quite some nice ones, see -h flag of the command. Have a great day, v -- network warrior