My Oracle Support Banner

Solaris 10 and 11 readonly zpool import can hang even though failmode is set to continue (Doc ID 1999419.1)

Last updated on JULY 18, 2018

Applies to:

Solaris Operating System - Version 10 10/08 U6 to 11.2 [Release 10.0 to 11.0]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)


When this issue happens, the zpool will be in suspended state and the 'zpool import' thread will hang with its stack trace similar to the example below.

> ::spa ! grep pool11
fffffea84d74a080    ACTIVE pool11

> fffffea84d74a080::print spa_t spa_suspended
spa_suspended = 0x1

> 0t28588::pid2proc |::ps -ft
S    PID   PPID   PGID    SID    UID      FLAGS             ADDR NAME
R  28588  28467  28465  28465      0 0x4a004000 fffffe9fb903da38 zpool import -d /dev/3PARsnapshot -o failmode=continue -o readonly=on -f pool11
        T  0xfffffeb873270140 <TS_SLEEP>

> 0xfffffeb873270140::findstack
stack pointer for thread fffffeb873270140: fffffe002e81d880
[ fffffe002e81d880 _resume_from_idle+0xfb() ]
  fffffe002e81d8b0 swtch+0x141()
  fffffe002e81d8d0 cv_wait+0x68()
  fffffe002e81d900 zio_wait+0x53()
  fffffe002e81d950 dbuf_read+0x269()
  fffffe002e81d990 dmu_buf_hold+0xb5()
  fffffe002e81d9f0 zap_lockdir+0x53()
  fffffe002e81da40 zap_lookup_norm+0x46()
  fffffe002e81da70 zap_lookup+0x2e()
  fffffe002e81dae0 dsl_prop_get_dd+0x140()
  fffffe002e81db70 dsl_prop_get_ds+0xab()
  fffffe002e81dc60 dsl_dataset_get_ref+0x44d()
  fffffe002e81dcc0 dsl_dataset_hold+0xd2()
  fffffe002e81dcf0 dmu_objset_hold+0x23()
  fffffe002e81dd20 zfs_ioc_objset_stats+0x2b()
  fffffe002e81dd70 zfsdev_ioctl+0x17f()
  fffffe002e81dd80 cdev_ioctl+0x1d()
  fffffe002e81dda0 spec_ioctl+0x50()
  fffffe002e81dde0 fop_ioctl+0x2e()
  fffffe002e81dec0 ioctl+0xac()
  fffffe002e81df10 _sys_sysenter_post_swapgs+0x14b()



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.