From owner-freebsd-fs@FreeBSD.ORG Sun Dec 27 21:05:49 2009 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 6AF2B1065672 for ; Sun, 27 Dec 2009 21:05:49 +0000 (UTC) (envelope-from stevenschlansker@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 1FC898FC1B for ; Sun, 27 Dec 2009 21:05:49 +0000 (UTC) Received: by yxe1 with SMTP id 1so9098858yxe.3 for ; Sun, 27 Dec 2009 13:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=O5wfgCRqDQ42P4zaWo5J/uPr4uylK4gre/wyZtjPuzo=; b=nKT8E9iYbzUIc1SZIv/wz7zChAeKNGvYRb5xRIpzXCa6rc3V0lb+Ts4gq4uxIhRdg/ 1D4SpHNHhgBMiZAUzfp1ehWamnDEcG2UZqJCc71pb5I5pLta99pij1rO8PHG77sH6Qg8 +Xh0cgMSIHa2CSe2WegQVY9r9lb8PxZiOy5yA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=wvrVdpr4UVvNI/0n5UKcVXxdfuiP3pihcxXiR7xPg6RELfbQBjRQYEtv+8kCeSlt2Q 2dvUUjWYPWE3itALgfpfCmOcT2KKWgTmoiaZ42P3eGSTMrT8YnMCBIimw06pAA2UH3BK fImq69yQ9P1e6VJRP7k04eiz+6f+Hx9/sAC9M= Received: by 10.150.119.3 with SMTP id r3mr11425068ybc.324.1261947941527; Sun, 27 Dec 2009 13:05:41 -0800 (PST) Received: from ?192.168.1.114? (adsl-75-41-56-45.dsl.pltn13.sbcglobal.net [75.41.56.45]) by mx.google.com with ESMTPS id 20sm3868283ywh.17.2009.12.27.13.05.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Dec 2009 13:05:40 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Steven Schlansker In-Reply-To: Date: Sun, 27 Dec 2009 13:05:37 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <5565955F-482A-4628-A528-117C58046B1F@gmail.com> References: <048AF210-8B9A-40EF-B970-E8794EC66B2F@gmail.com> <4B315320.5050504@quip.cz> <5da0588e0912221741r48395defnd11e34728d2b7b97@mail.gmail.com> <9CEE3EE5-2CF7-440E-B5F4-D2BD796EA55C@gmail.com> To: Wes Morgan X-Mailer: Apple Mail (2.1077) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS: Can't repair raidz2 (Cannot replace a replacing device) 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: Sun, 27 Dec 2009 21:05:49 -0000 On Dec 24, 2009, at 5:17 AM, Wes Morgan wrote: > On Wed, 23 Dec 2009, Steven Schlansker wrote: >>=20 >> Why has the replacing vdev not gone away? I still can't detach - >> [steven@universe:~]% sudo zpool detach universe 6170688083648327969 >> cannot detach 6170688083648327969: no valid replicas >> even though now there actually is a valid replica (ad26) >=20 > Try detaching ad26. If it lets you do that it will abort the = replacement and then you just do another replacement with the real = device. If it won't let you do that, you may be stuck having to do some = metadata tricks. >=20 Sadly, no go: pool: universe state: DEGRADED scrub: none requested config: NAME STATE READ WRITE CKSUM universe DEGRADED 0 0 0 raidz2 DEGRADED 0 0 0 ad16 ONLINE 0 0 0 replacing DEGRADED 0 0 5.04K ad26 ONLINE 0 0 0 6170688083648327969 UNAVAIL 0 1.08M 0 was = /dev/ad12 ad8 ONLINE 0 0 0 concat/back2 ONLINE 0 0 0 ad10 ONLINE 0 0 0 concat/ad4ex ONLINE 0 0 0 ad24 ONLINE 0 0 0 concat/ad6ex ONLINE 0 0 0 errors: No known data errors [steven@universe:~]% sudo zpool detach universe ad26 cannot detach ad26: no valid replicas [steven@universe:~]% sudo zpool offline -t universe ad26 cannot offline ad26: no valid replicas