Hi,
I just reinstall my machine with onnv build75. When I try to import the zfs, I 
meet an error. The pool is created with a slice c1t1d0s7 and a whole disk 
c1t2d0s0. How do I fix the error? Below is the output from zpool and zdb.

# zpool import
  pool: tank
    id: 8219303556773256880
 state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
        devices and try again.
   see: http://www.sun.com/msg/ZFS-8000-6X
config:

        tank        UNAVAIL  missing device
          c1t2d0    ONLINE

        Additional devices are known to be part of this pool, though their
        exact configuration cannot be determined.
volams:/ 112 # zdb -l /dev/dsk/c1t1d0s7
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
--------------------------------------------
LABEL 2
--------------------------------------------
    version=3
    name='tank'
    state=0
    txg=44
    pool_guid=8219303556773256880
    top_guid=1191595199136351517
    guid=1191595199136351517
    vdev_tree
        type='disk'
        id=1
        guid=1191595199136351517
        path='/dev/dsk/c1t1d0s7'
        devid='id1,[EMAIL PROTECTED]/h'
        whole_disk=0
        metaslab_array=18
        metaslab_shift=29
        ashift=9
        asize=58707935232
--------------------------------------------
LABEL 3
--------------------------------------------
    version=3
    name='tank'
    state=0
    txg=44
    pool_guid=8219303556773256880
    top_guid=1191595199136351517
    guid=1191595199136351517
    vdev_tree
        type='disk'
        id=1
        guid=1191595199136351517
        path='/dev/dsk/c1t1d0s7'
        devid='id1,[EMAIL PROTECTED]/h'
        whole_disk=0
        metaslab_array=18
        metaslab_shift=29
        ashift=9
        asize=58707935232
volams:/ 113 # zdb -l /dev/dsk/c1t2d0s2
cannot open '/dev/dsk/c1t2d0s2': I/O error
volams:/ 114 # zdb -l /dev/dsk/c1t2d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
    version=3
    name='tank'
    state=0
    txg=43
    pool_guid=8219303556773256880
    top_guid=4844356610838567439
    guid=4844356610838567439
    vdev_tree
        type='disk'
        id=0
        guid=4844356610838567439
        path='/dev/dsk/c1t2d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=29
        ashift=9
        asize=73394552832
--------------------------------------------
LABEL 1
--------------------------------------------
    version=3
    name='tank'
    state=0
    txg=43
    pool_guid=8219303556773256880
    top_guid=4844356610838567439
    guid=4844356610838567439
    vdev_tree
        type='disk'
        id=0
        guid=4844356610838567439
        path='/dev/dsk/c1t2d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=29
        ashift=9
        asize=73394552832
--------------------------------------------
LABEL 2
--------------------------------------------
    version=3
    name='tank'
    state=0
    txg=43
    pool_guid=8219303556773256880
    top_guid=4844356610838567439
    guid=4844356610838567439
    vdev_tree
        type='disk'
        id=0
        guid=4844356610838567439
        path='/dev/dsk/c1t2d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=29
        ashift=9
        asize=73394552832
--------------------------------------------
LABEL 3
--------------------------------------------
    version=3
    name='tank'
    state=0
    txg=43
    pool_guid=8219303556773256880
    top_guid=4844356610838567439
    guid=4844356610838567439
    vdev_tree
        type='disk'
        id=0
        guid=4844356610838567439
        path='/dev/dsk/c1t2d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=29
        ashift=9
        asize=73394552832


thanks
Mike
 
 
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