From owner-freebsd-stable@FreeBSD.ORG Tue Oct 27 15:09:56 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE91A1065670 for ; Tue, 27 Oct 2009 15:09:56 +0000 (UTC) (envelope-from jfarmer@goldsword.com) Received: from gateway07.websitewelcome.com (gateway07.websitewelcome.com [69.41.248.30]) by mx1.freebsd.org (Postfix) with SMTP id 7D4C18FC08 for ; Tue, 27 Oct 2009 15:09:56 +0000 (UTC) Received: (qmail 7708 invoked from network); 27 Oct 2009 14:55:00 -0000 Received: from audi.websitewelcome.com (67.19.210.130) by gateway07.websitewelcome.com with SMTP; 27 Oct 2009 14:55:00 -0000 Received: from localhost ([127.0.0.1]:45459) by audi.websitewelcome.com with esmtpa (Exim 4.69) (envelope-from ) id 1N2nGX-0005v1-2c for freebsd-stable@freebsd.org; Tue, 27 Oct 2009 09:43:17 -0500 Received: from 74.171.98.142 ([74.171.98.142]) by www.goldsword.com (Horde MIME library) with HTTP; Tue, 27 Oct 2009 10:43:16 -0400 Message-ID: <20091027104316.dsp7kikkoogo80gw@www.goldsword.com> Date: Tue, 27 Oct 2009 10:43:16 -0400 From: jfarmer@goldsword.com To: freebsd-stable@freebsd.org References: <200910271646.55227.doconnor@gsoft.com.au> <200910271902.19618.doconnor@gsoft.com.au> In-Reply-To: <200910271902.19618.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - audi.websitewelcome.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - goldsword.com Subject: Re: whats best pracfive for ZFS on a whole disc these days ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 15:09:56 -0000 Quoting Daniel O'Connor : > On Tue, 27 Oct 2009, Artem Belevich wrote: >> > Unfortunately it appears ZFS doesn't search for GPT partitions so >> > if you have them and swap the drives around you need to fix it up >> > manually. >> >> When I used raw disk or GPT partitions, if disk order was changed the >> pool would come up in 'DEGRADED' or UNAVAILABLE state. Even then all >> that had to be done is export/import the pool. After the pool has >> been re-imported it was back to ONLINE. > > Hmm OK, I thought it supposedly DTRT for raw disks but apparently not. > >> Now I'm using GPT labels (gpart -l) specifically because that avoids >> issues with disk order or driver change. The pool I've built from GPT >> labels has survived several migrations between different >> controllers/drivers adX (ata) -> daX (SATA disks on mpt) -> adaX >> (ahci) and multiple drive permutations without any manual >> intervention at all. All that was done on 8-RC1/amd64. >> I have also successfully imported the pool on OpenSolaris and back >> again on FreeBSD. > > Damn, if I'd realised I'd have done that :) > > Do you know if it's possible to change? > Check the archives for stable@ and fs@. I believe that there was a =20 thread not that long ago detailing exactly how to do that. IIRC, =20 while it took a bit of work, it wasn't difficult. John ----------------------------------------------------------------- J. T. Farmer GoldSword Systems, Knoxville TN Coach & Instructor Consulting, Knoxville Academy of the Blade Software Development, Maryville Fencing Club Project Management