Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 09:23:07 +0000
From:      krad <kraduk@gmail.com>
To:        Carl Chave <carl@chave.us>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ZFS + GPT with root on memory stick and mirrored SATA drives
Message-ID:  <AANLkTik5PwdZ%2BobXEUriDiWFRv9wtKEgcwZ5=S-d5N6u@mail.gmail.com>
In-Reply-To: <AANLkTi=t8PEa4wy=GB9HOyss2GX-=ST3U91jVrTz1RsX@mail.gmail.com>
References:  <AANLkTi=veX-%2BS5sPXJXAHzcgTOBqsg-m8sf23LO%2B9b3_@mail.gmail.com> <AANLkTikcMscZHaC7DDR5PsZrUG4JtPtjwmkSd=MySfOi@mail.gmail.com> <AANLkTimd5rSnEn61SgMcBShjnhqGVoGkxfAOqKCtwtiy@mail.gmail.com> <AANLkTikSjidOwHGSJ1U7P%2Ba7ycJeuDrxfoMBN8V4BJt3@mail.gmail.com> <AANLkTi=t8PEa4wy=GB9HOyss2GX-=ST3U91jVrTz1RsX@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 January 2011 09:19, krad <kraduk@gmail.com> wrote:

>
>
> On 11 January 2011 09:09, krad <kraduk@gmail.com> wrote:
>
>>
>>
>> On 10 January 2011 21:46, Carl Chave <carl@chave.us> wrote:
>>
>>> <snip>
>>> > echo -en "\n\nNow run these two commands to make the changes live, and
>>> > reboot
>>> >  zfs set mountpoint=legacy $zpool/be/$nroot
>>> >  zpool set bootfs=$zpool/be/$nroot $zpool\n\n"
>>>
>>> Thanks for the input krad.  It would be nice to easily switch back and
>>> forth but aren't you still stuck if everything blows up on that first
>>> reboot?  In order to switch back to the known working dataset you've
>>> got to get to a fixit prompt to set the correct bootfs property right?
>>>
>>
>>
>> unfortunatly at the moment yes, but all you have to do is reset the bootfs
>> property. It would be nice id you could do something from within the boot
>> loader similar to variables you can pass in grub with opensolaris
>>
>
>
> having said that as long as the loader works you should be able to reset
> the rootfs variable
>


some similar stuff here.
http://anonsvn.h3q.com/projects/freebsd-patches/wiki/manageBE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik5PwdZ%2BobXEUriDiWFRv9wtKEgcwZ5=S-d5N6u>