From owner-freebsd-stable@FreeBSD.ORG Tue Oct 27 06:59:09 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 1CB671065679 for ; Tue, 27 Oct 2009 06:59:09 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id C8D2E8FC0A for ; Tue, 27 Oct 2009 06:59:08 +0000 (UTC) Received: by yxe1 with SMTP id 1so10619562yxe.3 for ; Mon, 26 Oct 2009 23:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=H22udKeuevyuMIhAS+EIUPxSw3rplBNI8y7N3ykalNw=; b=vGmQArQ9RTbnYzgC3VFIK0Ha/84F3jpVeZEuHSbVGL4j1EN7Wv1X+T++WTyvlods2A P9nzsNHVrEhuDkFpPWAOFvceUH0DYTHEyXYSox8aEOqtk0pk0znvFly0C5scT01uweUN zdCVLCGJWnGNtV5oNpUjcbkbnW4FwQMXq/Cf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=w50Eqc3KulNqW81gQAML6/bsmM1EJugHyfWWSCMDTv/lfNnR8+si8U3GEygw/h+iC5 4Pce1cyqm/zwpf9+eHN7GCh/Ly7e3UUersKZaKy88rlmknu4tg7p+pckJ3lcJIvrYThR bXMFRXoV1SYcub7zZ3Q+LVlaIUb7adSQsJZqA= MIME-Version: 1.0 Sender: artemb@gmail.com Received: by 10.91.27.7 with SMTP id e7mr13500992agj.8.1256626748028; Mon, 26 Oct 2009 23:59:08 -0700 (PDT) In-Reply-To: <200910271646.55227.doconnor@gsoft.com.au> References: <200910271646.55227.doconnor@gsoft.com.au> Date: Mon, 26 Oct 2009 23:59:07 -0700 X-Google-Sender-Auth: fcaef879d8dea37c Message-ID: From: Artem Belevich To: "Daniel O'Connor" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, Pete French 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 06:59:09 -0000 > 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. 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. --Artem