zfs corruption after controller failure

Fervent Dissent walkerindarkness at gmail.com
Tue Jan 6 14:58:40 UTC 2015


I have a external disk that was on a cheap usb controller, that controller
died. At first zpool status showed a fault and I could find the pool. After
a new cable, not usb, I couldn't import it no matter the combination of
flags and switches. Nothing I found helped, but I managed to get it to give
me some information back. I found some old posts on "labelfix" and manual
moving labels, but I'm not willing to do that yet. It is on an esata
connection now, so ada1.

Thanks for the help,
Jason

# uname -v
FreeBSD 10.1-PRERELEASE #3 r273269: Sun Oct 19 20:13:23 CST 2014
root at satellite:/usr/obj/usr/src/sys/TWILIGHT

# ls /dev/diskid/
DISK-Z050B3VV

from dmesg
ada1 at ahcich3 bus 0 scbus3 target 0 lun 0
ada1: <ST1000LM002-9VQ14L CC94> ATA-8 SATA 2.x device
ada1: Serial Number Z050B3VV
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad10


# gpart show ada1
=>        63  1953525105  ada1  MBR  (932G)
          63  1953525105        - free -  (932G)

# gpart list ada1
Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 1953525167
first: 63
entries: 4
scheme: MBR
Consumers:
1. Name: ada1
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0



# zdb -lu /dev/ada1
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
Uberblock[0]
magic = 0000000000bab10c
version = 5000
txg = 3697688
guid_sum = 13899651479099793827
timestamp = 1420437689 UTC = Mon Jan  5 14:01:29 2015
Uberblock[4]
magic = 0000000000bab10c
version = 5000
txg = 3697657
guid_sum = 13899651479099793827
timestamp = 1420437534 UTC = Mon Jan  5 13:58:54 2015
Uberblock[8]
magic = 0000000000bab10c
version = 5000
txg = 3697658
guid_sum = 13899651479099793827
timestamp = 1420437539 UTC = Mon Jan  5 13:58:59 2015
Uberblock[12]
magic = 0000000000bab10c
version = 5000
txg = 3697659
guid_sum = 13899651479099793827
timestamp = 1420437544 UTC = Mon Jan  5 13:59:04 2015
Uberblock[16]
magic = 0000000000bab10c
version = 5000
txg = 3697660
guid_sum = 13899651479099793827
timestamp = 1420437549 UTC = Mon Jan  5 13:59:09 2015
Uberblock[20]
magic = 0000000000bab10c
version = 5000
txg = 3697661
guid_sum = 13899651479099793827
timestamp = 1420437554 UTC = Mon Jan  5 13:59:14 2015
Uberblock[24]
magic = 0000000000bab10c
version = 5000
txg = 3697662
guid_sum = 13899651479099793827
timestamp = 1420437559 UTC = Mon Jan  5 13:59:19 2015
Uberblock[28]
magic = 0000000000bab10c
version = 5000
txg = 3697663
guid_sum = 13899651479099793827
timestamp = 1420437564 UTC = Mon Jan  5 13:59:24 2015
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3
Uberblock[0]
magic = 0000000000bab10c
version = 5000
txg = 3697688
guid_sum = 13899651479099793827
timestamp = 1420437689 UTC = Mon Jan  5 14:01:29 2015
Uberblock[4]
magic = 0000000000bab10c
version = 5000
txg = 3697657
guid_sum = 13899651479099793827
timestamp = 1420437534 UTC = Mon Jan  5 13:58:54 2015
Uberblock[8]
magic = 0000000000bab10c
version = 5000
txg = 3697658
guid_sum = 13899651479099793827
timestamp = 1420437539 UTC = Mon Jan  5 13:58:59 2015
Uberblock[12]
magic = 0000000000bab10c
version = 5000
txg = 3697659
guid_sum = 13899651479099793827
timestamp = 1420437544 UTC = Mon Jan  5 13:59:04 2015
Uberblock[16]
magic = 0000000000bab10c
version = 5000
txg = 3697660
guid_sum = 13899651479099793827
timestamp = 1420437549 UTC = Mon Jan  5 13:59:09 2015
Uberblock[20]
magic = 0000000000bab10c
version = 5000
txg = 3697661
guid_sum = 13899651479099793827
timestamp = 1420437554 UTC = Mon Jan  5 13:59:14 2015
Uberblock[24]
magic = 0000000000bab10c
version = 5000
txg = 3697662
guid_sum = 13899651479099793827
timestamp = 1420437559 UTC = Mon Jan  5 13:59:19 2015
Uberblock[28]
magic = 0000000000bab10c
version = 5000
txg = 3697663
guid_sum = 13899651479099793827
timestamp = 1420437564 UTC = Mon Jan  5 13:59:24 2015


More information about the freebsd-fs mailing list