From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 09:23:08 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 E6074106564A for ; Tue, 11 Jan 2011 09:23:08 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 74F9A8FC08 for ; Tue, 11 Jan 2011 09:23:08 +0000 (UTC) Received: by wwf26 with SMTP id 26so20196173wwf.31 for ; Tue, 11 Jan 2011 01:23:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3+EX7rACQqx6Q1GfVIzIny7a6JFe/T56VpBNoiLhZ+k=; b=ryMiam00gpmSx2j5O6UJ5APqCE7+d4kg2i22Cug77lXOWIxn1i5Vdfco6jSXYx9i+E 9yMzg5ebbRt9EtZ/ch8MvoxwlrBWMW0QqZ+iccmgSV9YH6R0ldHPPfc1yaFIy85SVLuE 9A7m1x5A2D3ZQTJ3UcLk6Ep5tuM0flryIJwac= 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=Z3lZ1QJwmVbhCYNCZPZd6WsrlATc6LdGwMZ4GvMsHD3uU0Z3ABt5Uvsyxvb/wnJ+Kt c3ihpj9fi3sdRrjXlTEQf+cDDY6T2fSWhJn78eFlhyiphd0thfF/ZEeXAKrb3kn6VyBo CjgDLEa4ot7ZtMd3PpHHHpf12+iR9W1zyrf3M= MIME-Version: 1.0 Received: by 10.216.0.140 with SMTP id 12mr4560657web.29.1294737787299; Tue, 11 Jan 2011 01:23:07 -0800 (PST) Received: by 10.216.229.73 with HTTP; Tue, 11 Jan 2011 01:23:07 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 09:23:07 +0000 Message-ID: From: krad To: Carl Chave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ZFS + GPT with root on memory stick and mirrored SATA drives 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: Tue, 11 Jan 2011 09:23:09 -0000 On 11 January 2011 09:19, krad wrote: > > > On 11 January 2011 09:09, krad wrote: > >> >> >> On 10 January 2011 21:46, Carl Chave wrote: >> >>> >>> > 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