Hi

I'm using fairly stock S10, but this is really just a zfs/zpool question.

#  uname -a
SunOS peach 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Blade-100


Misremembering the option to file for handling special files (-s), I executed 
the following:

#  file -m /dev/dsk/c*s2

My shell would have expanded this as follows:

#  ls /dev/dsk/c*s2
/dev/dsk/c0t0d0s2  /dev/dsk/c0t1d0s2  /dev/dsk/c0t2d0s2

This is a SB100 with 2 disks.  c0t2d0 has the OS and other partitions, c0t2d0 
is the CDROM.

The other disk was one large, single disk,  zpool.  It's not mountable now.

#  zpool status -v
  pool: tank
 state: FAULTED
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
        tank        UNAVAIL      0     0     0  insufficient replicas
          c0t0d0    UNAVAIL      0     0     0  cannot open


Not knowing what the "file -m ..." command might have done, I wonder if this 
situation is recoverable?  Looking at the smf logs I see that my pool (tank) is 
at least recognized a bit:

# fmdump -eV 
....
Feb 09 2007 16:41:46.082264521 ereport.fs.zfs.vdev.open_failed
nvlist version: 0
        class = ereport.fs.zfs.vdev.open_failed
        ena = 0x101638757400001
        detector = (embedded nvlist)
        nvlist version: 0
                version = 0x0
                scheme = zfs
                pool = 0x347b6d721b99340d
                vdev = 0xa7f43f56535e14a8
        (end detector)

        pool = tank
        pool_guid = 0x347b6d721b99340d
        pool_context = 1
        vdev_guid = 0xa7f43f56535e14a8
        vdev_type = disk
        vdev_path = /dev/dsk/c0t0d0s0
        vdev_devid = id1,[EMAIL PROTECTED]/a
        parent_guid = 0x347b6d721b99340d
        parent_type = root
        prev_state = 0x1
        __ttl = 0x1
        __tod = 0x45cc963a 0x4e741c9

Feb 09 2007 16:41:46.082265280 ereport.fs.zfs.zpool
nvlist version: 0
        class = ereport.fs.zfs.zpool
        ena = 0x101638757400001
        detector = (embedded nvlist)
        nvlist version: 0
                version = 0x0
                scheme = zfs
                pool = 0x347b6d721b99340d
        (end detector)

        pool = tank
        pool_guid = 0x347b6d721b99340d
        pool_context = 1
        __ttl = 0x1
        __tod = 0x45cc963a 0x4e744c0

Any ideas/suggestions?

Kevin
 
 
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