From owner-freebsd-current@FreeBSD.ORG Mon Dec 21 15:28:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA9DD106566C for ; Mon, 21 Dec 2009 15:28:07 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id B3BA18FC18 for ; Mon, 21 Dec 2009 15:28:07 +0000 (UTC) Received: from [192.168.1.4] (adsl-156-16-112.bna.bellsouth.net [70.156.16.112]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nBLFS4qp059573 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 21 Dec 2009 10:28:05 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Mel Flynn In-Reply-To: <200912210614.12483.mel.flynn+fbsd.current@mailing.thruhere.net> References: <200912210600.46044.mel.flynn+fbsd.current@mailing.thruhere.net> <20091221150514.GB75616@roberto-al.eurocontrol.fr> <200912210614.12483.mel.flynn+fbsd.current@mailing.thruhere.net> Content-Type: text/plain Organization: FreeBSD Date: Mon, 21 Dec 2009 09:27:59 -0600 Message-Id: <1261409279.2315.75.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Ollivier Robert , freebsd-current@freebsd.org Subject: Re: Some notes on RootOnZFS article in wiki X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 15:28:08 -0000 On Mon, 2009-12-21 at 06:14 -0900, Mel Flynn wrote: > On Monday 21 December 2009 06:05:14 Ollivier Robert wrote: > > According to Mel Flynn: > > > 2) `gpart set -a active -i 1 ad4' gave me 'active: device not > > > configured'. This error isn't mentioned (debugflags didn't help) in the > > > wiki nor the missing DIAGNOSTICS section in the gpart man page. In my > > > case the system booted, but it's nice to know what the error means and > > > whether you can > > > > Most of the time, you don't even need it. On modern machines, system will > > boot from the GPT "freebsd-boot" partition w/o having it active. > > And you would know whether you fall into the 'modern machines' category how? > > Also, did this error tell me I don't need it, did it tell me it didn't work > even though it tried and now my partition info is screwed or is it completely > harmless? That's what I'd like to know (either in the article, but probably > better in gpart manpage). The reason that it fails is that "active" is not a parameter for GPT based geom_part. It is only for geom_mbr. As I said, this is usually no longer needed if you are using most newer branches, which if you are doing zfs boot, you should be. Lots of zfs boot fixes have gone into the code lately. robert. -- Robert Noland FreeBSD