I tried to rename and import rpool and to use those /etc/system settings,
but without success. :-(

I've tried also to do this use installed OpenSolaris 5.11 snv_111b and I
have the same result as with Solaris 10.

vladi...@opensolaris:~# zpool import
  pool: rpool
    id: 8451126758019843293
 state: DEGRADED
status: The pool was last accessed by another system.
action: The pool can be imported despite missing or damaged devices.  The
    fault tolerance of the pool may be compromised if imported.
   see: http://www.sun.com/msg/ZFS-8000-EY
config:

    rpool        DEGRADED
      mirror     DEGRADED
        c8d0s0   UNAVAIL  cannot open
        c10d0s0  ONLINE

Command "zpool import -f 8451126758019843293 rpool2" didn't change the name
of the pool in rpool2, but it updated labels with hostid before server
kernel panic came:

old labels have:

hostid=459264558
hostname=''

new label have:

hostid=12870168
hostname='opensolaris'

I didn't notice other changes in labels.

I'm lost now but I still have a hope that I will be able to recover and
import this rpool.

Is there any other possibility to test and to check zfs consistency for this
pool using some tools as zdb. The problem is hat system is panic and
rebooting. So I'm not sure how to check and catch those outputs because I
have several seconds, to monitor "zpool import" PID.

Please find below a messages output in the moment of hanging and the labels
list at the end.

Regards,
Vladimir

<cut>
vladi...@opensolaris:/# less /var/adm/messages
Aug 13 06:34:32 opensolaris zfs: [ID 517898 kern.warning] WARNING: can't
open objset for rpool2/ROOT/s10x_u6wos_07b
Aug 13 06:34:32 opensolaris unix: [ID 836849 kern.notice]
Aug 13 06:34:32 opensolaris ^Mpanic[cpu1]/thread=d507edc0:
Aug 13 06:34:32 opensolaris genunix: [ID 697804 kern.notice]
vmem_hash_delete(d2404690, fe9471bf, 1411362336): bad free
Aug 13 06:34:32 opensolaris unix: [ID 100000 kern.notice]
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ea28
genunix:vmem_hash_delete+d2 (d2404690, fe9471bf,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ea68
genunix:vmem_xfree+29 (d2404690, fe9471bf,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ea88
genunix:vmem_free+21 (d2404690, fe9471bf,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507eac8
genunix:kmem_free+36 (fe9471bf, 541fae20,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507eb08
zfs:dmu_buf_rele_array+a6 (fe9471bf, d507eb88,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507eb68
zfs:dmu_write+160 (d6d19a98, be, 0, 98)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ec08
zfs:space_map_sync+304 (dee3a838, 1, dee3a6)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ec78
zfs:metaslab_sync+284 (dee3a680, 970be, 0,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ecb8
zfs:vdev_sync+c6 (dd858000, 970be, 0)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507ed28
zfs:spa_sync+3d0 (d9fcf700, 970be, 0,)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507eda8
zfs:txg_sync_thread+308 (e5914380, 0)
Aug 13 06:34:32 opensolaris genunix: [ID 353471 kern.notice] d507edb8
unix:thread_start+8 ()
Aug 13 06:34:32 opensolaris unix: [ID 100000 kern.notice]
Aug 13 06:34:32 opensolaris genunix: [ID 672855 kern.notice] syncing file
systems...
Aug 13 06:34:32 opensolaris genunix: [ID 904073 kern.notice]  done
Aug 13 06:34:33 opensolaris genunix: [ID 111219 kern.notice] dumping to
/dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
Aug 13 06:34:50 opensolaris genunix: [ID 409368 kern.notice] ^M100% done:
122747 pages dumped, compression ratio 1.87,
Aug 13 06:34:50 opensolaris genunix: [ID 851671 kern.notice] dump succeeded
Aug 13 06:35:21 opensolaris genunix: [ID 540533 kern.notice] ^MSunOS Release
5.11 Version snv_111b 32-bit
Aug 13 06:35:21 opensolaris genunix: [ID 943908 kern.notice] Copyright
1983-2009 Sun Microsystems, Inc.  All rights reserved.


vladi...@opensolaris:/# zdb -l /dev/dsk/c10d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
    version=10
    name='rpool'
    state=0
    txg=618685
    pool_guid=8451126758019843293
    hostid=12870168
    hostname='opensolaris'
    top_guid=12565539731591116699
    guid=7091554162966221179
    vdev_tree
        type='mirror'
        id=0
        guid=12565539731591116699
        whole_disk=0
        metaslab_array=15
        metaslab_shift=31
        ashift=9
        asize=400031744000
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=12840919567323880481
                path='/dev/dsk/c8d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1259386/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@0/c...@0,0:a'
                whole_disk=0
                DTL=71
        children[1]
                type='disk'
                id=1
                guid=7091554162966221179
                path='/dev/dsk/c9d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1346334/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@1/c...@0,0:a'
                whole_disk=0
                DTL=70
--------------------------------------------
LABEL 1
--------------------------------------------
    version=10
    name='rpool'
    state=0
    txg=618685
    pool_guid=8451126758019843293
    hostid=12870168
    hostname='opensolaris'
    top_guid=12565539731591116699
    guid=7091554162966221179
    vdev_tree
        type='mirror'
        id=0
        guid=12565539731591116699
        whole_disk=0
        metaslab_array=15
        metaslab_shift=31
        ashift=9
        asize=400031744000
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=12840919567323880481
                path='/dev/dsk/c8d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1259386/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@0/c...@0,0:a'
                whole_disk=0
                DTL=71
        children[1]
                type='disk'
                id=1
                guid=7091554162966221179
                path='/dev/dsk/c9d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1346334/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@1/c...@0,0:a'
                whole_disk=0
                DTL=70
--------------------------------------------
LABEL 2
--------------------------------------------
    version=10
    name='rpool'
    state=0
    txg=618685
    pool_guid=8451126758019843293
    hostid=12870168
    hostname='opensolaris'
    top_guid=12565539731591116699
    guid=7091554162966221179
    vdev_tree
        type='mirror'
        id=0
        guid=12565539731591116699
        whole_disk=0
        metaslab_array=15
        metaslab_shift=31
        ashift=9
        asize=400031744000
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=12840919567323880481
                path='/dev/dsk/c8d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1259386/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@0/c...@0,0:a'
                whole_disk=0
                DTL=71
        children[1]
                type='disk'
                id=1
                guid=7091554162966221179
                path='/dev/dsk/c9d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1346334/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@1/c...@0,0:a'
                whole_disk=0
                DTL=70
--------------------------------------------
LABEL 3
--------------------------------------------
    version=10
    name='rpool'
    state=0
    txg=618685
    pool_guid=8451126758019843293
    hostid=12870168
    hostname='opensolaris'
    top_guid=12565539731591116699
    guid=7091554162966221179
    vdev_tree
        type='mirror'
        id=0
        guid=12565539731591116699
        whole_disk=0
        metaslab_array=15
        metaslab_shift=31
        ashift=9
        asize=400031744000
        is_log=0
        children[0]
                type='disk'
                id=0
                guid=12840919567323880481
                path='/dev/dsk/c8d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1259386/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@0/c...@0,0:a'
                whole_disk=0
                DTL=71
        children[1]
                type='disk'
                id=1
                guid=7091554162966221179
                path='/dev/dsk/c9d0s0'
                devid='id1,c...@awdc_wd4000yr-01plb0=_____wd-wmamy1346334/a'
                phys_path='/p...@0,0/pci-...@1f,2/i...@1/c...@0,0:a'
                whole_disk=0
                DTL=70
</cut>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to