I have a a problem with zpool import after having 
problems with 2 disks in RAID 5 (hardware raid). There are some bad blocks on 
that disks.

#zpool import
..
state: FAULTED
status: The pool metadata is corrupted.
..

#zdb -l /dev/rdsk/c4t600C0FF00000000009258F4855B59001d0s0
   is OK.

I managed to find that uberblock is ok, but import fails on reading first 
dataset.

All 3 blocks gots checksum error ( output from mdb ).

> 0x495ef80::print -a -t mirror_map_t mm_child[0]
{
    495ef90 vdev_t *mm_child[0].mc_vd = 0x49b20c0
    495ef98 uint64_t mm_child[0].mc_offset = 0x2023216000
    495efa0 int mm_child[0].mc_error = 0x32
    495efa4 short mm_child[0].mc_tried = 0x1
    495efa6 short mm_child[0].mc_skipped = 0
}

> 0x495ef80::print -a -t mirror_map_t mm_child[1]
{
    495efa8 vdev_t *mm_child[1].mc_vd = 0x49b20c0
    495efb0 uint64_t mm_child[1].mc_offset = 0x166234f3a00
    495efb8 int mm_child[1].mc_error = 0x32
    495efbc short mm_child[1].mc_tried = 0x1
    495efbe short mm_child[1].mc_skipped = 0
}

> 0x495ef80::print -a -t mirror_map_t mm_child[2]
{
    495efc0 vdev_t *mm_child[2].mc_vd = 0x49b20c0
    495efc8 uint64_t mm_child[2].mc_offset = 0x2ba4ac88a00
    495efd0 int mm_child[2].mc_error = 0x32
    495efd4 short mm_child[2].mc_tried = 0x1
    495efd6 short mm_child[2].mc_skipped = 0
}

What can I do to get my data back ?

Is there a way to import zpool using other uberblock ( from previous txg ) ?

--Lukas Karwacki
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to