Hi,

I need to import a zpool but it does not show any pool:

[b]# zpool import
no pools available to import[/b]


And when I try zpool status:


[b]# zpool status[/b]
  pool: raid
 state: UNAVAIL
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://www.sun.com/msg/ZFS-8000-D3
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        raid        UNAVAIL      0     0     0  insufficient replicas
          c2t0d0    UNAVAIL      0     0     0  cannot open


What does it mean UNAVAILABLE ? If I try the  "format" command it shows all the 
drives which are available:

[b]# format[/b]
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t5d0 <DEFAULT cyl 2548 alt 2 hd 255 sec 63>
          /[EMAIL PROTECTED],0/pci8086,[EMAIL PROTECTED]/pci103c,[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
       1. c2t0d0 <LSI-MegaRAID 8888ELP-1.10-5.45TB>
          /[EMAIL PROTECTED],0/pci8086,[EMAIL PROTECTED]/pci1000,[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
       2. c2t1d0 <LSI-MegaRAID 8888ELP-1.10-2.04TB>
          /[EMAIL PROTECTED],0/pci8086,[EMAIL PROTECTED]/pci1000,[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
Specify disk (enter its number): ^C


How should I import this zpool ? I also try to bring the pool online:


[b]# zpool online raid0 c2t0[/b]d0
cannot open 'raid0': pool is unavailable


I also check the disk with:


[b]# zdb -l /dev/dsk/c2t0d0s0[/b]
--------------------------------------------
LABEL 0
--------------------------------------------
    version=4
    name='raid'
    state=0
    txg=4
    pool_guid=8739907486845981885
    top_guid=12531544435228395821
    guid=12531544435228395821
    vdev_tree
        type='disk'
        id=0
        guid=12531544435228395821
        path='/dev/dsk/c2t0d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=35
        ashift=9
        asize=5991986102272
--------------------------------------------
LABEL 1
--------------------------------------------
    version=4
    name='raid'
    state=0
    txg=4
    pool_guid=8739907486845981885
    top_guid=12531544435228395821
    guid=12531544435228395821
    vdev_tree
        type='disk'
        id=0
        guid=12531544435228395821
        path='/dev/dsk/c2t0d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=35
        ashift=9
        asize=5991986102272
--------------------------------------------
LABEL 2
--------------------------------------------
    version=4
    name='raid'
    state=0
    txg=4
    pool_guid=8739907486845981885
    top_guid=12531544435228395821
    guid=12531544435228395821
    vdev_tree
        type='disk'
        id=0
        guid=12531544435228395821
        path='/dev/dsk/c2t0d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=35
        ashift=9
        asize=5991986102272
--------------------------------------------
LABEL 3
--------------------------------------------
    version=4
    name='raid'
    state=0
    txg=4
    pool_guid=8739907486845981885
    top_guid=12531544435228395821
    guid=12531544435228395821
    vdev_tree
        type='disk'
        id=0
        guid=12531544435228395821
        path='/dev/dsk/c2t0d0s0'
        devid='id1,[EMAIL PROTECTED]/a'
        whole_disk=1
        metaslab_array=14
        metaslab_shift=35
        ashift=9
        asize=5991986102272


Please any help or advice will be great.
Thank you.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to