From owner-freebsd-fs@FreeBSD.ORG Wed Mar 17 21:42:36 2010 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 2B6E3106566B for ; Wed, 17 Mar 2010 21:42:36 +0000 (UTC) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.freebsd.org (Postfix) with ESMTP id E7C768FC12 for ; Wed, 17 Mar 2010 21:42:35 +0000 (UTC) Received: by gremlin.foo.is (Postfix, from userid 1000) id 011F5DA855; Wed, 17 Mar 2010 21:42:34 +0000 (GMT) Date: Wed, 17 Mar 2010 21:42:34 +0000 From: Baldur Gislason To: freebsd-fs@freebsd.org Message-ID: <20100317214234.GF63370@gremlin.foo.is> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Frustration: replace not doing what I expected. 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: Wed, 17 Mar 2010 21:42:36 -0000 A drive failed in a pool and I had to replace it. I did zpool replace ad18 ad18, the pool resilvered for 5 hours and finished but did not return from degraded mode. I tried removing the cache file and reimporting the pool, no change, it hasn't gotten rid of the old drive which does not exist anymore. What to do? Baldur pool: zirconium state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: none requested config: NAME STATE READ WRITE CKSUM zirconium DEGRADED 0 0 0 raidz1 DEGRADED 0 0 0 ad4 ONLINE 0 0 0 ad6 ONLINE 0 0 0 replacing DEGRADED 0 0 0 2614810928866691230 UNAVAIL 0 962 0 was /dev/ad18/old ad18 ONLINE 0 0 0 ad20 ONLINE 0 0 0