In at least OmniOS r151008j, the iSCSI initiator and thus any iSCSI disks it has established are shut down relatively early during a shutdown or reboot. In specific they are terminated before halt et al runs '/sbin/bootadm -ea update_all' (in halt.c's do_archives_update()). Under some circumstances this will cause system shutdown to hang.
Suppose that you have ZFS pools that are hosted on iSCSI disks and those pools are set to the default 'failmode=wait'. When the iSCSI disks go away due to initiator shutdown, those pools enter a state where any IO to them will stall. Unfortunately bootadm does such IO (or at least does something that stalls in ZFS-land) and as such will itself stall, which stalls the shutdown process. Presumably either bootadm should be run earlier or iSCSI initiator shutdown should happen later or both. - cks _______________________________________________ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss