Date: Wed, 24 Jun 2015 21:14:15 -0400 From: Bob Void <egor.gabin@outlook.com> To: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Faulted pool Message-ID: <COL129-W6079B919E4A8AE8E1A56588EAE0@phx.gbl>
next in thread | raw e-mail | index | archive | help
Hi All, Yes the mess I am in is all my fault. I have no one to blame but myself and I am trying to fix this myself. I have reached a point where i need help from the community.
Here is my situation. Freenas 9.2.0.1 running on Freebsd 9.2-Release-p4
Faulted raidz pool called bubbapool is made up of 2TB SATA seagate 1/4 drives is not being recognized by the bios.I was able to clone two of the drive using DDRESCUE and the third had bad 1.5mb in bad sectors but was cloned. in the process of using ddrescue for the first time I overwrote the USB card where freenas was run from so I had to go to the next version and imported a config backup from a few months past.
I think I need to go back to a good uberblock but i dont know how to compile code.
Details below.
antnas: ~ # camcontrol devlist
<ST2000DM001-1ER164 CC25> at scbus0 target 0 lun 0 (ada0,pass0)
<ST2000DM001-1ER164 CC25> at scbus1 target 0 lun 0 (ada1,pass1)
<ST2000DM001-1ER164 CC25> at scbus2 target 0 lun 0 (ada2,pass2)
<ST2000DM001-1ER164 CC25> at scbus3 target 0 lun 0 (ada3,pass3)
<ST4000VN000-1H4168
SC46> at scbus4 target 0 lun
0 (ada4,pass4)
<ST4000VN000-1H4168
SC46> at scbus5 target 0 lun
0 (ada5,pass5)
<ST4000VN000-1H4168
SC46> at scbus6 target 0 lun
0 (ada6,pass6)
<ST4000VN000-1H4168
SC46> at scbus7 target 0 lun
0 (ada7,pass7)
<ST31500341AS
LC1A> at scbus8 target
1 lun 0 (ada8,pass8)
<ST31500341AS
LC1A> at scbus9 target
0 lun 0 (ada9,pass9)
<ST31500341AS
LC1A> at scbus9 target
1 lun 0 (ada10,pass10)
<PNY USB 2.0 FD
1100> at scbus10 target 0
lun 0 (da0,pass11)
antnas: ~ # zpool
import -fV 2272410887342933893
antnas: ~ # zpool
status bubbapool
pool: bubbapool
state: FAULTED
status: One or more
devices could not be opened. There are
insufficient
replicas for the pool to continue
functioning.
action: Attach the
missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-3C
scan: none requested
config:
NAME STATE READ WRITE CKSUM
bubbapool FAULTED 0
0 1
raidz1-0 DEGRADED 0
0 6
ada0 ONLINE 0
0 0 block size: 512B configured, 4096B native
ada2 ONLINE 0
0 0 block size: 512B configured, 4096B native
15427384508884946962 UNAVAIL
0 0 0
was /dev/ada1
ada1 ONLINE 0
0 0 block size: 512B configured, 4096B native
antnas: ~ #
antnas: ~ # zdb -l
/dev/ada0--------------------------------------------LABEL 0-------------------------------------------- version: 5000 name: 'bubbapool' state: 0 txg: 15723793 pool_guid: 2272410887342933893 hostid: 2539134834 hostname: 'antnas.local' top_guid: 12206387516572927959 guid: 5263395365568228054 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 12206387516572927959 nparity: 1 metaslab_array: 14 metaslab_shift: 31 ashift: 9 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2847030196120806336 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 0 DTL: 21 children[1]: type: 'disk' id: 1 guid: 5263395365568228054 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 20 children[2]: type: 'disk' id: 2 guid: 15427384508884946962 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 19 children[3]: type: 'disk' id: 3 guid: 17279438588802848693 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 18 removed: 1 features_for_read:--------------------------------------------LABEL 1-------------------------------------------- version: 5000 name: 'bubbapool' state: 0 txg: 15723793 pool_guid: 2272410887342933893 hostid: 2539134834 hostname: 'antnas.local' top_guid: 12206387516572927959 guid: 5263395365568228054 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 12206387516572927959 nparity: 1 metaslab_array: 14 metaslab_shift: 31 ashift: 9 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2847030196120806336 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 0 DTL: 21 children[1]: type: 'disk' id: 1 guid: 5263395365568228054 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 20 children[2]: type: 'disk' id: 2 guid: 15427384508884946962 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 19 children[3]: type: 'disk' id: 3 guid: 17279438588802848693 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 18 removed: 1 features_for_read:--------------------------------------------LABEL 2--------------------------------------------failed to unpack
label 2--------------------------------------------LABEL 3--------------------------------------------failed to unpack
label 3antnas: ~ # antnas: ~ # dmesg | grep -i ADA0ada0 at siisch0 bus
0 scbus0 target 0 lun 0ada0:
<ST2000DM001-1ER164 CC25> ATA-9 SATA 3.x deviceada0: Serial Number Z4Z26ATWada0: 300.000MB/s
transfers (SATA 2.x, UDMA6, PIO 8192bytes)ada0: Command
Queueing enabledada0: 1907728MB
(3907027055 512 byte sectors: 16H 63S/T 16383C)ada0:
quirks=0x1<4K>ada0: Previously was
known as ad4
antnas: ~ #
antnas: ~ # zdb -l
/dev/ada1--------------------------------------------LABEL 0--------------------------------------------failed to unpack
label 0--------------------------------------------LABEL 1--------------------------------------------failed to unpack
label 1--------------------------------------------LABEL 2--------------------------------------------failed to unpack
label 2--------------------------------------------LABEL 3--------------------------------------------
failed to unpack
label 3
antnas: ~ # dmesg | grep -i ADA1ada1 at siisch1 bus
0 scbus1 target 0 lun 0ada1:
<ST2000DM001-1ER164 CC25> ATA-9 SATA 3.x deviceada1: Serial Number Z8E00BZ3ada1: 300.000MB/s
transfers (SATA 2.x, UDMA6, PIO 8192bytes)ada1: Command
Queueing enabledada1: 1907729MB
(3907029168 512 byte sectors: 16H 63S/T 16383C)ada1:
quirks=0x1<4K>ada1: Previously was
known as ad6ada10 at ata1 bus 0
scbus9 target 1 lun 0ada10:
<ST31500341AS LC1A> ATA-8 SATA 2.x deviceada10: Serial Number
9VS0RWK6ada10: 150.000MB/s
transfers (SATA, UDMA5, PIO 8192bytes)ada10: 1430799MB
(2930277168 512 byte sectors: 16H 63S/T 16383C)ada10: Previously
was known as ad3
antnas: ~ #
antnas: ~ # zdb -l
/dev/ada2--------------------------------------------LABEL 0-------------------------------------------- version: 5000 name: 'bubbapool' state: 0 txg: 15516933 pool_guid: 2272410887342933893 hostname: '' top_guid: 12206387516572927959 guid: 17279438588802848693 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 12206387516572927959 nparity: 1 metaslab_array: 14 metaslab_shift: 31 ashift: 9 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2847030196120806336 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 0 DTL: 21 children[1]: type: 'disk' id: 1 guid: 5263395365568228054 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 20 children[2]: type: 'disk' id: 2 guid: 15427384508884946962 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 19 children[3]: type: 'disk' id: 3 guid: 17279438588802848693 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 18 features_for_read:--------------------------------------------LABEL 1-------------------------------------------- version: 5000 name: 'bubbapool' state: 0 txg: 15516933 pool_guid: 2272410887342933893 hostname: '' top_guid: 12206387516572927959 guid: 17279438588802848693 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 12206387516572927959 nparity: 1 metaslab_array: 14 metaslab_shift: 31 ashift: 9 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2847030196120806336 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 0 DTL: 21 children[1]: type: 'disk' id: 1 guid: 5263395365568228054 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 20 children[2]: type: 'disk' id: 2 guid: 15427384508884946962 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 19 children[3]: type: 'disk' id: 3 guid: 17279438588802848693 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 18 features_for_read:--------------------------------------------LABEL 2--------------------------------------------failed to unpack
label 2--------------------------------------------LABEL 3--------------------------------------------failed to unpack
label 3antnas: ~ # antnas: ~ # dmesg | grep -i ADA2ada2 at siisch2 bus
0 scbus2 target 0 lun 0ada2:
<ST2000DM001-1ER164 CC25> ATA-9 SATA 3.x deviceada2: Serial Number Z4Z21B4Kada2: 300.000MB/s
transfers (SATA 2.x, UDMA6, PIO 8192bytes)ada2: Command
Queueing enabledada2: 1907728MB
(3907027055 512 byte sectors: 16H 63S/T 16383C)ada2:
quirks=0x1<4K>ada2: Previously was
known as ad8
antnas: ~ #
antnas: ~ # zdb -l
/dev/ada3--------------------------------------------LABEL 0-------------------------------------------- version: 5000 name: 'bubbapool' state: 0 txg: 15723793 pool_guid: 2272410887342933893 hostid: 2539134834 hostname: 'antnas.local' top_guid: 12206387516572927959 guid: 2847030196120806336 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 12206387516572927959 nparity: 1 metaslab_array: 14 metaslab_shift: 31 ashift: 9 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2847030196120806336 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 0 DTL: 21 children[1]: type: 'disk' id: 1 guid: 5263395365568228054 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 20 children[2]: type: 'disk' id: 2 guid: 15427384508884946962 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 19 children[3]: type: 'disk' id: 3 guid: 17279438588802848693 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 18 removed: 1 features_for_read:--------------------------------------------LABEL 1-------------------------------------------- version: 5000 name: 'bubbapool' state: 0 txg: 15723793 pool_guid: 2272410887342933893 hostid: 2539134834 hostname: 'antnas.local' top_guid: 12206387516572927959 guid: 2847030196120806336 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 12206387516572927959 nparity: 1 metaslab_array: 14 metaslab_shift: 31 ashift: 9 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2847030196120806336 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 0 DTL: 21 children[1]: type: 'disk' id: 1 guid: 5263395365568228054 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 20 children[2]: type: 'disk' id: 2 guid: 15427384508884946962 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 19 children[3]: type: 'disk' id: 3 guid: 17279438588802848693 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 18 removed: 1 features_for_read:--------------------------------------------LABEL 2--------------------------------------------failed to unpack
label 2--------------------------------------------LABEL 3--------------------------------------------failed to unpack
label 3antnas: ~ # antnas: ~ # dmesg | grep -i ADA3ada3 at siisch3 bus
0 scbus3 target 0 lun 0ada3:
<ST2000DM001-1ER164 CC25> ATA-9 SATA 3.x deviceada3: Serial Number Z4Z276N0ada3: 300.000MB/s
transfers (SATA 2.x, UDMA6, PIO 8192bytes)ada3: Command
Queueing enabledada3: 1907728MB
(3907027055 512 byte sectors: 16H 63S/T 16383C)ada3:
quirks=0x1<4K>
ada3: Previously was
known as ad10
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?COL129-W6079B919E4A8AE8E1A56588EAE0>
