Hello,

I had a pool made from a single LUN, which I'll call c4t0d0 for the
purposes of this email.  We replaced it with another LUN, c4t1d0, to
grow the pool size.  Now c4t1d0 is hosed and I'd like to see about
recovering whatever data we can from the original LUN, c4t0d0.

I can still see the ZFS labels on t0 with zdb [1], but it is not
available for importing (even with zpool import -D).  Are there any
tools available for me to tweak the metadata on the old LUN so that I
can import it?  Is there anything else I can try?

I am using Solaris 10 U9, and before anyone says anything, our SAN guys
don't really understand ZFS or else I would have made the pool redundant
in the first place.

Thanks,

James

[1] starlight ~ # zdb -l /dev/dsk/c4t0d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
    version=22
    name='idmtestdb2'
    state=0
    txg=0
    pool_guid=10473782060848894552
    hostid=2237159492
    hostname='starlight.es.gwu.edu'
    top_guid=16179157240083602291
    guid=5824491362217506815
    vdev_children=1
    vdev_tree
        type='replacing'
        id=0
        guid=16179157240083602291
        whole_disk=0
        metaslab_array=23
        metaslab_shift=31
        ashift=9
        asize=268425232384
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=5824491362217506815
                path='/dev/dsk/c4t0d0s0'
                devid='id1,ssd@n0/a'
                phys_path='/scsi_vhci/ssd@g0:a'
                whole_disk=1
                DTL=60
        children[1]
                type='disk'
                id=1
                guid=18335497050081682816
                path='/dev/dsk/c4t1d0s0'
                devid='id1,ssd@n1/a'
                phys_path='/scsi_vhci/ssd@g1:a'
                whole_disk=1
                DTL=254
    create_txg=0
--------------------------------------------
LABEL 1
--------------------------------------------
    version=22
    name='idmtestdb2'
    state=0
    txg=0
    pool_guid=10473782060848894552
    hostid=2237159492
    hostname='starlight.es.gwu.edu'
    top_guid=16179157240083602291
    guid=5824491362217506815
    vdev_children=1
    vdev_tree
        type='replacing'
        id=0
        guid=16179157240083602291
        whole_disk=0
        metaslab_array=23
        metaslab_shift=31
        ashift=9
        asize=268425232384
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=5824491362217506815
                path='/dev/dsk/c4t0d0s0'
                devid='id1,ssd@n0/a'
                phys_path='/scsi_vhci/ssd@g0:a'
                whole_disk=1
                DTL=60
        children[1]
                type='disk'
                id=1
                guid=18335497050081682816
                path='/dev/dsk/c4t1d0s0'
                devid='id1,ssd@n1/a'
                phys_path='/scsi_vhci/ssd@g1:a'
                whole_disk=1
                DTL=254
    create_txg=0
--------------------------------------------
LABEL 2
--------------------------------------------
    version=22
    name='idmtestdb2'
    state=0
    txg=0
    pool_guid=10473782060848894552
    hostid=2237159492
    hostname='starlight.es.gwu.edu'
    top_guid=16179157240083602291
    guid=5824491362217506815
    vdev_children=1
    vdev_tree
        type='replacing'
        id=0
        guid=16179157240083602291
        whole_disk=0
        metaslab_array=23
        metaslab_shift=31
        ashift=9
        asize=268425232384
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=5824491362217506815
                path='/dev/dsk/c4t0d0s0'
                devid='id1,ssd@n0/a'
                phys_path='/scsi_vhci/ssd@g0:a'
                whole_disk=1
                DTL=60
        children[1]
                type='disk'
                id=1
                guid=18335497050081682816
                path='/dev/dsk/c4t1d0s0'
                devid='id1,ssd@n1/a'
                phys_path='/scsi_vhci/ssd@g1:a'
                whole_disk=1
                DTL=254
    create_txg=0
--------------------------------------------
LABEL 3
--------------------------------------------
    version=22
    name='idmtestdb2'
    state=0
    txg=0
    pool_guid=10473782060848894552
    hostid=2237159492
    hostname='starlight.es.gwu.edu'
    top_guid=16179157240083602291
    guid=5824491362217506815
    vdev_children=1
    vdev_tree
        type='replacing'
        id=0
        guid=16179157240083602291
        whole_disk=0
        metaslab_array=23
        metaslab_shift=31
        ashift=9
        asize=268425232384
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=5824491362217506815
                path='/dev/dsk/c4t0d0s0'
                devid='id1,ssd@n0/a'
                phys_path='/scsi_vhci/ssd@g0:a'
                whole_disk=1
                DTL=60
        children[1]
                type='disk'
                id=1
                guid=18335497050081682816
                path='/dev/dsk/c4t1d0s0'
                devid='id1,ssd@n1/a'
                phys_path='/scsi_vhci/ssd@g1:a'
                whole_disk=1
                DTL=254
    create_txg=0
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to