From owner-freebsd-stable@FreeBSD.ORG Fri Oct 29 05:51:20 2010 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 29F20106564A for ; Fri, 29 Oct 2010 05:51:20 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id CEE9E8FC08 for ; Fri, 29 Oct 2010 05:51:19 +0000 (UTC) Received: by qyk7 with SMTP id 7so5644139qyk.13 for ; Thu, 28 Oct 2010 22:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=JI9sCMA8KSnnt9yHtsw2autIG2sM7Zkybg8Ot7on0rQ=; b=NFT5UeF5atEfV5rDg9/WSk5wpu7JFUWY0t/UohIBuAd4Ner4vBFPor+RnSdlqk+Uib CAB0wclzKn4aDh6CRgmdvJ5OhxO09MKxSLqspBaUu0YZa4Yrs7HYZnOgeVUgTrk2KYC6 vSTa3be6mizNeTi0HHhZBqkZbuhnVn3uw+kAg= 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=UQMHhqaBpb+zpkgAER7A2PYIe0/p6D5MGLmPZa1p0hnfGY4bwqqzWlex4fyDU2Na3B oCt8PoIBsb0JKhQlFDG87I0cVqwf6n5Xor+gdO99otAPGuWUGa+97nXYyD0RJwfUQ2ar q0UWvAOknbNRxIT6bhe2UIIXRYyfEpBNiDZBE= MIME-Version: 1.0 Received: by 10.229.224.67 with SMTP id in3mr3550438qcb.236.1288331478300; Thu, 28 Oct 2010 22:51:18 -0700 (PDT) Received: by 10.229.110.12 with HTTP; Thu, 28 Oct 2010 22:51:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Oct 2010 22:51:18 -0700 Message-ID: From: Rumen Telbizov To: Artem Belevich Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Degraded zpool cannot detach old/bad drive 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: Fri, 29 Oct 2010 05:51:20 -0000 Hi Artem, everyone, Thanks for your quick response. Unfortunately I already did try this approach. Applying -d /dev/gpt only limits the pool to the bare three remaining disks which turns pool completely unusable (no mfid devices). Maybe those labels are removed shortly they are being tried to be imported/accessed? What I don't understand is what exactly makes those gpt labels disappear when the pool is imported and otherwise are just fine?! Something to do with OpenSolaris ? On top of it all gpart show -l keeps showing all the labels right even while the pool is imported. Any other clues would be appreciated. Thank you, Rumen Telbizov On Thu, Oct 28, 2010 at 9:46 PM, Artem Belevich wrote: > > but only those 3 devices in /dev/gpt and absolutely nothing in > /dev/gptid/ > > So is there a way to bring all the gpt labeled partitions back into the > pool > > instead of using the mfidXX devices? > > Try re-importing the pool with "zpool import -d /dev/gpt". This will > tell ZFS to use only devices found within that path and your pool > should be using gpt labels again. > > --Artem > -- Rumen Telbizov http://telbizov.com