From owner-freebsd-stable@FreeBSD.ORG Fri Oct 29 04:46:08 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 9501C106564A for ; Fri, 29 Oct 2010 04:46:08 +0000 (UTC) (envelope-from artemb@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 419788FC19 for ; Fri, 29 Oct 2010 04:46:07 +0000 (UTC) Received: by qyk7 with SMTP id 7so5606316qyk.13 for ; Thu, 28 Oct 2010 21:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=7kcGbcRT5XkMjJeTQjfIIAddd9uMhNWg3XgQFmDglYg=; b=NwFn/psXckFucXSzHvfJy5A8dW7WR+k3VRQJNgagL0g5VTCqj9WLSH2bKiKThuqeC9 70YDkeX3iZCUtTjAmbBIxFftXcIJXmHnjdilG8E0wId9Hfx/R2tHhBsKVDw+d9mJ8nri lUCQE0HovWalBWZT9elKK/wUbv5Q5p5ASjV34= 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=XKmukQGNH4/PJUVoZncY3e3evCcSE+5k9i3XuU2SS0nc1zzWgimFTA2pgt033BsIEK OaSvaPTiFWIDHlJTc/CZgHCoX36FFI8fmgGZbkPSqmHSA0BJhFHiPUVCHCU2HH+pMHlK Q3OXkN5u3iwuxlaESSxd/odDUgu4OQ2pN3kJ4= MIME-Version: 1.0 Received: by 10.224.188.134 with SMTP id da6mr5032938qab.368.1288327567102; Thu, 28 Oct 2010 21:46:07 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.220.180.2 with HTTP; Thu, 28 Oct 2010 21:46:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Oct 2010 21:46:07 -0700 X-Google-Sender-Auth: MngorfUTgS4KwvP_N2KydGAj21c Message-ID: From: Artem Belevich To: Rumen Telbizov Content-Type: text/plain; charset=ISO-8859-1 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 04:46:08 -0000 > 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