From owner-freebsd-fs@FreeBSD.ORG Wed Sep 24 19:38:57 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4C16106566B for ; Wed, 24 Sep 2008 19:38:57 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 72EFF8FC14 for ; Wed, 24 Sep 2008 19:38:57 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id EE22F19E02A; Wed, 24 Sep 2008 21:27:11 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 30C6F19E027; Wed, 24 Sep 2008 21:27:09 +0200 (CEST) Message-ID: <48DA94AE.3070700@quip.cz> Date: Wed, 24 Sep 2008 21:27:42 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Vitaly Dodonov References: <911337bf0809240630s1b8a3f15y3c224bd82c59306b@mail.gmail.com> <48DA4CB0.4020401@egr.msu.edu> <911337bf0809240808p69197a62qc5865634bc1a27dd@mail.gmail.com> In-Reply-To: <911337bf0809240808p69197a62qc5865634bc1a27dd@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: zfs and gpt partition X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 19:38:57 -0000 Vitaly Dodonov wrote: > On Wed, Sep 24, 2008 at 6:20 PM, Adam McDougall wrote: > > >>Vitaly Dodonov wrote: >> >> >>> I have problem with zfs on gpt partition in RELENG_7 >>> >>>when zfs use whole drive or classic slices, all work well in any ata port, >>>but changing device name with created on it gpt -t zfs partition broke zfs >>>volume >>>state - FAULTED >>> ad8 UNAVAIL 0 0 0 corrupted data >>> >>>restore possible only with returning drive to it original port, where >>>volume >>>was created >>> >>> >>> >> >>Please try looking at 'zpool export' and 'zpool import', it will probably >>correct the error if you export then import the pool. >> > > > yes, export/import working, but without gpt i don't need these operations, > drives don't drop from pool on device name change glabel is next thing you can try - give a label to the device and create zpool on top of labels, not on adX etc. (I didn't try it, do it on your own risk) ;) Miroslav Lachman