[OmniOS-discuss] OmniOS r151016 zone has difficulties shutting down
Dominik Hassler
hasslerd at gmx.li
Mon Dec 7 11:20:34 UTC 2015
Bob,
I can confirm that this happens occasionally on my systems (all r16 and latest patches applied), too. Since it does not happen every shutdown and for a different zone every time, I could not find a pattern, yet. Usually I just halt the zone if the clean shutdown fails. I don't recall when this occured for the first time but it might be after upgrading to r16.
> Gesendet: Montag, 07. Dezember 2015 um 01:19 Uhr
> Von: "Bob Friesenhahn" <bfriesen at simple.dallas.tx.us>
> An: omnios-discuss at lists.omniti.com
> Betreff: [OmniOS-discuss] OmniOS r151016 zone has difficulties shutting down
>
> On a freshly installed zone with no additional packages installed (but
> with one lofs mount to a filesystem), I am seeing a glitch with
> 'zoneadm -z name shutdown', 'zoneadm -z name reboot' or 'reboot'
> within the zone. This message appears on the console and in the
> /var/adm/messages file of the global zone:
>
> Dec 6 17:17:22 scrappy zoneadmd[17388]: [ID 702911 daemon.error]
> [zone 'pkgbuild'] failed to open console master: Device busy
> Dec 6 17:17:22 scrappy zoneadmd[17388]: [ID 702911 daemon.error]
> [zone 'pkgbuild'] WARNING: could not open master side of zone console
> for pkgbuild to release slave handle: Device busy
> Dec 6 17:17:22 scrappy zoneadmd[17388]: [ID 702911 daemon.error]
> [zone 'pkgbuild'] WARNING: console /devices//pseudo/zconsnex at 1/zcons at 1
> found, but it could not be removed.: I/O error
>
> and the shutdown hangs. If I then do a zlogin to the console (or have
> already done so) the shutdown immediately completes:
>
> scrappy:~% pfexec zlogin -C pkgbuild
> [Connected to zone 'pkgbuild' console]
>
> [NOTICE: Zone halted]
>
> If I attempt to zlogin into the zone while it is being shut down I get
> this message:
>
> zlogin: login allowed only to running zones (pkgbuild is
> 'shutting_down').
>
> If I do 'zoneadm -z name reboot', it works fine, although this is
> documented to be the same as 'shutdown' followed by 'boot'.
>
> If I do the reboot on the zone console then the reboot works fine.
>
> This is the second zone that I have installed and the first zone also
> encountered this issue. The problem went away with the other zone but
> still persists for this new zone.
>
> Have others encountered this issue? What can be done to fix it?
>
> Bob
> --
> Bob Friesenhahn
> bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
More information about the OmniOS-discuss
mailing list