After patching global zone, non-global zone fails to start up with fs-local service in maintenance. zfs(1M) and zpool(1M) return "internal error: Bad Address" (Doc ID 2190004.1)

Last updated on OCTOBER 05, 2016

Applies to:

Solaris Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.

Symptoms

One or more non-global zones(NGZ) fail boot to multi-user mode following patching the global zone(GZ)

After the patching is completed and the system is rebooted, one can observe the affected NGZ with the following:

1. The zone is in single-user mode when booted up.

2. The SMF service svc:/system/filesystem/local:default is in maintenance state.

ngz# svcs -xv
svc:/system/filesystem/local:default (local file system mounts)
State: maintenance since Sat Mar 03 00:58:26 2015
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
  See: http://sun.com/msg/SMF-8000-KS
  See: /var/svc/log/system-filesystem-local:default.log
Impact: 41 dependent services are not running:
       svc:/system/sysidtool:net
       svc:/network/rpc/bind:default
       svc:/network/nfs/nlockmgr:default
       svc:/network/nfs/client:default
       svc:/system/filesystem/autofs:default
       svc:/system/system-log:default
       svc:/application/management/seaport:default
       svc:/application/management/sma:default

 3. Checking the NGZ's /var/svc/log/system-filesystem-local:default.log, one would see the following logged:

[ Mar 3 00:58:26 Executing start method ("/lib/svc/method/fs-local") ]
Abort - core dumped
WARNING: /usr/sbin/zfs mount -a failed: exit status 134
[ Mar 3 00:58:27 Method "start" exited with status 95 ]

4. The zfs(1M) and zpool(1M) commands return "internal error: Bad address". This can be observed on system with *no* ZFS configured as well.

ngz# zfs list
internal error: Bad address
Abort(coredump)
ngz# zpool status
internal error: Bad address
Abort(coredump)

 5.  If the zone is booted up in verbose mode, the "internal error: Bad Address" shows up on the zone bootup screen as well:

gz# zoneadm -z ngz reboot -- -m verbose"
SunOS Release 5.10 Version Generic_150400-17 64-bit
Copyright 1983-2010 Sun Microsystems, Inc. All rights reserved.
...
[NOTICE: Zone rebooting with arguments: -m verbose]
Reading ZFS config: *internal error: Bad address
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 134
Mar 3 09:41:29 svc.startd[11550]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Mar 3 09:41:29 svc.startd[11550]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

 

Changes

The global zone has just been patched and rebooted

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms