I have moved the zpool image file to an OpenSolaris machine running 101b.

r...@opensolaris:~# uname -a
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc Solaris

Here I am able to attempt an import of the pool and at least the OS does not 
panic.

r...@opensolaris:~# zpool import -d /mnt
  pool: zones
    id: 17407806223688303760
 state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool upgrade'.
config:

        zones               ONLINE
          /mnt/zpool.zones  ONLINE

But it hangs forever when I actually attempt the import.

r...@opensolaris:~# zpool import -d /mnt -f zones
<never returns>

The thread associated with the import is stuck on txg_wait_synced.

r...@opensolaris:~# echo "0t757::pid2proc|::walk thread|::findstack -v" | mdb -k
stack pointer for thread d6dcc800: d51bdc44
  d51bdc74 swtch+0x195()
  d51bdc84 cv_wait+0x53(d62ef1e6, d62ef1a8, d51bdcc4, fa15f9e1)
  d51bdcc4 txg_wait_synced+0x90(d62ef040, 0, 0, 2)
  d51bdd34 spa_load+0xd0b(d6c1f080, da5dccd8, 2, 1)
  d51bdd84 spa_import_common+0xbd()
  d51bddb4 spa_import+0x18(d6c8f000, da5dccd8, 0, fa187dac)
  d51bdde4 zfs_ioc_pool_import+0xcd(d6c8f000, 0, 0)
  d51bde14 zfsdev_ioctl+0xe0()
  d51bde44 cdev_ioctl+0x31(2d80000, 5a02, 8042450, 100003, da532b28, d51bdf00)
  d51bde74 spec_ioctl+0x6b(d6dbfc80, 5a02, 8042450, 100003, da532b28, d51bdf00)
  d51bdec4 fop_ioctl+0x49(d6dbfc80, 5a02, 8042450, 100003, da532b28, d51bdf00)
  d51bdf84 ioctl+0x171()
  d51bdfac sys_call+0x10c()

There is a corresponding thread stuck on zio_wait.

d5e50de0 fec1dad8        0   0  60 d5cb76c8
  PC: _resume_from_idle+0xb1    THREAD: txg_sync_thread()
  stack pointer for thread d5e50de0: d5e50a58
    swtch+0x195()
    cv_wait+0x53()
    zio_wait+0x55()
    dbuf_read+0x1fd()
    dbuf_will_dirty+0x30()
    dmu_write+0xd7()
    space_map_sync+0x304()
    metaslab_sync+0x284()
    vdev_sync+0xc6()
    spa_sync+0x35c()
    txg_sync_thread+0x295()
    thread_start+8()

I see from another discussion on zfs-discuss that Victor Latushkin helped Erik 
Gulliksson recover from a similar situation by using a specially patched zfs 
module. Would it be possible for me to get that same module?
-- 
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