From owner-freebsd-fs@FreeBSD.ORG Sat Dec 5 15:43:47 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 7E3E6106566B for ; Sat, 5 Dec 2009 15:43:47 +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 46ACF8FC0A for ; Sat, 5 Dec 2009 15:43:47 +0000 (UTC) Received: by gremlin.foo.is (Postfix, from userid 1000) id B66ABDA85D; Sat, 5 Dec 2009 15:27:57 +0000 (GMT) Date: Sat, 5 Dec 2009 15:27:57 +0000 From: Baldur Gislason To: freebsd-fs@freebsd.org Message-ID: <20091205152757.GK73250@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: ZFS and reordering drives 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: Sat, 05 Dec 2009 15:43:47 -0000 I have a machine running 8.0-STABLE amd64 since last week, it was upgraded from 7.2. Today I had a problem with the system hard drive and had to unplug all the drives to get to it. When I plugged them back in they didn't go in the right order and now both of my pools are broken. I rearranged the cables in what I think is the right order but still no go. One pool says all drives are online but the pool is broken. The other lists ad13 twice in the list and ignores ad12, running in degraded mode. What should I do? Baldur zroot@enigma:~# zpool status pool: zirconium state: UNAVAIL status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM zirconium UNAVAIL 0 0 0 insufficient replicas raidz1 UNAVAIL 0 0 0 corrupted data ad4 ONLINE 0 0 0 ad6 ONLINE 0 0 0 ad18 ONLINE 0 0 0 ad20 ONLINE 0 0 0 pool: zorglub state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the device using 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-4J scrub: none requested config: NAME STATE READ WRITE CKSUM zorglub DEGRADED 0 0 0 raidz1 DEGRADED 0 0 0 ad15 ONLINE 0 0 0 ad11 ONLINE 0 0 0 ad13 ONLINE 0 0 0 ad17 ONLINE 0 0 0 ad13 FAULTED 0 169 0 corrupted data errors: No known data errors from dmesg: ad4: 953869MB at ata2-master SATA300 ad6: 953869MB at ata3-master SATA300 ad11: 381554MB at ata5-slave UDMA133 ad12: 381554MB at ata6-master UDMA133 ad13: 381554MB at ata6-slave UDMA100 ad14: 152626MB at ata7-master SATA300 ad15: 381554MB at ata7-slave SATA150 ad16: 476940MB at ata8-master SATA300 ad17: 381554MB at ata8-slave SATA150 ad18: 953868MB at ata9-master SATA300 ad20: 953869MB at ata10-master SATA300