From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 09:19:49 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 6F15B106566C for ; Tue, 11 Jan 2011 09:19:49 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 013618FC26 for ; Tue, 11 Jan 2011 09:19:48 +0000 (UTC) Received: by wyf19 with SMTP id 19so20658340wyf.13 for ; Tue, 11 Jan 2011 01:19:48 -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=nkJuJbHnv8RY2uiOcIEOGKL4U75bXi/SXsw8XVi9bow=; b=tXDjrz/C7fPzVadsKr6yE38XVlTnHC6Ybx2IrZg/E8bQPGocSCs976/0MlDbPG5VAJ 28/WXvSlxEo0d5ThT9zJ8WTQFTWiioGWigvfRdUh82bvBjvxrvvXiHS58T+5N2kh1ck0 eBiNqPqxBeYPvrMnBr/CaCCU/AQHyKH0mKhY0= 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=e/HOaMIs2ny7uKTBOd1FZInmhrlQg6vyd0IdOF1WndK3jccGU3a4F9kbLGeWtTqBHj 3BeNNYg4vZxNjlLQv/QFop9StOp8OzErfuk4UqPBYkJFxDXM8E6wKVldA4HcGlC6w4LQ 28PoDR0eravXtu0zGIcMflihbzUQgU+jL3z24= MIME-Version: 1.0 Received: by 10.216.162.13 with SMTP id x13mr2814864wek.14.1294737587901; Tue, 11 Jan 2011 01:19:47 -0800 (PST) Received: by 10.216.229.73 with HTTP; Tue, 11 Jan 2011 01:19:47 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 09:19:47 +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:19:49 -0000 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