Re: zonepath on SVM soft partition?



On 26 Nov., 16:53, Doug <dy2...@xxxxxxxxx> wrote:
I have an x86 Solaris 10 update 3 (11/06) system with non-global zones
and I have a problem installing the big kernel patch (120012-14).
These are the errors reported by patchadd:

-----------------------------------------
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!
Checking zone states for halted state.

Failed to mount non-global zone lab
Could not successfully create environment for 'deferred activation
patching'.

Failed (exit code 1)
-----------------------------------------
There are five non-global zones on the system. The notes for the
patch say that the zone need to be halted (when I tried patching the
system with the zones running, a long message from the patch was
printed telling me to halt the zones before trying to apply the
patch.)

All the zones "sparse-root" zones and have their zonepaths as separate
directories in a SVM soft partition.
That is to say, all the zonepaths are in /opt/zones:

$ df -h /opt/zones
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d100 39G 6.7G 32G 18% /opt/zones

$ metastat -c d100
d100 p 40GB d60
d60 m 100GB d61 d62
d61 s 100GB c5t0d0s5
d62 s 100GB c5t4d0s5

The underlying SVM metadevice for the soft partition is a RAID-1
device.

I am wondering if the patch is failing because the root filesystems
for the zones are on the soft partition.
I know it is not "legal" to put zonepaths in ZFS. I also believe it
is illegal to put the root filesystem for a non-global zone on a SVM
soft partition.

Has anybody successfully patched a system with zonepaths on a soft
partition?

Thanks,
Doug

same problem on sparc with the new feature "deferred activation
patching" .
zoneroots are also on soft partitions, this is supported.

root@hummel:/var/patches # patchadd -p | fgrep 119254-45
Patch: 119254-45 Obsoletes: 119015-03 Requires: 121133-02
Incompatibles: Packages: SUNWinstall-patch-utils-root SUNWswmt
SUNWpkgcmdsu
root@hummel:/var/patches #

zoneadm list -icv
ID NAME STATUS PATH
0 global running /
- dbci-000n installed /zones/dbci-000n
- appl1-000n installed /zones/appl1-000n

uname -a
SunOS hummel 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V490
root@hummel:/var/patches # zonecfg -z dbci-000n info
zonename: dbci-000n
zonepath: /zones/dbci-000n
autoboot: false
pool:
limitpriv:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
inherit-pkg-dir:
dir: /opt/sfw
fs:
dir: /usr/sap
special: /dev/vx/dsk/zone-hummel_dg/dbci-000n-usrsap_v0
raw: /dev/vx/rdsk/zone-hummel_dg/dbci-000n-usrsap_v0
type: ufs
options: []
fs:
dir: /opt/sysmgt
special: /dev/md/dsk/d72
raw: /dev/md/rdsk/d72
type: ufs
options: []
net:
address: 172.21.206.184
physical: ce0
rctl:
name: zone.max-lwps
value: (priv=privileged,limit=15000,action=none)
rctl:
name: zone.cpu-shares
value: (priv=privileged,limit=80,action=none)
root@hummel:/var/patches #

zoneadm -z dbci-000n mount
root@hummel:/var/patches # zoneadm list -icv
ID NAME STATUS PATH
0 global running /
4 dbci-000n mounted /zones/dbci-000n
- appl1-000n installed /zones/appl1-000n
root@hummel:/var/patches # zoneadm -z dbci-000n unmount
root@hummel:/var/patches #

# patchadd -a 120011-14
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Version of package SUNWcakr from directory SUNWcakr.v in patch
120011-14 differs from the package installed on the system.
Version of package SUNWcar from directory SUNWcar.v in patch 120011-14
differs from the package installed on the system.
Version of package SUNWcpc from directory SUNWcpc.v in patch 120011-14
differs from the package installed on the system.
Architecture for package SUNWiopc from directory SUNWiopc.v in patch
120011-14 differs from the package installed on the system.
Version of package SUNWkvm from directory SUNWkvm.v in patch 120011-14
differs from the package installed on the system.
Version of package SUNWcakr from directory SUNWcakr.us in patch
120011-14 differs from the package installed on the system.
Version of package SUNWcar from directory SUNWcar.us in patch
120011-14 differs from the package installed on the system.
Version of package SUNWcpc from directory SUNWcpc.us in patch
120011-14 differs from the package installed on the system.
Version of package SUNWdrr from directory SUNWdrr.us in patch
120011-14 differs from the package installed on the system.
Version of package SUNWefc from directory SUNWefc.us in patch
120011-14 differs from the package installed on the system.
Version of package SUNWkvm from directory SUNWkvm.us in patch
120011-14 differs from the package installed on the system.
Done!

The following requested patches have packages not installed on the
system
Package SUNWcart200 from directory SUNWcart200.v in patch 120011-14 is
not installed on the system. Changes for package SUNWcart200 will not
be applied to the system.
Package SUNWkvmt200 from directory SUNWkvmt200.v in patch 120011-14 is
not installed on the system. Changes for package SUNWkvmt200 will not
be applied to the system.
Package SUNWldomr from directory SUNWldomr.v in patch 120011-14 is not
installed on the system. Changes for package SUNWldomr will not be
applied to the system.
Package SUNWldomu from directory SUNWldomu.v in patch 120011-14 is not
installed on the system. Changes for package SUNWldomu will not be
applied to the system.
Package SUNWust1 from directory SUNWust1.v in patch 120011-14 is not
installed on the system. Changes for package SUNWust1 will not be
applied to the system.

Checking patches that you specified for installation.

Done!

Checking zone states for halted state.

Failed to mount non-global zone dbci-000n
Could not successfully create environment for 'deferred activation
patching'.
root@hummel:/var/patches #
.



Relevant Pages

  • Errors applying kernel patch 118833-36
    ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
    (SunManagers)
  • SUMMARY: patchadd/pkgadd failed for 114219-11
    ... process does an su to the install user if one exists, ... If the patch files and all parent directories ... Installpatch and patchadd use "nobody" as a fallback if it cannot find ... Original package not installed. ...
    (SunManagers)
  • update: patchadd/pkgadd failed for 114219-11
    ... Patch 114219-11 failed to install due to a failure produced by pkgadd. ... Original package not installed. ... Gold Sun wrote: ...
    (SunManagers)
  • Re: patchadd on solaris 10
    ... service patch) in solaris 10. ... If I copy this patch into /opt directory, ... Loading patches installed on the system... ... Loading patches requested to install. ...
    (comp.unix.solaris)
  • Re: Patching the OS image in a directory
    ... still trying to patch my local machine instead of the target ... Loading patches installed on the system... ... Loading patches requested to install. ...
    (comp.unix.solaris)