From owner-freebsd-stable@FreeBSD.ORG Sun Oct 31 19:53:21 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 A323210656A3 for ; Sun, 31 Oct 2010 19:53:21 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 414EE8FC1C for ; Sun, 31 Oct 2010 19:53:20 +0000 (UTC) Received: by vws12 with SMTP id 12so2849757vws.13 for ; Sun, 31 Oct 2010 12:53:20 -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=P7VURlKWVumE7gLvyNXBmEGQtbSSJNN6SYh4w7Tpv7o=; b=njXe1lKxDOUCjEb3JnOsR9Mz0CbmTskQznzi9zoZz/HIFpmQknsdAjf1IRruPzP1Dv ADmJzQLn7YkVkh1AZMNSnqzOaS87mT/v9Qr3A+CLvQhy8Rb8YezEfJEy6IkpJ3zqG5K0 dfZtntHo/0dexWN5FXPG+bVj0zUEPTAkkNaQg= 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=VAoOe540oCXDE9mJKo9170olct9JOUo5tqtEucxLR9sdjgly/z3X7wGx7jLshc0m+n QWQptq2vtUcpMBCkDKg3VSMeIcHFyCOee5MkyuQq1dwGhCLR5jSJVquZ+nD3fR7YhuUT GB1tLBF380niXpMz0AZbvFEGA5A5q1fs4m490= MIME-Version: 1.0 Received: by 10.224.11.141 with SMTP id t13mr7158509qat.394.1288554800185; Sun, 31 Oct 2010 12:53:20 -0700 (PDT) Received: by 10.229.110.12 with HTTP; Sun, 31 Oct 2010 12:53:20 -0700 (PDT) In-Reply-To: References: Date: Sun, 31 Oct 2010 12:53:20 -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: Sun, 31 Oct 2010 19:53:24 -0000 Hi Artem, everyone, Here's the latest update on my case. I did upgrade the system to the latest stable: 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Oct 31 11:44:06 PDT 2010 After that I did zpool upgrade and zfs upgrade -r all the filesystems. Currently I am running zpool 15 and zfs 4. Everything went fine with the upgrade but unfortunately my problem still persists. There's no difference in this aspect. I still have mfid devices. I also tried chmod-ing as you suggested /dev/mfid devices but zfs/zpool didn't seem to care and imported the array regardless. So at this point since no one else seems to have any ideas and we seem to be stuck I am almost ready to declare defeat on this one. Although the pool is usable I couldn't bring it back to exactly the same state as it was before the disk replacements took place. Disappointing indeed, although not a complete show stopper. I still think that if there's a way to edit the cache file and change the devices that might do the trick. Thanks for all the help, Rumen Telbizov On Fri, Oct 29, 2010 at 5:01 PM, Artem Belevich wrote: > On Fri, Oct 29, 2010 at 4:42 PM, Rumen Telbizov > wrote: > > FreeBSD 8.1-STABLE #0: Sun Sep 5 00:22:45 PDT 2010 > > That's when I csuped and rebuilt world/kernel. > > There were a lot of ZFS-related MFCs since then. I'd suggest updating > to the most recent -stable and try again. > > I've got another idea that may or may not work. Assuming that GPT > labels disappear because zpool opens one of the /dev/mfid* devices, > you can try to do "chmod a-rw /dev/mfid*" on them and then try > importing the pool again. > > --Artem > -- Rumen Telbizov http://telbizov.com