From owner-freebsd-fs@FreeBSD.ORG Fri Aug 21 03:00:43 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 A2D12106568B for ; Fri, 21 Aug 2009 03:00:43 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC018FC5B for ; Fri, 21 Aug 2009 03:00:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=rmac.psg.com) by ran.psg.com with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MeKMs-000ISx-UL; Fri, 21 Aug 2009 03:00:43 +0000 Received: from rmac.wdcguest.wdc.sri.com.psg.com (localhost [127.0.0.1]) by rmac.psg.com (Postfix) with ESMTP id 6D921296D584; Fri, 21 Aug 2009 12:00:42 +0900 (JST) Date: Fri, 21 Aug 2009 12:00:42 +0900 Message-ID: From: Randy Bush To: Andrew Snow In-Reply-To: <4A8E0C80.9030908@modulus.org> References: <4A8E0C80.9030908@modulus.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/22.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-fs Subject: Re: re-adding a replacement into a pool of mirrors 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: Fri, 21 Aug 2009 03:00:43 -0000 > 1. zpool replace -f tank da1s3 # zpool replace -f tank da1s3 cannot replace da1s3 with da1s3: permission denied > 2. zpool offline tank da1s3 ; zpool online tank da1s3 # zpool offline tank da1s3 cannot offline da1s3: no valid replicas but tried anyway # zpool online tank da1s3 warning: device 'da1s3' onlined, but remains in faulted state use 'zpool replace' to replace devices that are no longer present NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 mirror DEGRADED 0 0 0 da0s3 ONLINE 0 0 0 da1s3 REMOVED 0 0 0 randy