Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 15:27:57 +0000
From:      Baldur Gislason <baldur@foo.is>
To:        freebsd-fs@freebsd.org
Subject:   ZFS and reordering drives
Message-ID:  <20091205152757.GK73250@gremlin.foo.is>

next in thread | raw e-mail | index | archive | help
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 <WDC WD10EADS-00L5B1 01.01A01> at ata2-master SATA300
ad6: 953869MB <WDC WD10EADS-00L5B1 01.01A01> at ata3-master SATA300
ad11: 381554MB <Hitachi HDT725040VLAT80 V5COA42A> at ata5-slave UDMA133
ad12: 381554MB <Hitachi HDT725040VLAT80 V5COA42A> at ata6-master UDMA133
ad13: 381554MB <SAMSUNG HD400LD WQ100-14> at ata6-slave UDMA100
ad14: 152626MB <WDC WD1600AAJS-00B4A0 01.03A01> at ata7-master SATA300
ad15: 381554MB <Seagate ST3400620AS 3.AAK> at ata7-slave SATA150
ad16: 476940MB <WDC WD5000AAJS-00A8B0 01.03B01> at ata8-master SATA300
ad17: 381554MB <Seagate ST3400620AS 3.AAK> at ata8-slave SATA150
ad18: 953868MB <WDC WD10EADS-00L5B1 01.01A01> at ata9-master SATA300
ad20: 953869MB <WDC WD10EADS-00L5B1 01.01A01> at ata10-master SATA300




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091205152757.GK73250>