From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 09:09:22 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 61377106566B for ; Tue, 11 Jan 2011 09:09:22 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id E68CE8FC14 for ; Tue, 11 Jan 2011 09:09:21 +0000 (UTC) Received: by wwi17 with SMTP id 17so2469554wwi.1 for ; Tue, 11 Jan 2011 01:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GbUXvVr/4xAEp+3E6oXuXLTeiikMvktaXK29puqoCPo=; b=mi2Gyo+TJL9+De6y3cHEjT/gWc8PZPbKnGuu/ErOLT4z71ycTQ13BawcKDdAe17FbK WDhmJSKa1s4/B6Icx5bu/FKdaYrmwIJ2PvV+UyogXvxyH18VOQH0V8EzWMvB8CzAQwUb TildS9ePusJFXigMC+qXQZSStezY7KksORw4A= 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=WHiI719QDYgwCuLPIpTCKBWWAL/nDPLRhkr8fJIagbKexJN1C2k6TUOdO1a9KaVgVG naheFEgtoSX0s6qrEAKdEo+oExayRhvtGzDnp0YVfa7MIyIMGStrqg0Vgjp+Q7ubS+uU mJNzUJjpYQSsfEGzgaSdivuB3absDgU8i5hQQ= MIME-Version: 1.0 Received: by 10.216.17.201 with SMTP id j51mr656090wej.44.1294736960669; Tue, 11 Jan 2011 01:09:20 -0800 (PST) Received: by 10.216.229.73 with HTTP; Tue, 11 Jan 2011 01:09:20 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 09:09:20 +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:09:22 -0000 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