Re: [zfs-discuss] Re: [Fwd: [zones-discuss] Zone boot problems after installing patches]

2006-08-04 Thread Enda o'Connor - Sun Microsystems Ireland - Software Engineer




Hi
I guess the problem is that David is using smpatch (our automated patching
system )
So in theory he is up to date on his patches
( he has since removed 
 122660-02 
 
 122658-02
 
  122640-05
)

So when I install the following onto a system ( SPARC S10 FCS ) with two
zones already running:
119254-25 ( patchutilties patch )
119578-26
118822-30
118833-18
122650-02
122640-05
And reboot, I too have the same issue, there is no /dev/zfs in my local zones?

# zonename
global
# 
# cat /etc/release
   Solaris 10 1/06 s10s_u1wos_19a SPARC
   
# ls /var/sadm/patch
118822-30  119254-26  120900-04  122640-05
118833-18  119578-26  121133-02  122650-02
# uptime
  5:48pm  up 2 min(s),  1 user,  load average: 0.58, 0.29, 0.11
# ls /export/zones/sparse-1/dev/zfs
/export/zones/sparse-1/dev/zfs: No such file or directory
# zlogin sparse-1 ls /dev/zfs
/dev/zfs: No such file or directory
# 
I rebooted the zone and then the system, touching /reconfigure, all to no
avail
I then added the rest of the patches you suggested and rebooted my zones
and I had /dev/zfs, strange.

But David had all the patches added and still did not get /dev/zfs in the
non global zones
Enda


George Wilson wrote:
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 
 
 
Thanks, 
George 
 
 
George Wilson wrote: 
  Dave, 
 
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: 
 
http://rpe.sfbay/bin/view/Tech/ZFS 
 
Thanks, 
George 
 
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] 
  
 
 
 
Hi, 
 
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.

Re: [zfs-discuss] Re: [Fwd: [zones-discuss] Zone boot problems after installing patches]

2006-08-04 Thread Enda o'Connor - Sun Microsystems Ireland - Software Engineer






Enda o'Connor - Sun Microsystems Ireland - Software Engineer wrote:

  
   Hi
 I guess the problem is that David is using smpatch (our automated patching 
system )
 So in theory he is up to date on his patches
 ( he has since removed 
  122660-02
 

   122658-02
  
   122640-05
 )
 
 So when I install the following onto a system ( SPARC S10 FCS ) with two 
zones already running:
typo should be update 10 1/06 not FCS

 119254-25 ( patchutilties patch )
 119578-26
 118822-30
 118833-18
 122650-02
 122640-05
 And reboot, I too have the same issue, there is no /dev/zfs in my local
zones?
 
 # zonename
 global
 # 
 # cat /etc/release
    Solaris 10 1/06 s10s_u1wos_19a SPARC
    
 # ls /var/sadm/patch
 118822-30  119254-26  120900-04  122640-05
 118833-18  119578-26  121133-02  122650-02
 # uptime
   5:48pm  up 2 min(s),  1 user,  load average: 0.58, 0.29, 0.11
 # ls /export/zones/sparse-1/dev/zfs
 /export/zones/sparse-1/dev/zfs: No such file or directory
 # zlogin sparse-1 ls /dev/zfs
 /dev/zfs: No such file or directory
 # 
 I rebooted the zone and then the system, touching /reconfigure, all to no 
avail
 I then added the rest of the patches you suggested and rebooted my zones 
and I had /dev/zfs, strange.
 
 But David had all the patches added and still did not get /dev/zfs in the 
non global zones
 Enda
 
 
 George Wilson wrote:
 
  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

  
  
 Thanks, 
 George 
  
  
 George Wilson wrote: 
   
Dave, 
  
 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: 
  
 http://rpe.sfbay/bin/view/Tech/ZFS
  
  
 Thanks, 
 George 
  
 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]
   
  
  
  
 Hi, 
  
 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 in

Re: [zfs-discuss] Re: [Fwd: [zones-discuss] Zone boot problems after installing patches]

2006-08-04 Thread Enda o'Connor - Sun Microsystems Ireland - Software Engineer




Hi
I logged CR 6457216 to track this for now.


Enda

Enda o'Connor - Sun Microsystems Ireland - Software Engineer wrote:

  
   
 
 Enda o'Connor - Sun Microsystems Ireland - Software Engineer wrote:
 
  

   Hi
  I guess the problem is that David is using smpatch (our automated patching
 system )
  So in theory he is up to date on his patches
  ( he has since removed 
   122660-02 

 
 122658-02
   
    122640-05
  )
  
  So when I install the following onto a system ( SPARC S10 FCS ) with two
 zones already running:
 typo should be update 10 1/06 not FCS
 
  
  119254-25 ( patchutilties patch )
  119578-26
  118822-30
  118833-18
  122650-02
  122640-05
  And reboot, I too have the same issue, there is no /dev/zfs in my local 
zones?
  
  # zonename
  global
  # 
  # cat /etc/release
     Solaris 10 1/06 s10s_u1wos_19a SPARC
     
  # ls /var/sadm/patch
  118822-30  119254-26  120900-04  122640-05
  118833-18  119578-26  121133-02  122650-02
  # uptime
    5:48pm  up 2 min(s),  1 user,  load average: 0.58, 0.29, 0.11
  # ls /export/zones/sparse-1/dev/zfs
  /export/zones/sparse-1/dev/zfs: No such file or directory
  # zlogin sparse-1 ls /dev/zfs
  /dev/zfs: No such file or directory
  # 
  I rebooted the zone and then the system, touching /reconfigure, all to
no  avail
  I then added the rest of the patches you suggested and rebooted my zones
 and I had /dev/zfs, strange.
  
  But David had all the patches added and still did not get /dev/zfs in the
 non global zones
  Enda
  
  
  George Wilson wrote:
 
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 

   
   
  Thanks, 
  George 
   
   
  George Wilson wrote: 
 
  Dave, 
   
  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: 
   
  http://rpe.sfbay/bin/view/Tech/ZFS 
  
   
  Thanks, 
  George 
   
  Mahesh Siddheshwar wrote: 
 
 
   
   Original Message  
  Subject: [zones-discuss] Zone boot problems after installing patches 

  Date: Wed, 02 Aug 2006 13:4

Re: [zfs-discuss] Re: [Fwd: [zones-discuss] Zone boot problems after installing patches]

2006-09-20 Thread George Wilson
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


Thanks,
George


George Wilson wrote:

Dave,

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:


http://rpe.sfbay/bin/view/Tech/ZFS

Thanks,
George

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]




Hi,

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
   rc=$?
   if [ $rc -ne 0 ]; then
   msg="WARNING: /usr/sbin/zfs mount -a failed: exit 
status $rc"

   echo $msg
   echo "$SMF_FMRI:" $msg >/dev/msglog
   result=$SMF_EXIT_ERR_FATAL
   fi
fi

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