LyeBeng Ong wrote:> I made a bad judgment and now my raidz pool is corrupted. I have a raidz
pool running on Opensolaris b85. I wanted to try out freenas 0.7 and tried to
add my pool to freenas.
>
> After adding the zfs disk, vdev and pool. I decided to back out and went
back to opensolaris. Now my raidz pool will not mount and got the following
errors. Hope someone expert can help me recover from this error.
>
The symptoms are consistent with a repartitioning of the disk
event. First check that the disks are labeled now as they were
originally.
When you run zdb -l, make sure you use the same devices as
before. For example,
zdb -l /dev/rdsk/c2d0
(see below) is not the same as:
zdb -l /dev/dsk/c2d0s0
which is where ZFS thinks the data should be.
Also, /dev/ad10 is something I don''t recognize... what is it?
-- richard
> root at cempedak:/dev/rdsk# zpool status
> pool: syspool
> state: ONLINE
> scrub: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> syspool ONLINE 0 0 0
> c1d0s0 ONLINE 0 0 0
>
> errors: No known data errors
>
> pool: tank
> state: FAULTED
> status: The pool metadata is corrupted and the pool cannot be opened.
> action: Destroy and re-create the pool from a backup source.
> see: http://www.sun.com/msg/ZFS-8000-72
> scrub: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> tank FAULTED 0 0 4 corrupted data
> raidz1 ONLINE 0 0 4
> c2d0 ONLINE 0 0 0
> c2d1 ONLINE 0 0 0
> c3d0 ONLINE 0 0 0
> c3d1 ONLINE 0 0 0
> root at cempedak:/dev/rdsk#
>
> root at cempedak:/dev/rdsk# zdb -vvv
> syspool
> version=10
> name=''syspool''
> state=0
> txg=13
> pool_guid=7417064082496892875
> hostname=''elatte_installcd''
> vdev_tree
> type=''root''
> id=0
> guid=7417064082496892875
> children[0]
> type=''disk''
> id=0
> guid=16996723219710622372
> path=''/dev/dsk/c1d0s0''
> devid=''id1,cmdk at
AST3160812AS=____________9LS6M819/a''
> phys_path=''/pci at 0,0/pci-ide at e/ide at 0/cmdk
at 0,0:a''
> whole_disk=0
> metaslab_array=14
> metaslab_shift=30
> ashift=9
> asize=158882856960
> is_log=0
> tank
> version=10
> name=''tank''
> state=0
> txg=9305484
> pool_guid=6165551123815947851
> hostname=''cempedak''
> vdev_tree
> type=''root''
> id=0
> guid=6165551123815947851
> children[0]
> type=''raidz''
> id=0
> guid=18029757455913565148
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280228458496
> is_log=0
> children[0]
> type=''disk''
> id=0
> guid=14740261559114907785
> path=''/dev/dsk/c2d0s0''
> devid=''id1,cmdk at
AST3320620AS=____________3QF0WLTV/a''
> phys_path=''/pci at 0,0/pci10de,26f at
10/pci-ide at 8/ide at 0/cmdk at 0,0:a''
> whole_disk=1
> children[1]
> type=''disk''
> id=1
> guid=7618479640615121644
> path=''/dev/dsk/c2d1s0''
> devid=''id1,cmdk at
AST3320620AS=____________3QF0YZEM/a''
> phys_path=''/pci at 0,0/pci10de,26f at
10/pci-ide at 8/ide at 0/cmdk at 1,0:a''
> whole_disk=1
> children[2]
> type=''disk''
> id=2
> guid=1801493855297946488
> path=''/dev/dsk/c3d0s0''
> devid=''id1,cmdk at
AST3320620AS=____________3QF0PGBS/a''
> phys_path=''/pci at 0,0/pci10de,26f at
10/pci-ide at 8/ide at 1/cmdk at 0,0:a''
> whole_disk=1
> children[3]
> type=''disk''
> id=3
> guid=15710901655082836445
> path=''/dev/dsk/c3d1s0''
> devid=''id1,cmdk at
AST3320620AS=____________3QF0VABG/a''
> phys_path=''/pci at 0,0/pci10de,26f at
10/pci-ide at 8/ide at 1/cmdk at 1,0:a''
> whole_disk=1
> root at cempedak:/dev/rdsk#
>
> root at cempedak:/dev/rdsk# zdb -l /dev/rdsk/c2d0
> --------------------------------------------
> LABEL 0
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=15107016125503765553
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 1
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=15107016125503765553
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 2
> --------------------------------------------
> failed to unpack label 2
> --------------------------------------------
> LABEL 3
> --------------------------------------------
> failed to unpack label 3
> root at cempedak:/dev/rdsk#
>
> root at cempedak:/dev/rdsk# zdb -l /dev/rdsk/c2d1
> --------------------------------------------
> LABEL 0
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=11315967116113415008
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 1
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=11315967116113415008
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 2
> --------------------------------------------
> failed to unpack label 2
> --------------------------------------------
> LABEL 3
> --------------------------------------------
> failed to unpack label 3
> root at cempedak:/dev/rdsk#
>
> root at cempedak:/dev/rdsk# zdb -l /dev/rdsk/c3d0
> --------------------------------------------
> LABEL 0
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=550142777835149292
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 1
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=550142777835149292
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 2
> --------------------------------------------
> failed to unpack label 2
> --------------------------------------------
> LABEL 3
> --------------------------------------------
> failed to unpack label 3
> root at cempedak:/dev/rdsk#
>
> root at cempedak:/dev/rdsk# zdb -l /dev/rdsk/c3d1
> --------------------------------------------
> LABEL 0
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=4506299097155628566
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 1
> --------------------------------------------
> version=6
> name=''tank''
> state=2
> txg=14
> pool_guid=11155694179612409655
> hostid=0
> hostname=''cempedak.local''
> top_guid=17207490567963887885
> guid=4506299097155628566
> vdev_tree
> type=''raidz''
> id=0
> guid=17207490567963887885
> nparity=1
> metaslab_array=14
> metaslab_shift=33
> ashift=9
> asize=1280272498688
> children[0]
> type=''disk''
> id=0
> guid=550142777835149292
> path=''/dev/ad10''
> devid=''ad:3QF0PGBS''
> whole_disk=0
> children[1]
> type=''disk''
> id=1
> guid=11315967116113415008
> path=''/dev/ad12''
> devid=''ad:3QF0YZEM''
> whole_disk=0
> children[2]
> type=''disk''
> id=2
> guid=4506299097155628566
> path=''/dev/ad14''
> devid=''ad:3QF0VABG''
> whole_disk=0
> children[3]
> type=''disk''
> id=3
> guid=15107016125503765553
> path=''/dev/ad8''
> devid=''ad:3QF0WLTV''
> whole_disk=0
> --------------------------------------------
> LABEL 2
> --------------------------------------------
> failed to unpack label 2
> --------------------------------------------
> LABEL 3
> --------------------------------------------
> failed to unpack label 3
> root at cempedak:/dev/rdsk#
> --
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>