Apologies for the internal URL, I'm including the list of patches for the everyone's benefit:

sparc Patches
    * ZFS Patches
          o 118833-17 SunOS 5.10: kernel patch
          o 118925-02 SunOS 5.10: unistd header file patch
          o 119578-20 SunOS 5.10: FMA Patch
          o 119982-05 SunOS 5.10: ufsboot patch
          o 120986-04 SunOS 5.10: mkfs and newfs patch
          o 122172-06 SunOS 5.10: swap swapadd isaexec patch
          o 122174-03 SunOS 5.10: dumpadm patch
          o 122637-01 SunOS 5.10: zonename patch
          o 122640-05 SunOS 5.10: zfs genesis patch
          o 122644-01 SunOS 5.10: zfs header file patch
          o 122646-01 SunOS 5.10: zlogin patch
          o 122650-02 SunOS 5.10: zfs tools patch
          o 122652-03 SunOS 5.10: zfs utilities patch
          o 122658-02 SunOS 5.10: zonecfg patch
          o 122660-03 SunOS 5.10: zoneadm zoneadmd patch
          o 122662-02 SunOS 5.10: libzonecfg patch
    * Man Pages
          o 119246-15 SunOS 5.10: Manual Page updates for Solaris 10
    * Other Patches
          o 119986-03 SunOS 5.10: clri patch
          o 123358-01 SunOS 5.10: jumpstart and live upgrade compliance
          o 121430-11 SunOS 5.8 5.9 5.10: Live Upgrade Patch

i386 Patches
    * ZFS Patches
          o 118344-11 SunOS 5.10_x86: Fault Manager Patch
          o 118855-15 SunOS 5.10_x86: kernel patch
          o 118919-16 SunOS 5.10_x86: Solaris Crypto Framework patch
          o 120987-04 SunOS 5.10_x86: mkfs, newfs, other ufs utils patch
          o 122173-04 SunOS 5.10_x86: swap swapadd patch
          o 122175-03 SunOS 5.10_x86: dumpadm patch
          o 122638-01 SunOS 5.10_x86: zonename patch
          o 122641-06 SunOS 5.10_x86: zfs genesis patch
          o 122647-03 SunOS 5.10_x86: zlogin patch
          o 122653-03 SunOS 5.10_x86: utilities patch
          o 122659-03 SunOS 5.10_x86: zonecfg patch
          o 122661-02 SunOS 5.10_x86: zoneadm patch
          o 122663-04 SunOS 5.10_x86: libzonecfg patch
          o 122665-02 SunOS 5.10_x86: rnode.h/systm.h/zone.h header file
    * Man Pages
          o 119247-15 SunOS 5.10_x86: Manual Page updates for Solaris 10
    * Other Patches
          o 118997-03 SunOS 5.10_x86: format patch
          o 119987-03 SunOS 5.10_x86: clri patch
o 122655-05 SunOS 5.10_x86: jumpstart and live upgrade compliance patch
          o 121431-11 SunOS 5.8_x86 5.9_x86 5.10_x86: Live Upgrade Patch


George Wilson wrote:

I'm copying the zfs-discuss alias on this as well...

It's possible that not all necessary patches have been installed or they maybe hitting CR# 6428258. If you reboot the zone does it continue to end up in maintenance mode? Also do you know if the necessary ZFS/Zones patches have been updated?

Take a look at our webpage which includes the patch list required for Solaris 10:



Mahesh Siddheshwar wrote:

-------- Original Message --------
Subject:     [zones-discuss] Zone boot problems after installing patches
Date:     Wed, 02 Aug 2006 13:47:46 -0400
From:     Dave Bevans <[EMAIL PROTECTED]>
To: zones-discuss@opensolaris.org, [EMAIL PROTECTED], [EMAIL PROTECTED]


I  have a customer with the following problem.

He has a V440 running Solaris 10 1/06 with zones. In the case notes he says that he installed a couple Sol 10 patches and now he has problems booting his zones. After doing some checking he found that it appears to be related to a couple of ZFS patches (122650 and 122640). I found a bug (6271309 / lack of zvol breaks all ZFS commands), but not sure if it applies to this situation. Any ideas on this.

Here is the customers problem description...

Hardware Platform: Sun Fire V440
Component Affected: OS Base
OS and Kernel Version: SunOS snb-fton-bck2 5.10 Generic_118833-18 sun4u sparc SUNW,Sun-Fire-V440

Describe the problem: Patch 122650-02 combined with patch 122640-05 seems to have broken no global zones at boot time. I'm just guessing at the exact patches since they were both added recently, and involve the files /usr/sbin/zfs and /lib/svc/method/fs-local which combined, cause the issue.

This section of code in /lib/svc/method/fs-local:

if [ -x /usr/sbin/zfs ]; then
       /usr/sbin/zfs mount -a >/dev/msglog 2>&1
       if [ $rc -ne 0 ]; then
msg="WARNING: /usr/sbin/zfs mount -a failed: exit status $rc"
               echo $msg
               echo "$SMF_FMRI:" $msg >/dev/msglog

causes the local file system service to exit with an error, and stop the boot process. The reason why is that the non global zone does not have access to /dev/zfs so the "/usr/sbin/zfs mount -a" command exits with an error code.
This system is SRS Net Connect enabled: No
I will be sending an Explorer file: No
List steps to reproduce the problem(if applicable): Global zone:

bash-3.00# /usr/sbin/zfs mount -a
bash-3.00# echo $?

CVS Zone:

bash-3.00# zlogin cvs
[Connected to zone 'cvs' pts/2]
Last login: Tue Aug  1 11:51:58 on pts/2
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# /usr/sbin/zfs mount -a
internal error: unable to open ZFS device

# echo $?

It Looks like /dev/zfs is not created in the non-global zone, but is required for
the startup script change included in patch 122650-02:

Global Zone:

bash-3.00# truss -fald -t open /usr/sbin/zfs mount -a
Base time stamp:  1154444288.9594  [ Tue Aug  1 11:58:08 ADT 2006 ]
16159/1: 0.0000 execve("/sbin/zfs", 0xFFBFFD8C, 0xFFBFFD9C) argc = 3
16159/1:         argv: /usr/sbin/zfs mount -a
16159/1: 0.0192 open("/etc/mnttab", O_RDONLY) = 3 16159/1: 0.0203 open("/dev/zfs", O_RDWR) = 4

CVS Zone:
# truss -fald -t open /usr/sbin/zfs mount -a
Base time stamp:  1154444344.9469  [ Tue Aug  1 11:59:04 ADT 2006 ]
16198/1: 0.0000 execve("/sbin/zfs", 0xFFBFFECC, 0xFFBFFEDC) argc = 3
16198/1:         argv: /usr/sbin/zfs mount -a
16198/1: 0.0181 open("/etc/mnttab", O_RDONLY) = 3 16198/1: 0.0191 open("/dev/zfs", O_RDWR) Err#2 ENOENT
internal error: unable to open ZFS device

# ls -l "/dev/zfs"
/dev/zfs: No such file or directory

bash-3.00# zonecfg -z cvs info
zonepath: /oracle/zones/cvs
autoboot: true
       dir: /lib
       dir: /platform
       dir: /sbin
       dir: /usr
       dir: /data
       special: /data
       raw not specified
       type: lofs
       options: []
       physical: ce0

When was the problem first noticed: August 1.
The problem is: staying the same
Any changes recently?: New Patch Applied
What software is having the problem?: bash-3.00# uname -a SunOS snb-fton-bck2 5.10 Generic_118833-18 sun4u sparc SUNW,Sun-Fire-V440 bash-3.00# cat /etc/release Solaris 10 1/06 s10s_u1wos_19a SPARC Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 07 December 2005


zones-discuss mailing list

zfs-discuss mailing list
zones-discuss mailing list
  • Re: [Fwd: [zo... George Wilson
    • Re: [zfs... George Wilson
      • Re: ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
        • ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer

Reply via email to