Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 20:23:43 -0400
From:      Chris Brennan <xaero@xaerolimit.net>
To:        Peter Toth <freebsd@snap.net.nz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS on Root
Message-ID:  <20110622002342.GA29666@gmail.com>
In-Reply-To: <4E01344B.4020902@snap.net.nz>
References:  <20110621201553.GA29153@gmail.com> <4E01344B.4020902@snap.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
* Peter Toth <freebsd@snap.net.nz> [2011-06-22 12:16:11 +1200]:

> Did you set the "bootfs" property on your root pool? Example: "zpool set
> bootfs=tank/root tank"

Well, the wiki I linked has the following:

    Fixit# mkdir /boot/zfs
    Fixit# zpool create zroot mirror /dev/gpt/disk0 /dev/gpt/disk1
    Fixit# zpool set bootfs=zroot zroot

I subsequently modified that as follows:
   Fixit# mkdir /boot/zfs
   Fixit# zpool create tank /dev/gpt/disk0
   Fixit# zpool set bootfs=tank tank

So was the wiki mistake and I do indeed need to "zpool set 
bootfs=tank/root tank instead?

-- 
> Chris Brennan
> -- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------



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