Greetings, I have a system with build 107 that hangs on a zfs import Mouse stops, clock stops. Wedged. I hear some disk activity for about 3 seconds, then wedge... no disk/LED activity It''s a mirrored zpool (but not rpool). I (accidentally) rebooted while a scrub was in process. (that is the only anomalous thing that happened) Anyway to detach the mirrors from one another prior to import ? -Perhaps 1 side is horribly disfigured somehow... And/or step me thru the required mdb/kdb/whatever it''s called stack trace dump command sequence after booting with -kd ???? Regards, -Ed -- This message posted from opensolaris.org
On Fri, 30 Jan 2009, Ed Kaczmarek wrote:> And/or step me thru the required mdb/kdb/whatever it''s called stack > trace dump command sequence after booting with -kd ????Dan Mick''s got a good guide on his blog: http://blogs.sun.com/dmick/entry/diagnosing_kernel_hangs_panics_with Regards, markm
Solved - Work around 1. Reboot single user 2. zpool import -f pool - but pool doesn''t mount, can''t create mount point 3. zpool scrub -s pool (scrub was started again on import) 4. zpool export pool 4. Reboot 5. zpool import pool 6. Exhale. -Ed -- This message posted from opensolaris.org
Let me just add something here. I was attempting to debug a separate issue here about init 5 with a zfs volume hanging (that remains unresolved) I had build 106 with said zpool running a scrub, then did a shutdown (scrub unfinished) Installed build 107 on another disk and experienced this hang in zpool import. So, what I am getting at, perhaps there is a bug on importing (-f) a zpool from (as far as the OS is concerned) a zpool that has a scrub flag set ? The combo of scrub being set and import (-f?) caused the hang... ? -Ed -- This message posted from opensolaris.org