
TOC:
Preparation of primary boot environment (PBE) for Live upgrade tools usage
Packages related to Live Upgrade installed on current system and their upgrade
Patching system for Live Upgrade usage
Solaris 10 Live Upgrade patch bundle application
Here is a risk you encounter errors to be connected to local zones' separe /var FSs
Steps to prevent problems to start LUbundle install script when zones have separated /var
New creation or recreation of ABE after one has been created in the past
Test your new BE if you want (strongly recommended)
However on my test environment I ended up with new BE lost /var FS for local zones problem
Script for interactive addition of /var to local zones in newly created BE
Switching between BEs and creating OBP aliases
Booting of abe-rootmirror could end up with this problem
Patching with Patchbundle 0508 SPARC
The installbundle.sh modification was needed to overcome following error message
Showed patches were removed from original patch_order file
Mounting ABE & checking its FSs
Application of Recommended patch cluster to ABE
Preparation of list for Recommended patches to apply
Application of Recommended cluster to ABE
Please check the “Test your new BE if you want (strongly recommended)” section for
TOC2:
Table of Contents
How to create alternate boot environment using Solaris Live Upgrade on SVM mirrors when using local (non-global) zones with its own FSs and apply patches to the newly created environment (ABE) 1
Revision 4
Author 4
Purpose 4
Audience 4
Related Docs 5
Test environment setup 7
HW 7
SW 7
Preparation of primary boot environment (PBE) for Live upgrade tools usage 8
Packages related to Live Upgrade installed on current system and their upgrade 8
Patching system for Live Upgrade usage 9
Solaris 10 Live Upgrade patch bundle application 9
Here is a risk you encounter errors to be connected to local zones' separe /var FSs 10
Steps to prevent problems to start LUbundle install script when zones have separated /var 11
New creation or recreation of ABE after one has been created in the past 12
Configuration capture: 12
Auxiliary list files prepared 20
ABE creation start & progress 21
Cmds to create ABE 21
Test your new BE if you want (strongly recommended) 23
However on my test environment I ended up with new BE lost /var FS for local zones problem 26
Script for interactive addition of /var to local zones in newly created BE 26
Switching between BEs and creating OBP aliases 30
Booting of abe-rootmirror could end up with this problem. 30
Patching with Patchbundle 0508 SPARC 32
The installbundle.sh modification was needed to overcome following error message: 33
Showed patches were removed from original patch_order file 33
Mounting ABE & checking its FSs 41
Application of Recommended patch cluster to ABE 48
Preparation of list for Recommended patches to apply – dry run 48
Application of Recommended cluster to ABE 50
Activation of patched BE 52
Please check the “Test your new BE if you want (strongly recommended)” section for: 53
ABE boot after patching 53
v2.0 August 28th 2008
Arrowaver
SSE
Sun Microsystems
You can find Solaris Live Upgrade useful technology for many reasons which are out of scope of this doc. You will find many docs describing this technology and I believe practical example can help some of you by showing it on test environment simulating real production environment too.
The steps you will need to follow are always your environment specific. Ensure system and data FSs full backup is available before configuration changes a especially applying of any patches. Steps described bellow apply to test environment listed in the section above. It is very likely it will work in general the same way, but no one can guarantee it.
This document was created as an answer to question how to patch customer's complex environment, which architecture was result of customer's specific requirements during consolidation project. Compete test environment was set up from flar archive and Solaris was installed using Flash install method to ensure maximum similarity with the real production environment.
http://blogs.sun.com/mhuff/entry/live_upgrade_with_solaris_volume1
Live Upgrade with Solaris Volume Manager (SVM) and Zones
http://blogs.sun.com/mhuff/entry/lu_svm
Patching with Solaris Live Upgrade
Sun Fire 15k (domain B)
1x SB 4x US IV 1200MHz
8 GB RAM
2x IO hsPCI
3x Dual LVD SCSI + Dual NIC PCI card
3x S1 (JBOD 3x HDD)
15x 36GB HDD 3x 18GB HDD
2x physical connetion for global zone
2x physical connection for local zones
OS release: Solaris 10 11/06 s10s_u3wos_10 SPARC, SunOS 5.10 Generic_125100-05 sun4u sparc SUNW,Sun-Fire-15000
Solaris OE SW install cluster = SUNWCXall
patched during installation with February 2007 patches (EIS)
3x whole-root zone with separate FSs for /, /var and data FSs
First you need to upgrade your current environment Live Upgrade packages and patch your running system to enable proper functionality of the technology. This step is the only step requiring system outage, because patches are applied to running operation system environment (OE) – current PBE. It took about 2 hours to complete pure LUbundle application so count shutdown, boot and preparation work times when planning your production OE outage. This is two step procedure:
Before one of options above is selected or patching of OS with running zones I recommend to set ALL local (non-global) zones auto-boot property to false.
Example:
root@sun15k-b # zonecfg -z cozone01 info autoboot
autoboot: true
root@sun15k-b # zonecfg -z cozone01 set autoboot=false
root@sun15k-b # zonecfg -z cozone01 info autoboot
autoboot: false
root@sun15k-b #
root@sun15k-b # pkginfo | grep -i Live
system SUNWdelu German Live Upgrade
system SUNWeslu Spanish Live Upgrade
system SUNWfrlu French Live Upgrade
system SUNWitlu Italian Live Upgrade
application SUNWlur Live Upgrade (root)
application SUNWluu Live Upgrade (usr)
application SUNWluzone Live Upgrade (zones support)
system SUNWsvlu Swedish Live Upgrade
root@sun15k-b #
root@sun15k-b # pkginfo -l SUNWlur
PKGINST: SUNWlur
NAME: Live Upgrade (root)
CATEGORY: application
ARCH: sparc
VERSION: 11.10,REV=2005.01.10.00.03
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Live Upgrade (root)
PSTAMP: on10-adms-patch20070131200140
INSTDATE: May 09 2007 14:51
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 35 installed pathnames
10 shared pathnames
4 linked files
15 directories
9 executables
2870 blocks used (approx)
root@sun15k-b #
root@sun15k-b # pkginfo | grep -i upgrade
system SUNWasut Sun Java System Application Server, upgrade tool
JDS3 SUNWjdsrm Java Desktop System Upgrade Package Remove
root@sun15k-b #
Use pkgrm to remove all language packages and than SUNWluu and SUNWlur. The only package related to Live Upgrade left on the system should be SUNWluzone.
Mount DVD media or use JumpStart server to access latest Solaris 10 installation image
cd /net/<Jump-Start-server>/export/install
root@sun15k-b # ls
S10u5
root@sun15k-b # cd S10u5/Product/Solaris 10/Tools/Installers/
root@sun15k-b # ls
liveupgrade20 solarisn
Run liveupgrade20 installation script to install latest Solaris 10 update image Live Upgrade packages
root@sun15k-b # ./liveupgrade20 -noconsole -nodisplay
After installation in some configurations you can find new package installed with those removed before
application SUNWlucfg Live Upgrade Configuration
The SUNWlur has changed PSTAMP too.
root@sun15k-b # pkginfo -l SUNWlur
PKGINST: SUNWlur
NAME: Live Upgrade (root)
CATEGORY: application
ARCH: sparc
VERSION: 11.10,REV=2005.01.10.00.03
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Live Upgrade (root)
PSTAMP: on10-adms-patch20080613132149
INSTDATE: Aug 08 2008 21:19
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 38 installed pathnames
11 shared pathnames
4 linked files
15 directories
12 executables
2507 blocks used (approx)
root@sun15k-b #
This can be achieved two ways. Depending on your environment and preference choose one of:
1. Follow steps described in this InfoDoc
|
Document Audience: |
PUBLIC |
|
|
Document ID: |
206844 |
|
|
Old Document ID: |
(formerly 72099) |
|
|
Title: |
Solaris[TM] Live Upgrade Software: Minimum Patch Requirements |
|
|
Copyright Notice: |
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved |
|
|
Update Date: |
Fri Jun 27 00:00:00 MDT 2008 |
|
Solution
Type Technical Instruction
Solution
206844 : Solaris[TM] Live Upgrade Software:
Minimum Patch Requirements
Use Solaris 10 Live Upgrade patch bundle, check the bundle's README for more info. This bundle is available among other patch clusters on SunSolve
I used the second option – installation of LUbundle. Choose destination to store the bundle, which will be available in single user mode too. I chose /crashfs dedicated to store crashdump in case of system panic for this temporary usage:
/dev/md/dsk/d100 1.9G 2.0M 1.8G 1% /crashfs
Expand the bundle, e.g:
# unzip -qq 10_sparc_lubundle.zip
Reboot to single user mode mount FS (/crashfs) if needed and cd to LUbundle dir.
root@sun15k-b # cd 10 sparc lubundle
root@sun15k-b #
root@sun15k-b # ls -l
total 274
-r--r--r-- 1 root root 2579 Jul 8 20:56 Copyright
-r--r--r-- 1 root root 14684 Jul 8 20:56 LEGAL_LICENSE.TXT
-rw-r--r-- 1 root root 34403 Jul 8 20:56 README
-rwxr-xr-x 1 root root 78628 Jul 8 20:56 install_lubundle
drwxr-xr-x 3 root root 512 Jul 8 20:56 packages
-rw-r--r-- 1 root root 420 Jul 8 20:56 patch_order
drwxr-xr-x 44 root root 1024 Jul 8 20:56 patches
-rw-r--r-- 1 root root 3941 Jul 8 20:56 patchset.conf
-rw-r--r-- 1 root root 49 Jul 8 20:56 prereq_order
root@sun15k-b #
Following error messages can be caused by /zones/<zone-name> FS not mounted in single-user mode automaticaly
root@sun15k-b # ./install_lubundle --lubundle
Setup ........
ERROR: Space checking failed : unable to mount zone 'cozone01'.
root@sun15k-b #
So mount all local zones' root FSs. It was “mount /zones/cozone01” for this case. If problem still persists use “mountall” cmd to mount all FSs from /etc/vfstab, so zones when go into “mount” state have no FSs missing by its definitions in zones' configuration.
After this you can see next error messages:
root@sun15k-b # ./install_lubundle --lubundle
Setup ...................
Solaris 10 Live Upgrade Patch Bundle for SPARC (2008.07.05)
The patch set will complete installation in this session. No intermediate
reboots are required.
Application of patches started : 2008.08.08 20:13:11
df: (/zones/cozone01/lu/a/var) not a block device, directory or mounted resource
Application of patches finished : 2008.08.08 20:13:11
Unexpected output from command 'df -k /zones/cozone01/lu/a/var'.
Please assess cause of failure and verify system integrity before proceeding.
Install log files written :
/var/sadm/install_data/s10lubundle_short_2008.08.08_20.13.11.log
/var/sadm/install_data/s10lubundle_verbose_2008.08.08_20.13.11.log
root@sun15k-b #
In this case you have to create empty directories named “/var” on zones' root FSs in “lu/a/” subdirectories relatively to zone's “zonepath” property. Better see particular cmds needed in my test case:
mkdir -p /zones/cozone01/lu/a/var
mkdir -p /zones/cozone02/lu/a/var
mkdir -p /zones/cozone03/lu/a/var
This is workaround to enable install script check. I did several test with mounted local zone's /var FS in different directories in different install script check phases, but was not successful in “palming” real zone's /var to install script for its FS space checking. Here you need to be careful of free space on zones' /var FSs as this check is not done on them but thanks this workaround on zones' root FS instead.
When you fall into those manual steps above for fixing LUbundle install script start problems, be extremely careful of partial install script runs. The run where application of patches starts but fails afterwards. It which case a patch could be applied only to global zone or same local zones but not to all of them. Next install script run will skip this patch installation completely and silently (this include kernel patches too).
You will end up with INCONSISTENT zones if this happen and it is very complicated to fix this situation. The best way is to remove all such patches (count all dependencies too) and add them again.
You can check this in patch logs if you suspect this state:
root@sun15k-b # pwd
/var/sadm/install_data
root@sun15k-b # grep -i inconsistent *
s10lubundle_verbose_2008.08.08_20.57.25.log:WARNING - Can not boot non-global zone cozone03 to apply patches!!! This zone will be in inconsistent state
s10lubundle_verbose_2008.08.08_20.57.25.log:WARNING - Can not boot non-global zone cozone02 to apply patches!!! This zone will be in inconsistent state
root@sun15k-b #
have LUbundle explanded and ready on local FS
ensure you have enough free space on zones' root & /var FSs (having same or more space on /var as on zone's root FS is safe)
boot into single-user mode
mount all root FS for you local zones like “/zones/<zone-name>”
run “mountall” cmd to mount all FSs in /etc/vfstab
create empty directories “/zones/<zone-name>/lu/a/var” for all local zones
This is just LUbundle application example. You sould have some patches applied during this process. Ensure process this in single-user mode and take special care for configurations with local zones with separated /var FS – see steps above.
root@sun15k-b # ./install_lubundle --lubundle
.........................
Solaris 10 Live Upgrade Patch Bundle for SPARC (2008.07.05)
The patch set will complete installation in this session. No intermediate
reboots are required.
Application of patches started : 2008.08.08 23:10:10
Applying 120900-04 ( 1 of 42) ... skipped
Applying 121133-02 ( 2 of 42) ... skipped
Applying 119254-57 ( 3 of 42) ... skipped
Applying 119317-01 ( 4 of 42) ... skipped
Applying 121296-01 ( 5 of 42) ... skipped
Applying 127884-01 ( 6 of 42) ... skipped
Applying 128342-01 ( 7 of 42) ... skipped
Applying 119685-09 ( 8 of 42) ... skipped
Applying 124327-04 ( 9 of 42) ... skipped
Applying 118918-24 (10 of 42) ... skipped
Applying 119042-11 (11 of 42) ... skipped
Applying 119578-30 (12 of 42) ... skipped
Applying 118833-36 (13 of 42) ... skipped
Applying 137321-01 (14 of 42) ... skipped
Applying 127922-04 (15 of 42) ... skipped
Applying 128330-02 (16 of 42) ... skipped
Applying 123121-02 (17 of 42) ... skipped
Applying 121004-04 (18 of 42) ... skipped
Applying 120235-01 (19 of 42) ... skipped
Applying 121430-25 (20 of 42) ... skipped
Applying 121428-10 (21 of 42) ... success
Applying 119081-25 (22 of 42) ... skipped
Applying 124628-06 (23 of 42) ... skipped
Applying 119252-23 (24 of 42) ... skipped
Applying 120199-13 (25 of 42) ... skipped
Applying 124630-17 (26 of 42) ... skipped
Applying 119574-02 (27 of 42) ... skipped
Applying 126538-01 (28 of 42) ... skipped
Applying 120272-20 (29 of 42) ... skipped
Applying 122640-05 (30 of 42) ... skipped
Applying 126897-02 (31 of 42) ... skipped
Applying 127755-01 (32 of 42) ... skipped
Applying 125503-02 (33 of 42) ... skipped
Applying 118731-01 (34 of 42) ... skipped
Applying 124204-04 (35 of 42) ... skipped
Applying 122660-10 (36 of 42) ... skipped
Applying 125547-02 (37 of 42) ... skipped
Applying 126419-01 (38 of 42) ... skipped
Applying 120011-14 (39 of 42) ... skipped
Applying 125891-01 (40 of 42) ... skipped
Applying 126540-02 (41 of 42) ... skipped
Applying 127127-11 (42 of 42) ... skipped
Application of patches finished : 2008.08.08 23:12:06
Following patches were applied :
121428-10
Following patches were skipped :
Patches already applied
120900-04 118918-24 121004-04 119574-02 124204-04
121133-02 119042-11 120235-01 126538-01 122660-10
119254-57 119578-30 121430-25 120272-20 125547-02
119317-01 118833-36 119081-25 122640-05 126419-01
121296-01 137321-01 124628-06 126897-02 120011-14
127884-01 127922-04 119252-23 127755-01 125891-01
128342-01 128330-02 120199-13 125503-02 126540-02
119685-09 123121-02 124630-17 118731-01 127127-11
124327-04
Installation of patch set complete. PLEASE REBOOT THE SYSTEM.
Install log files written :
/var/sadm/install_data/s10lubundle_short_2008.08.08_23.10.10.log
/var/sadm/install_data/s10lubundle_verbose_2008.08.08_23.10.10.log
root@sun15k-b #
You can do reconfiguration reboot if it is safe.
In this example you see recreation of ABE so first deletion of one (the same name) already created. You can use same steps when you need to create your very first BE same way, just skip old ABE deletion.
sun15k-b console login: root
Password:
Last login: Mon Aug 18 14:54:50 on console
Aug 18 15:44:03 sun15k-b login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have mail.
Sourcing /root/.profile-EIS.....
TERM=vt100
WARNING: This server has running non-global zones.
Before any maintenance of this server make sure that it
could not adversely affect these zones.
Current status of Solaris zones follows:
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 cozone01 running /zones/cozone01 native shared
2 cozone03 running /zones/cozone03 native shared
3 cozone02 running /zones/cozone02 native shared
root@sun15k-b #
root@sun15k-b # zonecfg -z cozone01 export
create -b
set zonepath=/zones/cozone01
set autoboot=false
set pool=pool_smp
set ip-type=shared
add fs
set dir=/var
set special=/dev/md/dsk/d104
set raw=/dev/md/rdsk/d104
set type=ufs
end
add fs
set dir=/export/home
set special=/dev/md/dsk/d107
set raw=/dev/md/rdsk/d107
set type=ufs
end
add fs
set dir=/ora02
set special=/export/ora02
set type=lofs
add options nodevices
end
add fs
set dir=/ora03
set special=/export/ora03
set type=lofs
add options nodevices
end
add fs
set dir=/ora04
set special=/export/ora04
set type=lofs
add options nodevices
end
add fs
set dir=/ora05
set special=/export/ora05
set type=lofs
add options nodevices
end
add fs
set dir=/ora06
set special=/export/ora06
set type=lofs
add options nodevices
end
add fs
set dir=/ora07
set special=/export/ora07
set type=lofs
add options nodevices
end
add fs
set dir=/ora08
set special=/export/ora08
set type=lofs
add options nodevices
end
add fs
set dir=/app
set special=/dev/md/ora_dg/dsk/d500
set raw=/dev/md/ora_dg/rdsk/d500
set type=ufs
end
add fs
set dir=/ora01
set special=/dev/md/ora_dg/dsk/d505
set raw=/dev/md/ora_dg/rdsk/d505
set type=ufs
end
add net
set address=10.18.139.28/25
set physical=ce1
end
add attr
set name=comment
set type=string
set value="SMP platform database"
end
root@sun15k-b #
root@sun15k-b # #
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # zonecfg -z cozone02 export
create -b
set zonepath=/zones/cozone02
set autoboot=false
set pool=pool_default
set ip-type=shared
add fs
set dir=/var
set special=/dev/md/dsk/d105
set raw=/dev/md/rdsk/d105
set type=ufs
end
add fs
set dir=/export/home
set special=/dev/md/dsk/d108
set raw=/dev/md/rdsk/d108
set type=ufs
end
add fs
set dir=/ora01
set special=/dev/md/dsk/d705
set raw=/dev/md/rdsk/d705
set type=ufs
end
add fs
set dir=/ora02
set special=/dev/md/dsk/d706
set raw=/dev/md/rdsk/d706
set type=ufs
end
add fs
set dir=/ora03
set special=/dev/md/dsk/d707
set raw=/dev/md/rdsk/d707
set type=ufs
end
add fs
set dir=/ora05
set special=/dev/md/dsk/d709
set raw=/dev/md/rdsk/d709
set type=ufs
end
add net
set address=10.18.139.29/25
set physical=ce1
end
add rctl
set name=zone.cpu-shares
add value (priv=privileged,limit=100,action=none)
end
add attr
set name=comment
set type=string
set value="Web publishing authoring DB"
end
root@sun15k-b #
root@sun15k-b # zonecfg -z cozone03 export
create -b
set zonepath=/zones/cozone03
set autoboot=false
set pool=pool_default
set ip-type=shared
add fs
set dir=/var
set special=/dev/md/dsk/d106
set raw=/dev/md/rdsk/d106
set type=ufs
end
add fs
set dir=/export/home
set special=/dev/md/dsk/d109
set raw=/dev/md/rdsk/d109
set type=ufs
end
add fs
set dir=/ora01
set special=/dev/md/dsk/d605
set raw=/dev/md/rdsk/d605
set type=ufs
end
add net
set address=10.18.139.30/25
set physical=ce1
end
add rctl
set name=zone.cpu-shares
add value (priv=privileged,limit=100,action=none)
end
add attr
set name=comment
set type=string
set value="HR information system APP"
end
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # df -hlZ
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 16G 10G 5.4G 66% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 14G 1.4M 14G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d5 7.9G 7.4G 407M 95% /var
swap 14G 240K 14G 1% /tmp
swap 14G 64K 14G 1% /var/run
/dev/md/dsk/d100 1.9G 706M 1.1G 38% /crashfs
/dev/md/dsk/d3 480M 1.0M 431M 1% /globaldevices
/dev/md/ora_dg/dsk/d0
963M 601M 304M 67% /export/ora02
/dev/md/dsk/d101 7.9G 4.8G 3.0G 62% /zones/cozone01
/dev/md/ora_dg/dsk/d1
963M 601M 304M 67% /export/ora03
/dev/md/dsk/d102 7.9G 4.8G 3.0G 62% /zones/cozone02
/dev/md/ora_dg/dsk/d3
963M 601M 304M 67% /export/ora05
/dev/md/dsk/d6 992M 1.0M 932M 1% /export/home
/dev/md/dsk/d103 7.9G 5.2G 2.6G 67% /zones/cozone03
/dev/md/ora_dg/dsk/d2
963M 601M 304M 67% /export/ora04
/dev/md/ora_dg/dsk/d5
963M 601M 304M 67% /export/ora07
/dev/md/ora_dg/dsk/d6
963M 601M 304M 67% /export/ora08
/dev/md/ora_dg/dsk/d4
963M 601M 304M 67% /export/ora06
/dev/md/ora_dg/dsk/d500
963M 601M 304M 67% /zones/cozone01/root/app
/zones/cozone01/dev 7.9G 4.8G 3.0G 62% /zones/cozone01/root/dev
/dev/md/dsk/d107 469M 1.3M 420M 1% /zones/cozone01/root/export/home
/dev/md/ora_dg/dsk/d505
963M 601M 304M 67% /zones/cozone01/root/ora01
/export/ora02 963M 601M 304M 67% /zones/cozone01/root/ora02
/export/ora03 963M 601M 304M 67% /zones/cozone01/root/ora03
/export/ora04 963M 601M 304M 67% /zones/cozone01/root/ora04
/export/ora05 963M 601M 304M 67% /zones/cozone01/root/ora05
/export/ora06 963M 601M 304M 67% /zones/cozone01/root/ora06
/export/ora07 963M 601M 304M 67% /zones/cozone01/root/ora07
/export/ora08 963M 601M 304M 67% /zones/cozone01/root/ora08
/dev/md/dsk/d104 7.9G 415M 7.4G 6% /zones/cozone01/root/var
proc 0K 0K 0K 0% /zones/cozone01/root/proc
ctfs 0K 0K 0K 0% /zones/cozone01/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone01/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone01/root/system/object
swap 14G 312K 14G 1% /zones/cozone01/root/etc/svc/volatile
/zones/cozone03/dev 7.9G 5.2G 2.6G 67% /zones/cozone03/root/dev
/dev/md/dsk/d109 469M 1.0M 421M 1% /zones/cozone03/root/export/home
/dev/md/dsk/d605 963M 601M 304M 67% /zones/cozone03/root/ora01
/dev/md/dsk/d106 7.9G 482M 7.3G 7% /zones/cozone03/root/var
/zones/cozone01/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone01/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone01/root/dev/fd
swap 14G 88K 14G 1% /zones/cozone01/root/tmp
swap 14G 32K 14G 1% /zones/cozone01/root/var/run
proc 0K 0K 0K 0% /zones/cozone03/root/proc
ctfs 0K 0K 0K 0% /zones/cozone03/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone03/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone03/root/system/object
swap 14G 320K 14G 1% /zones/cozone03/root/etc/svc/volatile
/zones/cozone02/dev 7.9G 4.8G 3.0G 62% /zones/cozone02/root/dev
/dev/md/dsk/d108 469M 1.0M 421M 1% /zones/cozone02/root/export/home
/dev/md/dsk/d705 963M 601M 304M 67% /zones/cozone02/root/ora01
/dev/md/dsk/d706 963M 601M 304M 67% /zones/cozone02/root/ora02
/dev/md/dsk/d707 963M 601M 304M 67% /zones/cozone02/root/ora03
/dev/md/dsk/d709 963M 601M 304M 67% /zones/cozone02/root/ora05
/dev/md/dsk/d105 7.9G 327M 7.5G 5% /zones/cozone02/root/var
proc 0K 0K 0K 0% /zones/cozone02/root/proc
ctfs 0K 0K 0K 0% /zones/cozone02/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone02/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone02/root/system/object
swap 14G 320K 14G 1% /zones/cozone02/root/etc/svc/volatile
/zones/cozone03/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 5.2G 2.6G 67% /zones/cozone03/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 5.2G 2.6G 67% /zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone03/root/dev/fd
swap 14G 120K 14G 1% /zones/cozone03/root/tmp
swap 14G 32K 14G 1% /zones/cozone03/root/var/run
/zones/cozone02/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone02/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone02/root/dev/fd
swap 14G 120K 14G 1% /zones/cozone02/root/tmp
swap 14G 32K 14G 1% /zones/cozone02/root/var/run
root@sun15k-b #
Here you would find more SVM metadev on ABE's disks than I use in next steps. This is because I used scripts to recreate same SVM configuration again on ABE's disks including all FS used in the original BE. SVM namespace for ABE is d2XYZ, where dXYZ is the name of original (current PBE) SVM metadevice.
root@sun15k-b # metastat -p
d2000 -m d2010 d2020 1
d2010 1 1 c0t3d0s0
d2020 1 1 c1t3d0s0
d2005 -m d2015 d2025 1
d2015 1 1 c0t3d0s5
d2025 1 1 c1t3d0s5
d2003 -m d2013 d2023 1
d2013 1 1 c0t3d0s3
d2023 1 1 c1t3d0s3
d2006 -m d2016 d2026 1
d2016 1 1 c0t3d0s6
d2026 1 1 c1t3d0s6
d2001 -m d2011 d2021 1
d2011 1 1 c0t3d0s1
d2021 1 1 c1t3d0s1
d2102 -m d2042 d2062 1
d2042 1 1 d2032
d2032 -p c0t4d0s0 -o 20876228 -b 16780224
d2062 1 1 d2052
d2052 -p c1t4d0s0 -o 20876228 -b 16780224
d2100 -m d2040 d2060 1
d2040 1 1 d2030
d2030 -p c0t4d0s0 -o 1 -b 4096000
d2060 1 1 d2050
d2050 -p c1t4d0s0 -o 1 -b 4096000
d2108 -m d2048 d2068 1
d2048 1 1 d2038
d2038 -p c0t5d0s0 -o 51364680 -b 1024000
d2068 1 1 d2058
d2058 -p c1t5d0s0 -o 51364680 -b 1024000
d2101 -m d2041 d2061 1
d2041 1 1 d2031
d2031 -p c0t4d0s0 -o 4096002 -b 16780224
d2061 1 1 d2051
d2051 -p c1t4d0s0 -o 4096002 -b 16780224
d2104 -m d2044 d2064 1
d2044 1 1 d2034
d2034 -p c0t5d0s0 -o 1 -b 16780224
d2064 1 1 d2054
d2054 -p c1t5d0s0 -o 1 -b 16780224
d2103 -m d2043 d2063 1
d2043 1 1 d2033
d2033 -p c0t4d0s0 -o 37656454 -b 16780224
d2063 1 1 d2053
d2053 -p c1t4d0s0 -o 37656454 -b 16780224
d2105 -m d2045 d2065 1
d2045 1 1 d2035
d2035 -p c0t5d0s0 -o 16780226 -b 16780224
d2065 1 1 d2055
d2055 -p c1t5d0s0 -o 16780226 -b 16780224
d2106 -m d2046 d2066 1
d2046 1 1 d2036
d2036 -p c0t5d0s0 -o 33560452 -b 16780224
d2066 1 1 d2056
d2056 -p c1t5d0s0 -o 33560452 -b 16780224
d2109 -m d2049 d2069 1
d2049 1 1 d2039
d2039 -p c0t5d0s0 -o 52388682 -b 1024000
d2069 1 1 d2059
d2059 -p c1t5d0s0 -o 52388682 -b 1024000
d2107 -m d2047 d2067 1
d2047 1 1 d2037
d2037 -p c0t5d0s0 -o 50340678 -b 1024000
d2067 1 1 d2057
d2057 -p c1t5d0s0 -o 50340678 -b 1024000
d109 -m d49 d69 1
d49 1 1 d39
d39 -p c0t2d0s0 -o 52388682 -b 1024000
d69 1 1 d59
d59 -p c1t2d0s0 -o 52388682 -b 1024000
d107 -m d47 d67 1
d47 1 1 d37
d37 -p c0t2d0s0 -o 50340678 -b 1024000
d67 1 1 d57
d57 -p c1t2d0s0 -o 50340678 -b 1024000
d106 -m d46 d66 1
d46 1 1 d36
d36 -p c0t2d0s0 -o 33560452 -b 16780224
d66 1 1 d56
d56 -p c1t2d0s0 -o 33560452 -b 16780224
d105 -m d45 d65 1
d45 1 1 d35
d35 -p c0t2d0s0 -o 16780226 -b 16780224
d65 1 1 d55
d55 -p c1t2d0s0 -o 16780226 -b 16780224
d1 -m d11 d21 1
d11 1 1 c0t0d0s1
d21 1 1 c1t0d0s1
d104 -m d44 d64 1
d44 1 1 d34
d34 -p c0t2d0s0 -o 1 -b 16780224
d64 1 1 d54
d54 -p c1t2d0s0 -o 1 -b 16780224
d101 -m d41 d61 1
d41 1 1 d31
d31 -p c0t1d0s0 -o 4096002 -b 16780224
d61 1 1 d51
d51 -p c1t1d0s0 -o 4096002 -b 16780224
d108 -m d48 d68 1
d48 1 1 d38
d38 -p c0t2d0s0 -o 51364680 -b 1024000
d68 1 1 d58
d58 -p c1t2d0s0 -o 51364680 -b 1024000
d100 -m d40 d60 1
d40 1 1 d30
d30 -p c0t1d0s0 -o 1 -b 4096000
d60 1 1 d50
d50 -p c1t1d0s0 -o 1 -b 4096000
d103 -m d43 d63 1
d43 1 1 d33
d33 -p c0t1d0s0 -o 37656454 -b 16780224
d63 1 1 d53
d53 -p c1t1d0s0 -o 37656454 -b 16780224
d102 -m d42 d62 1
d42 1 1 d32
d32 -p c0t1d0s0 -o 20876228 -b 16780224
d62 1 1 d52
d52 -p c1t1d0s0 -o 20876228 -b 16780224
d6 -m d16 d26 1
d16 1 1 c0t0d0s6
d26 1 1 c1t0d0s6
d3 -m d13 d23 1
d13 1 1 c0t0d0s3
d23 1 1 c1t0d0s3
d5 -m d15 d25 1
d15 1 1 c0t0d0s5
d25 1 1 c1t0d0s5
d0 -m d10 d20 1
d10 1 1 c0t0d0s0
d20 1 1 c1t0d0s0
d169 1 1 d159
d159 -p c4t5d0s0 -o 52388682 -b 1024000
d168 1 1 d158
d158 -p c4t5d0s0 -o 51364680 -b 1024000
d167 1 1 d157
d157 -p c4t5d0s0 -o 50340678 -b 1024000
d166 1 1 d156
d156 -p c4t5d0s0 -o 33560452 -b 16780224
d165 1 1 d155
d155 -p c4t5d0s0 -o 16780226 -b 16780224
d164 1 1 d154
d154 -p c4t5d0s0 -o 1 -b 16780224
d163 1 1 d153
d153 -p c4t4d0s0 -o 37656454 -b 16780224
d162 1 1 d152
d152 -p c4t4d0s0 -o 20876228 -b 16780224
d160 1 1 d150
d150 -p c4t4d0s0 -o 1 -b 4096000
d161 1 1 d151
d151 -p c4t4d0s0 -o 4096002 -b 16780224
d126 1 1 c4t3d0s6
d123 1 1 c4t3d0s3
d125 1 1 c4t3d0s5
d120 1 1 c4t3d0s0
d121 1 1 c4t3d0s1
d709 -p c4t2d0s0 -o 8388613 -b 2097152
d707 -p c4t2d0s0 -o 6291460 -b 2097152
d706 -p c4t2d0s0 -o 4194307 -b 2097152
d705 -p c4t2d0s0 -o 2097154 -b 2097152
d605 -p c4t2d0s0 -o 1 -b 2097152
root@sun15k-b #
root@sun15k-b # metastat -s ora_dg -p
ora_dg/d505 -p c4t0d0s0 -o 16777225 -b 2097152
ora_dg/d500 -p c4t0d0s0 -o 14680072 -b 2097152
ora_dg/d6 -p c4t0d0s0 -o 12582919 -b 2097152
ora_dg/d5 -p c4t0d0s0 -o 10485766 -b 2097152
ora_dg/d4 -p c4t0d0s0 -o 8388613 -b 2097152
ora_dg/d3 -p c4t0d0s0 -o 6291460 -b 2097152
ora_dg/d2 -p c4t0d0s0 -o 4194307 -b 2097152
ora_dg/d1 -p c4t0d0s0 -o 2097154 -b 2097152
ora_dg/d0 -p c4t0d0s0 -o 1 -b 2097152
root@sun15k-b #
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes yes no -
Sol10u3-2Bpatched yes no no yes -
root@sun15k-b #
root@sun15k-b # ludelete Sol10u3-2Bpatched
Determining the devices to be marked free.
Updating boot environment configuration database.
Updating boot environment description database on all BEs.
Updating all boot environment configuration databases.
Boot environment <Sol10u3-2Bpatched> deleted.
root@sun15k-b #
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes yes no -
root@sun15k-b #
root@sun15k-b # #
root@sun15k-b #
root@sun15k-b # lufslist Sol10u3-FromFlar
boot environment name: Sol10u3-FromFlar
This boot environment is currently active.
This boot environment will be active on next system boot.
Filesystem fstype device size Mounted on Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/md/dsk/d1 swap 8743362048 - -
/dev/md/dsk/d0 ufs 17434953216 / -
/dev/md/dsk/d5 ufs 8591007744 /var -
/dev/md/dsk/d6 ufs 1073875968 /export/home -
/dev/md/dsk/d3 ufs 536937984 /globaldevices -
/dev/md/dsk/d100 ufs 2095981056 /crashfs -
/dev/md/dsk/d101 ufs 8591007744 /zones/cozone01 -
/dev/md/dsk/d102 ufs 8591007744 /zones/cozone02 -
/dev/md/dsk/d103 ufs 8591007744 /zones/cozone03 -
/dev/md/ora_dg/dsk/d0 ufs 1073741824 /export/ora02 -
/dev/md/ora_dg/dsk/d1 ufs 1073741824 /export/ora03 -
/dev/md/ora_dg/dsk/d2 ufs 1073741824 /export/ora04 -
/dev/md/ora_dg/dsk/d3 ufs 1073741824 /export/ora05 -
/dev/md/ora_dg/dsk/d4 ufs 1073741824 /export/ora06 -
/dev/md/ora_dg/dsk/d5 ufs 1073741824 /export/ora07 -
/dev/md/ora_dg/dsk/d6 ufs 1073741824 /export/ora08 -
zone <cozone01> within boot environment <Sol10u3-FromFlar>
/dev/md/dsk/d104 ufs 8591007744 /var -
/dev/md/dsk/d107 ufs 523625472 /export/home -
/dev/md/ora_dg/dsk/d500 ufs 1073741824 /app -
/dev/md/ora_dg/dsk/d505 ufs 1073741824 /ora01 -
zone <cozone03> within boot environment <Sol10u3-FromFlar>
/dev/md/dsk/d106 ufs 8591007744 /var -
/dev/md/dsk/d109 ufs 523625472 /export/home -
/dev/md/dsk/d605 ufs 1073741824 /ora01 -
zone <cozone02> within boot environment <Sol10u3-FromFlar>
/dev/md/dsk/d105 ufs 8591007744 /var -
/dev/md/dsk/d108 ufs 523625472 /export/home -
/dev/md/dsk/d705 ufs 1073741824 /ora01 -
/dev/md/dsk/d706 ufs 1073741824 /ora02 -
/dev/md/dsk/d707 ufs 1073741824 /ora03 -
/dev/md/dsk/d709 ufs 1073741824 /ora05 -
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # pwd
/root
This is my working dir with scpripts and “list files”
root@sun15k-b # cd SVMconf
root@sun15k-b #
root@sun15k-b # ls
3rdSubmirrorsToDetach.lst detach3rdSubmirrors.cmd setup_ABEmirrs_c0+1t3+4+5+d0_phaseII.cmd
addZoneVarFS.ksh lucreateExcludeFSs.lst setup_ABEsubmirrs_c0+1t3+4+5+d0_phaseI.cmd
check_patches.ksh lucreateFSs.lst setup_SOFTpars_c1t1d0+c1t2d0.cmd
create_bigfiles.ksh mountpointsForBigfiles.lst setup_SOFTpars_c4t4d0+c4t5d0.cmd
root@sun15k-b #
This list file is easiest way to define you PBE FSs to be recreated in new ABE. I've choosen just / and /var FSs as I'm going to use new ABE for patching not any application changes. You can use -m parameter of lucreate as an alternative on cmd line.
Format: mnt_point:dsk/dev:FStype
root@sun15k-b # cat lucreateFSs.lst
/:/dev/md/dsk/d2000:ufs
/var:/dev/md/dsk/d2005:ufs
/zones/cozone01:/dev/md/dsk/d2101:ufs
/zones/cozone01/root/var:/dev/md/dsk/d2104:ufs
/zones/cozone02:/dev/md/dsk/d2102:ufs
/zones/cozone02/root/var:/dev/md/dsk/d2105:ufs
/zones/cozone03:/dev/md/dsk/d2103:ufs
/zones/cozone03/root/var:/dev/md/dsk/d2106:ufs
root@sun15k-b #
The next file is quite important in complex environments. I've found FSs of other type then lofs defined in local zones as fs resource, but not specified for recreation in new ABE causing space constrains. Such FS data will be part of root “/” FS on new ABE if not excluded by -f paramater of lucreate even it is independent file-system structure used just for one whole-root local zone. This will be problem e.g. you use SAN array LUNs as data FSs in your local zones – your new ABE root FS will not probably have enough space for that big amount of data.
So take special care of real local zones' FSs which you do not specify by -M <FSs_list_file_for_recreating> or -m on lucreate cmd line and are not of type lofs.
This is example of such FS in zonecfg export output:
add fs
set dir=/ora03
set special=/dev/md/dsk/d707
set raw=/dev/md/rdsk/d707
set type=ufs
Just be careful this FS will be mounted somewhere list /zones/<zone-name>/root/<the-dir-value-in-”set dir=”> and you need to exclude exactly this path.
root@sun15k-b # cat lucreateExcludeFSs.lst
/zones/cozone01/root/export/home
/zones/cozone01/root/app
/zones/cozone01/root/ora01
/zones/cozone02/root/export/home
/zones/cozone02/root/ora01
/zones/cozone02/root/ora02
/zones/cozone02/root/ora03
/zones/cozone02/root/ora05
/zones/cozone03/root/export/home
/zones/cozone03/root/ora01
root@sun15k-b #
Here you can use -c option for naming of you current PBE
-C tell lucreate wich submirror to use as a source in SVM mirror configuration (choose just one)
in case of creation of you first ABE you can use:
-c would assign the name to the current BE
-M defines file with list of FSs to be created in new ABEsubmirrs (see section above)
-f defines file with list of FSs|mountpoints|dirs|files to exclude from ABE creation process (see section above)
Zones in your current PBE are running during whole process of creation of new ABE
root@sun15k-b # zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 cozone01 running /zones/cozone01 native shared
2 cozone03 running /zones/cozone03 native shared
3 cozone02 running /zones/cozone02 native shared
root@sun15k-b #
root@sun15k-b #
root@sun15k-b #
This cmd will create your very first ABE and name it “Sol10u3-2Bpatched”
root@sun15k-b #lucreate -c Sol10u3-FromFlar -C /dev/dsk/c0t0d0s0 -M ./lucreateFSs.lst -n Sol10u3-2Bpatched -f ./lucreateExcludeFSs.lst
This cmd I used to recreate ABE, so no spec of current PBE is needed anymore. I deleted the old one ABE using ludelete first. The creating process of ABE is the same as for the firsttime.
root@sun15k-b # lucreate -C /dev/dsk/c0t0d0s0 -M ./lucreateFSs.lst -n Sol10u3-2Bpatched -f ./lucreateExcludeFSs.lst
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment <Sol10u3-FromFlar> file systems with the
file system(s) you specified for the new boot environment. Determining
which file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Searching /dev for possible boot environment filesystem devices
Updating system configuration files.
The device </dev/dsk/c0t3d0s0> is not a root device for any boot environment; cannot get BE ID.
Creating configuration for boot environment <Sol10u3-2Bpatched>.
Source boot environment is <Sol10u3-FromFlar>.
Creating boot environment <Sol10u3-2Bpatched>.
Creating file systems on boot environment <Sol10u3-2Bpatched>.
Creating <ufs> file system for </> in zone <global> on </dev/md/dsk/d2000>.
Creating <ufs> file system for </var> in zone <global> on </dev/md/dsk/d2005>.
Creating <ufs> file system for </zones/cozone02> in zone <global> on </dev/md/dsk/d2102>.
Creating <ufs> file system for </zones/cozone02/root/var> in zone <global> on </dev/md/dsk/d2105>.
Creating <ufs> file system for </zones/cozone03> in zone <global> on </dev/md/dsk/d2103>.
Creating <ufs> file system for </zones/cozone03/root/var> in zone <global> on </dev/md/dsk/d2106>.
Creating <ufs> file system for </zones/cozone01> in zone <global> on </dev/md/dsk/d2101>.
Creating <ufs> file system for </zones/cozone01/root/var> in zone <global> on </dev/md/dsk/d2104>.
Mounting file systems for boot environment <Sol10u3-2Bpatched>.
Calculating required sizes of file systems for boot environment <Sol10u3-2Bpatched>.
Populating file systems on boot environment <Sol10u3-2Bpatched>.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point </>.
Populating contents of mount point </var>.
Populating contents of mount point </zones/cozone02>.
Populating contents of mount point </zones/cozone02/root/var>.
Populating contents of mount point </zones/cozone03>.
Populating contents of mount point </zones/cozone03/root/var>.
Populating contents of mount point </zones/cozone01>.
Populating contents of mount point </zones/cozone01/root/var>.
Copying.
Creating shared file system mount points.
Copying root of zone <cozone01>.
Copying root of zone <cozone03>.
Copying root of zone <cozone02>.
Creating compare databases for boot environment <Sol10u3-2Bpatched>.
Creating compare database for file system </zones/cozone01>.
Creating compare database for file system </zones/cozone03>.
Creating compare database for file system </zones/cozone02>.
Creating compare database for file system </var>.
Creating compare database for file system </>.
Updating compare databases on boot environment <Sol10u3-2Bpatched>.
Making boot environment <Sol10u3-2Bpatched> bootable.
Setting root slice to Solaris Volume Manager metadevice </dev/md/dsk/d2000>.
Population of boot environment <Sol10u3-2Bpatched> successful.
Creation of boot environment <Sol10u3-2Bpatched> successful.
root@sun15k-b #
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes yes no -
Sol10u3-2Bpatched yes no no yes -
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # lufslist Sol10u3-2Bpatched
boot environment name: Sol10u3-2Bpatched
Filesystem fstype device size Mounted on Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/md/dsk/d1 swap 8743362048 - -
/dev/md/dsk/d2000 ufs 17434953216 / -
/dev/md/dsk/d2005 ufs 8591007744 /var -
/dev/md/dsk/d6 ufs 1073875968 /export/home -
/dev/md/dsk/d3 ufs 536937984 /globaldevices -
/dev/md/dsk/d100 ufs 2095981056 /crashfs -
/dev/md/dsk/d2101 ufs 8591007744 /zones/cozone01 -
/dev/md/dsk/d2104 ufs 8591007744 /zones/cozone01/root/var -
/dev/md/dsk/d2102 ufs 8591007744 /zones/cozone02 -
/dev/md/dsk/d2105 ufs 8591007744 /zones/cozone02/root/var -
/dev/md/dsk/d2103 ufs 8591007744 /zones/cozone03 -
/dev/md/dsk/d2106 ufs 8591007744 /zones/cozone03/root/var -
/dev/md/ora_dg/dsk/d0 ufs 1073741824 /export/ora02 -
/dev/md/ora_dg/dsk/d1 ufs 1073741824 /export/ora03 -
/dev/md/ora_dg/dsk/d2 ufs 1073741824 /export/ora04 -
/dev/md/ora_dg/dsk/d3 ufs 1073741824 /export/ora05 -
/dev/md/ora_dg/dsk/d4 ufs 1073741824 /export/ora06 -
/dev/md/ora_dg/dsk/d5 ufs 1073741824 /export/ora07 -
/dev/md/ora_dg/dsk/d6 ufs 1073741824 /export/ora08 -
zone <cozone01> within boot environment <Sol10u3-2Bpatched>
/dev/md/dsk/d107 ufs 523625472 /export/home -
/dev/md/ora_dg/dsk/d500 ufs 1073741824 /app -
/dev/md/ora_dg/dsk/d505 ufs 1073741824 /ora01 -
zone <cozone03> within boot environment <Sol10u3-2Bpatched>
/dev/md/dsk/d109 ufs 523625472 /export/home -
/dev/md/dsk/d605 ufs 1073741824 /ora01 -
zone <cozone02> within boot environment <Sol10u3-2Bpatched>
/dev/md/dsk/d108 ufs 523625472 /export/home -
/dev/md/dsk/d705 ufs 1073741824 /ora01 -
/dev/md/dsk/d706 ufs 1073741824 /ora02 -
/dev/md/dsk/d707 ufs 1073741824 /ora03 -
/dev/md/dsk/d709 ufs 1073741824 /ora05 -
root@sun15k-b #
Now you can decide whenever to activate ABE to became PBE and do test boot into it or continue with patching.
I decide to activate and test booting. State after ABE creation looks like this:
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes yes no -
Sol10u3-2Bpatched yes no no yes -
root@sun15k-b #
This is how to activate ABE
root@sun15k-b # luactivate Sol10u3-2Bpatched
A Live Upgrade Sync operation will be performed on startup of boot environment <Sol10u3-2Bpatched>.
**********************************************************************
The target boot environment has been activated. It will be used when you
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You
MUST USE either the init or the shutdown command when you reboot. If you
do not use either init or shutdown, the system will not boot using the
target BE.
**********************************************************************
In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:
1. Enter the PROM monitor (ok prompt).
2. Change the boot device back to the original boot environment by typing:
setenv boot-device /pci@5c,700000/pci@1/scsi@2/disk@0,0:a
3. Boot to the original boot environment by typing:
boot
**********************************************************************
Activation of boot environment <Sol10u3-2Bpatched> successful.
root@sun15k-b #
BEs status will than look like this:
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes no no -
Sol10u3-2Bpatched yes no yes no -
root@sun15k-b #
In my test environment even used proper procedure (“shudown” or “init” cmds to reboot the OS) it didn't work for me. I needed to tell the system the boot disk in OBP to boot into “Sol10u3-2Bpatched” BE.
{60} ok
{60} ok devalias
net /pci@5c,70.0000/network@3,1
man-net /pci@5c,70.0000/network@3,1
rootdisk /pci@5c,700000/pci@1/scsi@2/disk@0,0:a
name aliases
{60} ok
{60} ok printenv boot-device
boot-device = rootdisk
{60} ok
{60} ok boot /pci@5c,700000/pci@1/scsi@2/disk@3,0:a
Boot device: /pci@5c,700000/pci@1/scsi@2/disk@3,0:a File and args:
Notice: Unimplemented procedure 'encode-unit' in /pci@5c,700000/pci@1/scsi@2
Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54.
FCode UFS Reader 1.12 00/07/17 15:48:16.
Loading: /platform/SUNW,Sun-Fire-15000/ufsboot
Loading: /platform/sun4u/ufsboot
^MSunOS Release 5.10 Version Generic_127127-11 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
os-io Hostname: sun15k-b
SUNW,eri0 : 100 Mbps half duplex link up
Configuring devices.
Aug 11 09:55:20 in.mpathd[202]: No test address configured on interface ce5; disabling probe-based failure detection on it
^MAug 11 09:55:20 in.mpathd[202]: No test address configured on interface ce4; disabling probe-based failure detection on it
^MAug 11 09:55:20 in.mpathd[202]: No test address configured on interface ce1; disabling probe-based failure detection on it
^MAug 11 09:55:20 in.mpathd[202]: No test address configured on interface ce0; disabling probe-based failure detection on it
^Mchecking ufs filesystems
/dev/md/ora_dg/rdsk/d6: is logging.
/dev/md/rdsk/d3: is logging.
/dev/md/rdsk/d100: is logging.
/dev/md/rdsk/d2106: is logging.
/dev/md/rdsk/d2103: is logging.
/dev/md/ora_dg/rdsk/d5: is logging.
/dev/md/rdsk/d6: is logging.
/dev/md/ora_dg/rdsk/d4: is logging.
/dev/md/rdsk/d2105: is logging.
/dev/md/rdsk/d2102: is logging.
/dev/md/ora_dg/rdsk/d3: is logging.
/dev/md/rdsk/d2104: is logging.
/dev/md/ora_dg/rdsk/d2: is logging.
/dev/md/rdsk/d2101: is logging.
/dev/md/ora_dg/rdsk/d1: is logging.
/dev/md/ora_dg/rdsk/d0: is logging.
/dev/md/ora_dg/rdsk/d5: is logging.
/dev/md/rdsk/d6: is logging.
/dev/md/ora_dg/rdsk/d4: is logging.
/dev/md/rdsk/d2105: is logging.
/dev/md/rdsk/d2102: is logging.
/dev/md/ora_dg/rdsk/d3: is logging.
/dev/md/rdsk/d2104: is logging.
/dev/md/ora_dg/rdsk/d2: is logging.
/dev/md/rdsk/d2101: is logging.
/dev/md/ora_dg/rdsk/d1: is logging.
/dev/md/ora_dg/rdsk/d0: is logging.
sun15k-b console login: root
Status of BEs and mounted FSs are now on new BE (see d2000 SVM metadevs)
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes no no yes -
Sol10u3-2Bpatched yes yes yes no -
root@sun15k-b # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d2000 16G 10G 5.4G 66% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 14G 1.4M 14G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d2005 7.9G 820M 7.0G 11% /var
swap 14G 136K 14G 1% /tmp
swap 14G 40K 14G 1% /var/run
/dev/md/dsk/d3 480M 1.0M 431M 1% /globaldevices
/dev/md/dsk/d100 1.9G 706M 1.1G 38% /crashfs
/dev/md/ora_dg/dsk/d0
963M 601M 304M 67% /export/ora02
/dev/md/dsk/d6 992M 1.0M 932M 1% /export/home
/dev/md/ora_dg/dsk/d1
963M 601M 304M 67% /export/ora03
/dev/md/dsk/d2103 7.9G 5.4G 2.4G 69% /zones/cozone03
/dev/md/ora_dg/dsk/d4
963M 601M 304M 67% /export/ora06
/dev/md/dsk/d2101 7.9G 6.0G 1.8G 77% /zones/cozone01
/dev/md/ora_dg/dsk/d2
963M 601M 304M 67% /export/ora04
/dev/md/dsk/d2102 7.9G 7.1G 697M 92% /zones/cozone02
/dev/md/ora_dg/dsk/d3
963M 601M 304M 67% /export/ora05
/dev/md/ora_dg/dsk/d5
963M 601M 304M 67% /export/ora07
/dev/md/ora_dg/dsk/d6
963M 601M 304M 67% /export/ora08
/dev/md/dsk/d2106 7.9G 235M 7.6G 3% /zones/cozone03/root/var
/dev/md/dsk/d2105 7.9G 235M 7.6G 3% /zones/cozone02/root/var
/dev/md/dsk/d2104 7.9G 415M 7.4G 6% /zones/cozone01/root/var
root@sun15k-b #
Zones are ready for its boot now
root@sun15k-b #
root@sun15k-b # zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- cozone01 installed /zones/cozone01 native shared
- cozone03 installed /zones/cozone03 native shared
- cozone02 installed /zones/cozone02 native shared
root@sun15k-b #
root@sun15k-b # zoneadm -z cozone01 boot
zoneadm: zone 'cozone01': These file-systems are mounted on subdirectories of /zones/cozone01/root:
zoneadm: zone 'cozone01': /zones/cozone01/root/var
zoneadm: zone 'cozone01': call to zoneadmd failed
root@sun15k-b #
In this case you should check local zones configuration if zones' resource of type “fs” for /var FS persisted BE creation. It was lost for all local zones in new BE zones' configuration. Actually this entries were not crated rather then had been lost.
Be careful, the /var FS was recreated in new BE as was requested during lucreate cmd phase, the /var FS reference was just lost from local zones' configurations. You need to specify the ABE /var when adding back (it's the d2XYZ SVM metadev). Use zonecfg cmd to manualy add “fs” resource entry for /var in all local zones or use my script showed in next section for interactive adding them for you.
Example of SVM metadev for cozone01 local zone for lost /var FS as was defined in list file for lucreate (-M parameter):
/zones/cozone01/root/var:/dev/md/dsk/d2104:ufs
The zonecfg entry looks like this:
fs:
dir: /var
special: /dev/md/dsk/d2104
raw: /dev/md/rdsk/d2104
type: ufs
options: []
Here I have /var FS fixed for zone cozone01
# zoneadm -z cozone01 boot
root@sun15k-b #
# zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / native shared
19 cozone01 running /zones/cozone01 native shared
- cozone03 installed /zones/cozone03 native shared
- cozone02 installed /zones/cozone02 native shared
root@sun15k-b #
root@sun15k-b # cat addZoneVarFS.ksh
#!/bin/ksh
function create_cmdfile {
DEV="$1"
RDEV="$2"
CMDFILE="/tmp/$3-zonecfg4varFS.cmd"
cat > $CMDFILE << __EOF
add fs
set dir=/var
set special=`echo $DEV`
set raw=`echo $RDEV`
set type=ufs
end
__EOF
}
function check_zone4varFS {
##echo "DEBUG check_zone4varFS function"
zonecfg -z $ZONENAME export | grep '/var' 2>&1 1>/dev/null
if [ $? -ne 0 ]
then
echo " Zone $ZONENAME separate /var FS not found."
read ADDVAR?"Do you want do add /var FS to zone config (Y/N)? "
case $ADDVAR in
y|Y)
ADDVARFLAG=0
;;
n|N)
ADDVARFLAG=1
;;
*)
echo "Please anwer Y or N."
ADDVARFLAG=2
check_zone4varFS
;;
esac
else
echo " Zone $ZONENAME has /var FS defined as separate FS resource."
fi
}
function check_root {
id | grep 'uid=0(root)' 2>&1 > /dev/null
if [ $? -ne 0 ]
then
echo "You must be super-user to run this scprit propertly!"
echo "Exiting..."
exit 3
fi
}
function backup_zones {
BACKUPFILENAME="zonesDirBackup`date +%y%m%d%H%M%S`.tar"
cd /var/tmp
tar cf $BACKUPFILENAME -C / etc/zones
if [ $? -ne 0 ]
then
echo " Backup of /etc/zones directory FAILED!"
else
echo " Backup of /etc/zones directore done to /var/tmp, filename: $BACKUPFILENAME."
fi
cd - 2>&1 > /dev/null
}
#
# MAIN body
#
echo
echo
check_root
backup_zones
echo
zoneadm list -civ | egrep -v 'global|ID.*NAME.*STATUS' | awk '{print $2}' > /tmp/zonecfg4varFS.lst
for ZONENAME in `cat /tmp/zonecfg4varFS.lst`
do
echo
echo "Checking zone: $ZONENAME"
echo
ADDVARFLAG=""
check_zone4varFS
case $ADDVARFLAG in
0)
read ZONEVARDSK?"Specify device for /var mountpoint for zone $ZONENAME: "
read ZONEVARRDSK?"Specify raw device for /var mountpoint for zone $ZONENAME: "
create_cmdfile $ZONEVARDSK $ZONEVARRDSK $ZONENAME
zonecfg -z $ZONENAME -f $CMDFILE
if [ $? -ne 0 ]
then
echo
echo "PROBLEMS WHEN MODIFYING ZONE $ZONENAME !!"
echo
else
echo
echo "ZONE $ZONENAME MODIFIED."
echo
fi
;;
1)
echo "Adding of /var FS not requested."
;;
2)
echo "Unable to determine if /var FS is requested or not."
esac
done
echo
echo
root@sun15k-b #
You need to check new BE's /etc/vfstab file. There could be “/zones/<zone-name>/root/var” entreries. This is result of lucreate process which has no special handling of local zones “/var” FSs and treats them as standard data FSs. This enteries in /etc/vfstab will prevent your local zones from booting as zone boot process need to mount local zone's /var FS itself.
When you have fixed all zones /var problem zones' FS should look like this:
root@sun15k-b # df -lhZ | grep zone
/dev/md/dsk/d2103 7.9G 5.4G 2.4G 69% /zones/cozone03
/dev/md/dsk/d2101 7.9G 6.0G 1.8G 77% /zones/cozone01
/dev/md/dsk/d2102 7.9G 7.1G 695M 92% /zones/cozone02
/dev/md/ora_dg/dsk/d500 963M 601M 304M 67% /zones/cozone01/root/app
/zones/cozone01/dev 7.9G 6.0G 1.8G 77% /zones/cozone01/root/dev
/dev/md/dsk/d107 469M 1.3M 420M 1% /zones/cozone01/root/export/home
/dev/md/ora_dg/dsk/d505 963M 601M 304M 67% /zones/cozone01/root/ora01
/export/ora02 963M 601M 304M 67% /zones/cozone01/root/ora02
/export/ora03 963M 601M 304M 67% /zones/cozone01/root/ora03
/export/ora04 963M 601M 304M 67% /zones/cozone01/root/ora04
/export/ora05 963M 601M 304M 67% /zones/cozone01/root/ora05
/export/ora06 963M 601M 304M 67% /zones/cozone01/root/ora06
/export/ora07 963M 601M 304M 67% /zones/cozone01/root/ora07
/export/ora08 963M 601M 304M 67% /zones/cozone01/root/ora08
/dev/md/dsk/d2104 7.9G 415M 7.4G 6% /zones/cozone01/root/var
proc 0K 0K 0K 0% /zones/cozone01/root/proc
ctfs 0K 0K 0K 0% /zones/cozone01/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone01/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone01/root/system/object
swap 14G 320K 14G 1% /zones/cozone01/root/etc/svc/volatile
/zones/cozone01/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 7.9G 6.0G 1.8G 77% /zones/cozone01/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 7.9G 6.0G 1.8G 77% /zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone01/root/dev/fd
swap 14G 0K 14G 0% /zones/cozone01/root/tmp
swap 14G 32K 14G 1% /zones/cozone01/root/var/run
/zones/cozone02/dev 7.9G 7.1G 695M 92% /zones/cozone02/root/dev
/dev/md/dsk/d108 469M 1.0M 421M 1% /zones/cozone02/root/export/home
/dev/md/dsk/d705 963M 601M 304M 67% /zones/cozone02/root/ora01
/dev/md/dsk/d706 963M 601M 304M 67% /zones/cozone02/root/ora02
/dev/md/dsk/d707 963M 601M 304M 67% /zones/cozone02/root/ora03
/dev/md/dsk/d709 963M 601M 304M 67% /zones/cozone02/root/ora05
/dev/md/dsk/d2105 7.9G 235M 7.6G 3% /zones/cozone02/root/var
/dev/md/dsk/d108 469M 1.0M 421M 1% /zones/cozone02/root/export/home
/dev/md/dsk/d2104 7.9G 415M 7.4G 6% /zones/cozone01/root/var
proc 0K 0K 0K 0% /zones/cozone01/root/proc
ctfs 0K 0K 0K 0% /zones/cozone01/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone01/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone01/root/system/object
swap 14G 320K 14G 1% /zones/cozone01/root/etc/svc/volatile
/zones/cozone01/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 7.9G 6.0G 1.8G 77% /zones/cozone01/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 7.9G 6.0G 1.8G 77% /zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone01/root/dev/fd
swap 14G 0K 14G 0% /zones/cozone01/root/tmp
swap 14G 32K 14G 1% /zones/cozone01/root/var/run
/zones/cozone02/dev 7.9G 7.1G 695M 92% /zones/cozone02/root/dev
/dev/md/dsk/d108 469M 1.0M 421M 1% /zones/cozone02/root/export/home
/dev/md/dsk/d705 963M 601M 304M 67% /zones/cozone02/root/ora01
/dev/md/dsk/d706 963M 601M 304M 67% /zones/cozone02/root/ora02
/dev/md/dsk/d707 963M 601M 304M 67% /zones/cozone02/root/ora03
/dev/md/dsk/d709 963M 601M 304M 67% /zones/cozone02/root/ora05
/dev/md/dsk/d2105 7.9G 235M 7.6G 3% /zones/cozone02/root/var
proc 0K 0K 0K 0% /zones/cozone02/root/proc
ctfs 0K 0K 0K 0% /zones/cozone02/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone02/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone02/root/system/object
swap 14G 304K 14G 1% /zones/cozone02/root/etc/svc/volatile
/zones/cozone02/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 7.9G 7.1G 695M 92% /zones/cozone02/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 7.9G 7.1G 695M 92% /zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone02/root/dev/fd
swap 14G 32K 14G 1% /zones/cozone02/root/tmp
swap 14G 40K 14G 1% /zones/cozone02/root/var/run
/zones/cozone03/dev 7.9G 5.4G 2.4G 69% /zones/cozone03/root/dev
/dev/md/dsk/d109 469M 1.0M 421M 1% /zones/cozone03/root/export/home
/dev/md/dsk/d605 963M 601M 304M 67% /zones/cozone03/root/ora01
/dev/md/dsk/d2106 7.9G 235M 7.6G 3% /zones/cozone03/root/var
proc 0K 0K 0K 0% /zones/cozone03/root/proc
ctfs 0K 0K 0K 0% /zones/cozone03/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone03/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone03/root/system/object
swap 14G 304K 14G 1% /zones/cozone03/root/etc/svc/volatile
/zones/cozone03/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 7.9G 5.4G 2.4G 69% /zones/cozone03/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 7.9G 5.4G 2.4G 69% /zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone03/root/dev/fd
swap 14G 32K 14G 1% /zones/cozone03/root/tmp
swap 14G 40K 14G 1% /zones/cozone03/root/var/run
root@sun15k-b #
root@sun15k-b #
Again in my configuration even last luactivate was run for “Sol10u3-2Bpatched” running of “init 6” cmd will cause boot back into original PBE named “Sol10u3-FromFlar” with root FS on SVM metadev “d0”. This is propably cause by lack of interaction between luactivate and OS or OBP in my test environment.
So booting to particular BE is driven rather by selecting proper boot-device in OBP than using luactivate cmd again. It still recommend to run luactivate cmd and than use proper boot-device to ensure you follow proper procedure for BE switching (needed at least for BEs' synchronization – see man synclist).
After “init 6” OBP used its default boot-device, which was original PBE's disk0. I was back in “Sol10u3-FromFlar” (root FS on SVM metadev d0) and this was output of lustatus:
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes yes no -
Sol10u3-2Bpatched yes no no yes -
root@sun15k-b #
When I use newly created BE disk “/pci@5c,700000/pci@1/scsi@2/disk@3,0:a” I will be in “Sol10u3-2Bpatched” again.
To handle booting more easily OBP aliases can be created:
{60} ok nvalias ABE-rootdisk /pci@5c,700000/pci@1/scsi@2/disk@3,0:a
{60} ok nvalias ABE-rootmirror /pci@7c,700000/pci@1/scsi@2/disk@3,0:a
{60} ok
{60} ok nvalias rootmirror /pci@7c,700000/pci@1/scsi@2/disk@0,0:a
{60} ok
Caution, my case showed OBP is case (in)sensitive. After reseting I figured out that those OBP aliases has been created in real by running cmds above:
{60} ok devalias
net /pci@5c,70.0000/network@3,1
man-net /pci@5c,70.0000/network@3,1
rootdisk /pci@5c,700000/pci@1/scsi@2/disk@0,0:a
abe-rootdisk /pci@5c,700000/pci@1/scsi@2/disk@3,0:a
abe-rootmirror /pci@7c,700000/pci@1/scsi@2/disk@3,0:a
rootmirror /pci@7c,700000/pci@1/scsi@2/disk@0,0:a
name aliases
{60} ok
Booting of rootmirror shold be fine if you original environment was configured correctly.
{60} ok boot abe-rootmirror
Boot device: /pci@7c,700000/pci@1/scsi@2/disk@3,0:a File and args:
Notice: Unimplemented procedure 'encode-unit' in /pci@7c,700000/pci@1/scsi@2
The file just loaded does not appear to be executable.
{60} ok
This is caused by missing bootblock on new ABE's mirror disk. Fix it using installboot(1M) cmd for abe-rootmirror disk:
root@sun15k-b # installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t3d0s0
Now when you boot from abe-rootmirror BE named “Sol10u3-FromFlar” is you ABE, can be mounted etc...
Global and local zones have their / and /var FSs on newly created destinations.
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d2000 16G 10G 5.4G 66% /
/dev/md/dsk/d2005 7.9G 821M 7.0G 11% /var
/dev/md/dsk/d2101 7.9G 6.0G 1.8G 77% /zones/cozone01
/dev/md/dsk/d2104 7.9G 416M 7.4G 6% /zones/cozone01/root/var
/dev/md/dsk/d2102 7.9G 7.1G 693M 92% /zones/cozone02
/dev/md/dsk/d2105 7.9G 235M 7.6G 3% /zones/cozone02/root/var
/dev/md/dsk/d2103 7.9G 5.4G 2.4G 69% /zones/cozone03
/dev/md/dsk/d2106 7.9G 235M 7.6G 3% /zones/cozone03/root/var
root@sun15k-b #
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes no no yes -
Sol10u3-2Bpatched yes yes yes no -
root@sun15k-b #
root@sun15k-b # lumount Sol10u3-FromFlar
/.alt.Sol10u3-FromFlar
root@sun15k-b #
root@sun15k-b # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d2000 16G 10G 5.4G 66% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 14G 1.4M 14G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d2005 7.9G 821M 7.0G 11% /var
swap 14G 152K 14G 1% /tmp
swap 14G 64K 14G 1% /var/run
/dev/md/dsk/d3 480M 1.0M 431M 1% /globaldevices
/dev/md/dsk/d100 1.9G 706M 1.1G 38% /crashfs
/dev/md/ora_dg/dsk/d0
963M 601M 304M 67% /export/ora02
/dev/md/dsk/d6 992M 1.0M 932M 1% /export/home
/dev/md/ora_dg/dsk/d3
963M 601M 304M 67% /export/ora05
/dev/md/dsk/d2101 7.9G 6.0G 1.8G 77% /zones/cozone01
/dev/md/dsk/d2102 7.9G 7.1G 693M 92% /zones/cozone02
/dev/md/ora_dg/dsk/d1
963M 601M 304M 67% /export/ora03
/dev/md/dsk/d2103 7.9G 5.4G 2.4G 69% /zones/cozone03
/dev/md/ora_dg/dsk/d5
963M 601M 304M 67% /export/ora07
/dev/md/ora_dg/dsk/d2
963M 601M 304M 67% /export/ora04
/dev/md/ora_dg/dsk/d6
963M 601M 304M 67% /export/ora08
/dev/md/ora_dg/dsk/d4
963M 601M 304M 67% /export/ora06
/dev/md/dsk/d0 16G 10G 5.4G 66% /.alt.Sol10u3-FromFlar
/dev/md/dsk/d5 7.9G 1.7G 6.1G 22% /.alt.Sol10u3-FromFlar/var
/export/home 992M 1.0M 932M 1% /.alt.Sol10u3-FromFlar/export/home
/globaldevices 480M 1.0M 431M 1% /.alt.Sol10u3-FromFlar/globaldevices
/crashfs 1.9G 706M 1.1G 38% /.alt.Sol10u3-FromFlar/crashfs
/dev/md/dsk/d101 7.9G 4.8G 3.0G 62% /.alt.Sol10u3-FromFlar/zones/cozone01
/dev/md/dsk/d102 7.9G 4.8G 3.0G 62% /.alt.Sol10u3-FromFlar/zones/cozone02
/dev/md/dsk/d103 7.9G 4.8G 3.0G 62% /.alt.Sol10u3-FromFlar/zones/cozone03
/export/ora02 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora02
/export/ora03 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora03
/export/ora04 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora04
/export/ora05 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora05
/export/ora06 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora06
/export/ora07 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora07
/export/ora08 963M 601M 304M 67% /.alt.Sol10u3-FromFlar/export/ora08
swap 14G 24K 14G 1% /.alt.Sol10u3-FromFlar/var/run
swap 14G 0K 14G 0% /.alt.Sol10u3-FromFlar/tmp
swap 14G 8K 14G 1% /.alt.Sol10u3-FromFlar/zones/cozone01/lu
swap 14G 8K 14G 1% /.alt.Sol10u3-FromFlar/zones/cozone03/lu
swap 14G 8K 14G 1% /.alt.Sol10u3-FromFlar/zones/cozone02/lu
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 cozone01 running /zones/cozone01 native shared
2 cozone03 running /zones/cozone03 native shared
3 cozone02 running /zones/cozone02 native shared
root@sun15k-b #
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # lufslist Sol10u3-FromFlar
boot environment name: Sol10u3-FromFlar
Filesystem fstype device size Mounted on Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/md/dsk/d1 swap 8743362048 - -
/dev/md/dsk/d0 ufs 17434953216 / -
/dev/md/dsk/d5 ufs 8591007744 /var -
/dev/md/dsk/d6 ufs 1073875968 /export/home -
/dev/md/dsk/d3 ufs 536937984 /globaldevices -
/dev/md/dsk/d100 ufs 2095981056 /crashfs -
/dev/md/dsk/d101 ufs 8591007744 /zones/cozone01 -
/dev/md/dsk/d102 ufs 8591007744 /zones/cozone02 -
/dev/md/dsk/d103 ufs 8591007744 /zones/cozone03 -
/dev/md/ora_dg/dsk/d0 ufs 1073741824 /export/ora02 -
/dev/md/ora_dg/dsk/d1 ufs 1073741824 /export/ora03 -
/dev/md/ora_dg/dsk/d2 ufs 1073741824 /export/ora04 -
/dev/md/ora_dg/dsk/d3 ufs 1073741824 /export/ora05 -
/dev/md/ora_dg/dsk/d4 ufs 1073741824 /export/ora06 -
/dev/md/ora_dg/dsk/d5 ufs 1073741824 /export/ora07 -
/dev/md/ora_dg/dsk/d6 ufs 1073741824 /export/ora08 -
zone <cozone01> within boot environment <Sol10u3-FromFlar>
/dev/md/dsk/d104 ufs 8591007744 /var -
/dev/md/dsk/d107 ufs 523625472 /export/home -
/dev/md/ora_dg/dsk/d500 ufs 1073741824 /app -
/dev/md/ora_dg/dsk/d505 ufs 1073741824 /ora01 -
zone <cozone03> within boot environment <Sol10u3-FromFlar>
/dev/md/dsk/d106 ufs 8591007744 /var -
/dev/md/dsk/d109 ufs 523625472 /export/home -
/dev/md/dsk/d605 ufs 1073741824 /ora01 -
zone <cozone02> within boot environment <Sol10u3-FromFlar>
/dev/md/dsk/d105 ufs 8591007744 /var -
/dev/md/dsk/d108 ufs 523625472 /export/home -
/dev/md/dsk/d705 ufs 1073741824 /ora01 -
/dev/md/dsk/d706 ufs 1073741824 /ora02 -
/dev/md/dsk/d707 ufs 1073741824 /ora03 -
/dev/md/dsk/d709 ufs 1073741824 /ora05 -
root@sun15k-b #
Be carefull in which BE you ended up before proceeding to patching.
This step is application of patchbudle 05-2008 for SPARC to ABE. Its application can take several hours to complete and in my case I needed to do two important sub-steps here:
edit the installbundle.sh script to run it successfully in my configuration. This was needed to get over “zones not in patchable state” problem. (The script is quite complex and reason&explanation why I needed to do this exact change for my environment would need further analysis and consultation)
edit patch_order file to remove patches which would fail & stop application process. This change prevented the main script of attempts to apply patches which application would fail anyway.
root@sun15k-b # cd /net/<NFS-server>/SHARENFS/UPLOAD/patchbundle_0508_sparc
root@sun15k-b # ls -l
total 561
-r--r--r-- 1 root root 2579 May 27 20:08 Copyright
-r--r--r-- 1 root root 2579 May 29 03:35 Copyright_chunk2
-r--r--r-- 1 root root 2579 May 29 03:35 Copyright_chunk3
-r--r--r-- 1 root root 14684 May 27 20:08 LEGAL_LICENSE.TXT
-r--r--r-- 1 root root 14684 May 29 03:36 LEGAL_LICENSE_chunk2.TXT
-r--r--r-- 1 root root 14684 May 29 03:36 LEGAL_LICENSE_chunk3.TXT
drwxr-xr-x 476 root root 476 Aug 13 15:31 Patches
-r--r--r-- 1 root root 48283 Jun 4 10:22 README
-rwxr-xr-x 1 root root 76671 Aug 12 17:32 installbundle.sh
-rwxr-xr-x 1 root root 76585 May 27 20:08 installbundle.sh_OrigFromBundle
-r--r--r-- 1 root root 4670 Aug 14 17:00 patch_order
-r--r--r-- 1 root root 4760 Aug 13 10:13 patch_order_Orig
-r--r--r-- 1 root root 3926 May 27 20:08 patchbundle.conf
-r--r--r-- 1 root root 49 May 27 20:08 prereq_order
root@sun15k-b # ./installbundle.sh -B Sol10u3-2Bpatched --dapku
ERROR: One or more non-global zones of the target boot environment is not in a
patchable state. Please verify configuration with zoneadm(1M).
root@sun15k-b #
first section is from the modified install script (orig line modified is commented out), second is the original
# diff installbundle.sh installbundle.sh_OrigFromBundle
621,622c621
< ##ORIG LINE ## echo "$zone_list" | $EGREP -v "^[^:]*:(installed|running):" > /dev/null && {
< echo "$zone_list" | $EGREP -v global | $EGREP "installed|running" && {
---
> echo "$zone_list" | $EGREP -v "^[^:]*:(installed|running):" > /dev/null && {
#
# diff patch_order patch_order_Orig
12a13
> 118712-20
16a18
> 118814-01
61a64
> 119309-03
176a180
> 120815-01
222a227
> 122031-01
266a272
> 123301-01
303a310
> 124999-01
337a345
> 125891-01
371a380
> 127127-11
#
This is start of 0508 patchbundle application using the modified installbundle.sh and patch_order files
root@sun15k-b # ./installbundle.sh -B Sol10u3-2Bpatched --dapku
Setup ......................
Solaris 10 Update 5 Patch Bundle for SPARC
Application of patches started : 2008.08.19 11:27:25
Applying 120900-04 ( 1 of 467) ... skipped
Applying 121133-02 ( 2 of 467) ... skipped
Applying 119254-53 ( 3 of 467) ... skipped
Applying 119317-01 ( 4 of 467) ... skipped
Applying 121296-01 ( 5 of 467) ... skipped
Applying 127884-01 ( 6 of 467) ... skipped
Applying 128342-01 ( 7 of 467) ... skipped
Applying 117465-02 ( 8 of 467) ... skipped
Applying 118367-04 ( 9 of 467) ... skipped
Applying 118566-01 ( 10 of 467) ... skipped
Applying 118666-15 ( 11 of 467) ... skipped
Applying 118667-15 ( 12 of 467) ... skipped
Applying 118676-03 ( 13 of 467) ... skipped
Applying 118683-02 ( 14 of 467) ... skipped
Applying 118705-01 ( 15 of 467) ... skipped
Applying 118706-01 ( 16 of 467) ... skipped
Applying 118707-05 ( 17 of 467) ... skipped
Applying 118708-17 ( 18 of 467) ... skipped
Applying 118711-03 ( 19 of 467) ... skipped
Applying 118717-02 ( 20 of 467) ... skipped
Applying 118718-01 ( 21 of 467) ... skipped
Applying 118735-01 ( 22 of 467) ... skipped
Applying 118777-12 ( 23 of 467) ... skipped
Applying 118824-01 ( 24 of 467) ... skipped
Applying 118918-24 ( 25 of 467) ... skipped
Applying 119042-10 ( 26 of 467) ... skipped
Applying 119578-30 ( 27 of 467) ... skipped
Applying 119574-02 ( 28 of 467) ... skipped
Applying 121453-02 ( 29 of 467) ... skipped
Applying 121453-02 ( 30 of 467) ... skipped
Applying 120335-04 ( 31 of 467) ... skipped
Applying 120335-04 ( 32 of 467) ... skipped
Applying 121118-13 ( 33 of 467) ... success
Applying 118833-36 ( 34 of 467) ... skipped
Applying 118842-01 ( 35 of 467) ... skipped
Applying 118884-01 ( 36 of 467) ... skipped
Applying 118945-01 ( 37 of 467) ... skipped
Applying 118959-03 ( 38 of 467) ... skipped
Applying 118981-03 ( 39 of 467) ... skipped
Applying 119059-40 ( 40 of 467) ... success
Applying 119063-01 ( 41 of 467) ... skipped
Applying 119065-01 ( 42 of 467) ... skipped
Applying 119070-04 ( 43 of 467) ... skipped
Applying 119081-25 ( 44 of 467) ... skipped
Applying 119090-25 ( 45 of 467) ... success
Applying 119115-33 ( 46 of 467) ... success
Applying 119117-42 ( 47 of 467) ... success
Applying 119130-33 ( 48 of 467) ... skipped
Applying 119143-02 ( 49 of 467) ... skipped
Applying 119201-29 ( 50 of 467) ... success
Applying 119213-16 ( 51 of 467) ... success
Applying 119246-32 ( 52 of 467) ... success
Applying 124628-05 ( 53 of 467) ... skipped
Applying 119252-22 ( 54 of 467) ... skipped
Applying 126538-01 ( 55 of 467) ... skipped
Applying 124393-06 ( 56 of 467) ... success
Applying 123611-03 ( 57 of 467) ... success
Applying 119280-17 ( 58 of 467) ... success
Applying 119278-20 ( 59 of 467) ... success
Applying 121734-07 ( 60 of 467) ... success
Applying 119262-07 ( 61 of 467) ... success
Applying 119276-09 ( 62 of 467) ... success
Applying 119282-01 ( 63 of 467) ... skipped
Applying 119284-01 ( 64 of 467) ... skipped
Applying 119286-02 ( 65 of 467) ... success
Applying 124188-02 ( 66 of 467) ... skipped
Applying 121308-12 ( 67 of 467) ... success
Applying 119313-19 ( 68 of 467) ... success
Applying 119315-12 ( 69 of 467) ... success
Applying 120460-13 ( 70 of 467) ... success
Applying 119368-05 ( 71 of 467) ... skipped
Applying 119372-02 ( 72 of 467) ... skipped
Applying 119397-07 ( 73 of 467) ... success
Applying 119399-07 ( 74 of 467) ... success
Applying 119401-09 ( 75 of 467) ... success
Applying 119404-07 ( 76 of 467) ... success
Applying 119407-08 ( 77 of 467) ... success
Applying 122212-25 ( 78 of 467) ... success
Applying 119410-05 ( 79 of 467) ... skipped
Applying 119414-14 ( 80 of 467) ... success
Applying 119416-01 ( 81 of 467) ... skipped
Applying 119418-04 ( 82 of 467) ... success
Applying 119420-01 ( 83 of 467) ... skipped
Applying 119470-13 ( 84 of 467) ... success
Applying 120199-11 ( 85 of 467) ... skipped
Applying 119534-13 ( 86 of 467) ... success
Applying 119538-14 ( 87 of 467) ... success
Applying 119540-07 ( 88 of 467) ... success
Applying 119544-03 ( 89 of 467) ... skipped
Applying 120099-08 ( 90 of 467) ... success
Applying 119546-08 ( 91 of 467) ... success
Applying 119548-12 ( 92 of 467) ... success
Applying 119555-04 ( 93 of 467) ... skipped
Applying 119570-01 ( 94 of 467) ... skipped
Applying 119583-01 ( 95 of 467) ... skipped
Applying 119598-08 ( 96 of 467) ... skipped
Applying 119601-12 ( 97 of 467) ... success
Applying 119603-08 ( 98 of 467) ... success
Applying 119605-08 ( 99 of 467) ... success
Applying 119648-03 (100 of 467) ... skipped
Applying 119703-11 (101 of 467) ... success
Applying 119721-02 (102 of 467) ... skipped
Applying 119876-05 (103 of 467) ... skipped
Applying 119728-03 (104 of 467) ... skipped
Applying 120272-18 (105 of 467) ... skipped
Applying 122640-05 (106 of 467) ... skipped
Applying 126897-02 (107 of 467) ... skipped
Applying 127755-01 (108 of 467) ... skipped
Applying 125503-02 (109 of 467) ... skipped
Applying 118731-01 (110 of 467) ... skipped
Applying 124204-04 (111 of 467) ... skipped
Applying 122660-10 (112 of 467) ... skipped
Applying 125547-02 (113 of 467) ... skipped
Applying 126419-01 (114 of 467) ... skipped
Applying 120011-14 (115 of 467) ... skipped
Applying 119757-12 (116 of 467) ... success
Applying 119764-06 (117 of 467) ... success
Applying 119766-02 (118 of 467) ... skipped
Applying 119771-02 (119 of 467) ... success
Applying 119783-05 (120 of 467) ... success
Applying 119797-17 (121 of 467) ... success
Applying 119810-05 (122 of 467) ... success
Applying 119812-05 (123 of 467) ... success
Applying 119814-19 (124 of 467) ... success
Applying 119844-07 (125 of 467) ... success
Applying 119845-05 (126 of 467) ... success
Applying 119890-03 (127 of 467) ... skipped
Applying 119900-05 (128 of 467) ... success
Applying 119903-02 (129 of 467) ... skipped
Applying 119906-12 (130 of 467) ... success
Applying 119955-05 (131 of 467) ... success
Applying 119963-08 (132 of 467) ... skipped
Applying 119974-09 (133 of 467) ... success
Applying 119986-03 (134 of 467) ... skipped
Applying 119988-01 (135 of 467) ... skipped
Applying 120038-01 (136 of 467) ... skipped
Applying 120044-01 (137 of 467) ... skipped
Applying 120056-02 (138 of 467) ... skipped
Applying 120061-02 (139 of 467) ... skipped
Applying 120062-01 (140 of 467) ... skipped
Applying 120064-01 (141 of 467) ... skipped
Applying 120094-18 (142 of 467) ... success
Applying 120101-01 (143 of 467) ... skipped
Applying 120195-02 (144 of 467) ... skipped
Applying 120201-05 (145 of 467) ... success
Applying 120222-26 (146 of 467) ... success
Applying 120235-01 (147 of 467) ... skipped
Applying 120256-01 (148 of 467) ... skipped
Applying 120282-03 (149 of 467) ... success
Applying 120284-06 (150 of 467) ... success
Applying 120286-02 (151 of 467) ... skipped
Applying 120288-03 (152 of 467) ... skipped
Applying 120292-01 (153 of 467) ... skipped
Applying 120294-01 (154 of 467) ... skipped
Applying 120329-02 (155 of 467) ... skipped
Applying 120338-05 (156 of 467) ... skipped
Applying 120346-09 (157 of 467) ... success
Applying 120348-02 (158 of 467) ... skipped
Applying 121975-01 (159 of 467) ... skipped
Applying 120410-28 (160 of 467) ... success
Applying 120412-08 (161 of 467) ... success
Applying 120414-20 (162 of 467) ... success
Applying 120450-01 (163 of 467) ... skipped
Applying 120454-02 (164 of 467) ... skipped
Applying 120456-01 (165 of 467) ... skipped
Applying 120458-01 (166 of 467) ... skipped
Applying 120462-11 (167 of 467) ... skipped
Applying 120543-11 (168 of 467) ... success
Applying 120560-02 (169 of 467) ... skipped
Applying 120704-01 (170 of 467) ... skipped
Applying 120706-02 (171 of 467) ... skipped
Applying 120719-02 (172 of 467) ... skipped
Applying 120732-01 (173 of 467) ... skipped
Applying 120739-04 (174 of 467) ... success
Applying 120741-01 (175 of 467) ... skipped
Applying 120753-05 (176 of 467) ... skipped
Applying 120807-01 (177 of 467) ... skipped
Applying 120811-08 (178 of 467) ... skipped
Applying 120812-23 (179 of 467) ... success
Applying 120816-01 (180 of 467) ... skipped
Applying 120830-06 (181 of 467) ... success
Applying 120873-06 (182 of 467) ... success
Applying 120889-01 (183 of 467) ... skipped
Applying 120928-23 (184 of 467) ... success
Applying 120984-01 (185 of 467) ... skipped
Applying 120988-01 (186 of 467) ... skipped
Applying 120992-02 (187 of 467) ... skipped
Applying 120994-01 (188 of 467) ... skipped
Applying 121004-03 (189 of 467) ... skipped
Applying 121012-02 (190 of 467) ... skipped
Applying 121036-02 (191 of 467) ... success
Applying 121081-06 (192 of 467) ... skipped
Applying 121095-02 (193 of 467) ... success
Applying 121104-02 (194 of 467) ... success
Applying 121128-01 (195 of 467) ... skipped
Applying 121130-01 (196 of 467) ... skipped
Applying 121136-01 (197 of 467) ... skipped
Applying 121336-04 (198 of 467) ... skipped
Applying 121337-01 (199 of 467) ... skipped
Applying 121394-01 (200 of 467) ... skipped
Applying 121430-22 (201 of 467) ... skipped
Applying 121428-09 (202 of 467) ... skipped
Applying 121487-01 (203 of 467) ... skipped
Applying 121556-01 (204 of 467) ... skipped
Applying 121557-01 (205 of 467) ... skipped
Applying 121558-01 (206 of 467) ... skipped
Applying 121559-01 (207 of 467) ... skipped
Applying 121561-04 (208 of 467) ... skipped
Applying 121606-02 (209 of 467) ... success
Applying 121620-03 (210 of 467) ... success
Applying 121667-02 (211 of 467) ... skipped
Applying 121669-01 (212 of 467) ... skipped
Applying 125287-02 (213 of 467) ... success
Applying 121675-11 (214 of 467) ... success
Applying 121677-05 (215 of 467) ... success
Applying 121870-01 (216 of 467) ... skipped
Applying 121923-01 (217 of 467) ... skipped
Applying 121946-01 (218 of 467) ... skipped
Applying 121947-01 (219 of 467) ... skipped
Applying 121953-02 (220 of 467) ... skipped
Applying 121977-03 (221 of 467) ... success
Applying 122005-01 (222 of 467) ... skipped
Applying 122009-01 (223 of 467) ... skipped
Applying 122011-01 (224 of 467) ... skipped
Applying 122083-02 (225 of 467) ... skipped
Applying 122085-01 (226 of 467) ... skipped
Applying 122087-01 (227 of 467) ... skipped
Applying 122119-05 (228 of 467) ... skipped
Applying 122130-03 (229 of 467) ... success
Applying 122172-06 (230 of 467) ... skipped
Applying 122174-03 (231 of 467) ... skipped
Applying 122204-02 (232 of 467) ... success
Applying 122208-01 (233 of 467) ... skipped
Applying 122210-01 (234 of 467) ... skipped
Applying 122231-01 (235 of 467) ... skipped
Applying 122239-01 (236 of 467) ... skipped
Applying 122259-01 (237 of 467) ... skipped
Applying 122261-01 (238 of 467) ... skipped
Applying 122376-01 (239 of 467) ... skipped
Applying 122408-01 (240 of 467) ... skipped
Applying 122418-01 (241 of 467) ... skipped
Applying 122422-03 (242 of 467) ... skipped
Applying 122424-01 (243 of 467) ... skipped
Applying 122470-02 (244 of 467) ... skipped
Applying 122487-06 (245 of 467) ... success
Applying 122515-01 (246 of 467) ... skipped
Applying 122517-04 (247 of 467) ... success
Applying 122669-01 (248 of 467) ... skipped
Applying 122675-01 (249 of 467) ... skipped
Applying 122735-01 (250 of 467) ... skipped
Applying 122754-01 (251 of 467) ... skipped
Applying 122761-01 (252 of 467) ... skipped
Applying 122860-05 (253 of 467) ... success
Applying 122911-10 (254 of 467) ... success
Applying 122958-03 (255 of 467) ... success
Applying 123003-03 (256 of 467) ... skipped
Applying 124171-07 (257 of 467) ... success
Applying 123630-03 (258 of 467) ... success
Applying 123005-07 (259 of 467) ... success
Applying 123011-01 (260 of 467) ... skipped
Applying 123015-01 (261 of 467) ... skipped
Applying 123121-02 (262 of 467) ... skipped
Applying 123132-01 (263 of 467) ... skipped
Applying 123162-02 (264 of 467) ... skipped
Applying 123186-02 (265 of 467) ... skipped
Applying 123194-01 (266 of 467) ... skipped
Applying 123252-01 (267 of 467) ... skipped
Applying 123271-01 (268 of 467) ... skipped
Applying 123319-01 (269 of 467) ... skipped
Applying 123322-01 (270 of 467) ... skipped
Applying 123326-01 (271 of 467) ... skipped
Applying 123328-01 (272 of 467) ... skipped
Applying 123332-01 (273 of 467) ... skipped
Applying 123358-02 (274 of 467) ... skipped
Applying 123406-02 (275 of 467) ... success
Applying 123494-04 (276 of 467) ... success
Applying 123520-01 (277 of 467) ... skipped
Applying 123526-01 (278 of 467) ... skipped
Applying 123590-08 (279 of 467) ... success
Applying 123647-02 (280 of 467) ... success
Applying 123661-04 (281 of 467) ... skipped
Applying 123893-04 (282 of 467) ... success
Applying 123908-01 (283 of 467) ... skipped
Applying 123912-02 (284 of 467) ... skipped
Applying 123938-01 (285 of 467) ... success
Applying 124149-11 (286 of 467) ... success
Applying 124153-02 (287 of 467) ... success
Applying 124179-01 (288 of 467) ... skipped
Applying 124237-01 (289 of 467) ... skipped
Applying 124325-01 (290 of 467) ... skipped
Applying 124363-01 (291 of 467) ... skipped
Applying 124395-01 (292 of 467) ... skipped
Applying 124397-02 (293 of 467) ... skipped
Applying 124399-01 (294 of 467) ... skipped
Applying 124401-01 (295 of 467) ... skipped
Applying 124403-01 (296 of 467) ... skipped
Applying 124405-01 (297 of 467) ... skipped
Applying 124444-01 (298 of 467) ... skipped
Applying 124457-01 (299 of 467) ... skipped
Applying 124599-01 (300 of 467) ... skipped
Applying 124630-16 (301 of 467) ... skipped
Applying 124924-01 (302 of 467) ... skipped
Applying 124939-03 (303 of 467) ... success
Applying 124943-01 (304 of 467) ... success
Applying 124997-01 (305 of 467) ... skipped
Applying 125022-01 (306 of 467) ... success
Applying 125045-01 (307 of 467) ... success
Applying 125075-01 (308 of 467) ... skipped
Applying 125166-10 (309 of 467) ... success
Applying 125167-01 (310 of 467) ... success
Applying 125171-02 (311 of 467) ... success
Applying 125172-01 (312 of 467) ... success
Applying 125174-02 (313 of 467) ... success
Applying 125184-05 (314 of 467) ... skipped
Applying 125211-01 (315 of 467) ... success
Applying 125213-02 (316 of 467) ... success
Applying 125215-02 (317 of 467) ... success
Applying 125217-01 (318 of 467) ... success
Applying 125279-05 (319 of 467) ... success
Applying 125281-02 (320 of 467) ... success
Applying 125285-04 (321 of 467) ... success
Applying 125293-03 (322 of 467) ... success
Applying 125332-02 (323 of 467) ... success
Applying 125388-01 (324 of 467) ... success
Applying 125474-01 (325 of 467) ... success
Applying 125499-01 (326 of 467) ... success
Applying 125505-01 (327 of 467) ... success
Applying 125531-02 (328 of 467) ... success
Applying 125533-06 (329 of 467) ... skipped
Applying 125537-01 (330 of 467) ... success
Applying 125539-03 (331 of 467) ... skipped
Applying 125541-02 (332 of 467) ... skipped
Applying 125543-02 (333 of 467) ... success
Applying 125545-01 (334 of 467) ... success
Applying 125549-01 (335 of 467) ... success
Applying 125551-01 (336 of 467) ... success
Applying 125719-10 (337 of 467) ... success
Applying 125725-02 (338 of 467) ... success
Applying 125731-02 (339 of 467) ... success
Applying 125894-01 (340 of 467) ... success
Applying 125898-01 (341 of 467) ... success
Applying 125905-01 (342 of 467) ... success
Applying 125952-05 (343 of 467) ... skipped
Applying 126117-02 (344 of 467) ... success
Applying 126119-01 (345 of 467) ... success
Applying 126133-02 (346 of 467) ... success
Applying 126206-04 (347 of 467) ... success
Applying 126260-01 (348 of 467) ... success
Applying 126262-01 (349 of 467) ... success
Applying 126363-03 (350 of 467) ... skipped
Applying 126365-08 (351 of 467) ... skipped
Applying 126425-01 (352 of 467) ... success
Applying 126428-01 (353 of 467) ... success
Applying 126430-01 (354 of 467) ... success
Applying 126440-01 (355 of 467) ... success
Applying 126442-01 (356 of 467) ... success
Applying 126444-01 (357 of 467) ... success
Applying 126530-01 (358 of 467) ... success
Applying 126540-02 (359 of 467) ... skipped
Applying 126542-02 (360 of 467) ... success
Applying 126544-01 (361 of 467) ... success
Applying 126546-01 (362 of 467) ... success
Applying 126585-02 (363 of 467) ... success
Applying 126630-02 (364 of 467) ... success
Applying 126649-01 (365 of 467) ... success
Applying 126653-01 (366 of 467) ... success
Applying 126655-01 (367 of 467) ... success
Applying 126657-01 (368 of 467) ... success
Applying 126674-01 (369 of 467) ... success
Applying 126738-02 (370 of 467) ... skipped
Applying 126740-02 (371 of 467) ... skipped
Applying 126742-01 (372 of 467) ... skipped
Applying 126868-01 (373 of 467) ... success
Applying 127541-01 (374 of 467) ... success
Applying 127638-01 (375 of 467) ... success
Applying 127724-01 (376 of 467) ... success
Applying 127726-01 (377 of 467) ... success
Applying 127737-01 (378 of 467) ... success
Applying 127752-01 (379 of 467) ... skipped
Applying 127759-01 (380 of 467) ... success
Applying 127762-01 (381 of 467) ... success
Applying 127784-01 (382 of 467) ... success
Applying 127853-02 (383 of 467) ... success
Applying 127856-01 (384 of 467) ... success
Applying 127866-02 (385 of 467) ... success
Applying 127868-01 (386 of 467) ... success
Applying 127872-01 (387 of 467) ... success
Applying 127878-01 (388 of 467) ... success
Applying 127882-02 (389 of 467) ... success
Applying 127888-06 (390 of 467) ... success
Applying 127892-04 (391 of 467) ... success
Applying 127914-01 (392 of 467) ... success
Applying 127922-03 (393 of 467) ... skipped
Applying 127959-01 (394 of 467) ... success
Applying 127970-01 (395 of 467) ... success
Applying 127974-01 (396 of 467) ... success
Applying 127976-04 (397 of 467) ... success
Applying 127980-01 (398 of 467) ... success
Applying 127986-01 (399 of 467) ... success
Applying 127994-01 (400 of 467) ... success
Applying 127997-01 (401 of 467) ... success
Applying 127998-01 (402 of 467) ... success
Applying 128000-01 (403 of 467) ... success
Applying 128004-01 (404 of 467) ... success
Applying 128006-04 (405 of 467) ... success
Applying 128008-01 (406 of 467) ... success
Applying 128292-01 (407 of 467) ... success
Applying 128294-02 (408 of 467) ... success
Applying 128296-01 (409 of 467) ... success
Applying 128298-01 (410 of 467) ... success
Applying 128300-03 (411 of 467) ... success
Applying 128304-03 (412 of 467) ... success
Applying 128306-04 (413 of 467) ... success
Applying 128310-01 (414 of 467) ... success
Applying 128316-01 (415 of 467) ... success
Applying 128318-01 (416 of 467) ... success
Applying 128322-01 (417 of 467) ... success
Applying 128324-02 (418 of 467) ... success
Applying 128326-01 (419 of 467) ... success
Applying 128328-01 (420 of 467) ... success
Applying 128330-01 (421 of 467) ... skipped
Applying 128332-01 (422 of 467) ... success
Applying 128334-01 (423 of 467) ... success
Applying 128340-01 (424 of 467) ... success
Applying 128350-01 (425 of 467) ... success
Applying 128402-02 (426 of 467) ... success
Applying 128410-01 (427 of 467) ... success
Applying 136699-01 (428 of 467) ... success
Applying 136724-01 (429 of 467) ... success
Applying 136839-01 (430 of 467) ... skipped
Applying 136882-01 (431 of 467) ... success
Applying 136885-03 (432 of 467) ... skipped
Applying 136998-02 (433 of 467) ... skipped
Applying 137000-02 (434 of 467) ... skipped
Applying 137002-01 (435 of 467) ... skipped
Applying 137004-02 (436 of 467) ... skipped
Applying 137017-01 (437 of 467) ... success
Applying 137019-01 (438 of 467) ... success
Applying 137021-01 (439 of 467) ... success
Applying 137023-01 (440 of 467) ... success
Applying 137028-01 (441 of 467) ... success
Applying 137030-01 (442 of 467) ... success
Applying 137032-01 (443 of 467) ... success
Applying 137034-01 (444 of 467) ... success
Applying 137036-01 (445 of 467) ... success
Applying 137046-01 (446 of 467) ... success
Applying 137048-01 (447 of 467) ... success
Applying 137049-01 (448 of 467) ... success
Applying 137080-01 (449 of 467) ... success
Applying 137084-01 (450 of 467) ... success
Applying 137086-01 (451 of 467) ... success
Applying 137088-01 (452 of 467) ... success
Applying 137090-01 (453 of 467) ... success
Applying 137091-01 (454 of 467) ... success
Applying 137093-01 (455 of 467) ... success
Applying 137095-01 (456 of 467) ... success
Applying 137097-01 (457 of 467) ... success
Applying 137099-01 (458 of 467) ... success
Applying 137102-01 (459 of 467) ... success
Applying 137115-01 (460 of 467) ... success
Applying 137147-03 (461 of 467) ... success
Applying 137274-01 (462 of 467) ... success
Applying 137276-01 (463 of 467) ... success
Applying 137278-01 (464 of 467) ... success
Applying 137280-01 (465 of 467) ... success
Applying 137282-01 (466 of 467) ... success
Applying 137321-01 (467 of 467) ... skipped
Application of patches finished : 2008.08.20 01:50:17
Following patches were applied :
121118-13 119845-05 124943-01 126544-01 128306-04
119059-40 119900-05 125022-01 126546-01 128310-01
119090-25 119906-12 125045-01 126585-02 128316-01
119115-33 119955-05 125166-10 126630-02 128318-01
119117-42 119974-09 125167-01 126649-01 128322-01
119201-29 120094-18 125171-02 126653-01 128324-02
119213-16 120201-05 125172-01 126655-01 128326-01
119246-32 120222-26 125174-02 126657-01 128328-01
124393-06 120282-03 125211-01 126674-01 128332-01
123611-03 120284-06 125213-02 126868-01 128334-01
119280-17 120346-09 125215-02 127541-01 128340-01
119278-20 120410-28 125217-01 127638-01 128350-01
121734-07 120412-08 125279-05 127724-01 128402-02
119262-07 120414-20 125281-02 127726-01 128410-01
119276-09 120543-11 125285-04 127737-01 136699-01
119286-02 120739-04 125293-03 127759-01 136724-01
121308-12 120812-23 125332-02 127762-01 136882-01
119313-19 120830-06 125388-01 127784-01 137017-01
119315-12 120873-06 125474-01 127853-02 137019-01
120460-13 120928-23 125499-01 127856-01 137021-01
119397-07 121036-02 125505-01 127866-02 137023-01
119399-07 121095-02 125531-02 127868-01 137028-01
119401-09 121104-02 125537-01 127872-01 137030-01
119404-07 121606-02 125543-02 127878-01 137032-01
119407-08 121620-03 125545-01 127882-02 137034-01
122212-25 125287-02 125549-01 127888-06 137036-01
119414-14 121675-11 125551-01 127892-04 137046-01
119418-04 121677-05 125719-10 127914-01 137048-01
119470-13 121977-03 125725-02 127959-01 137049-01
...skipping...
119812-05 124149-11 126530-01 128300-03 137280-01
119814-19 124153-02 126542-02 128304-03 137282-01
119844-07 124939-03
Following patches were skipped :
Patches already applied
120900-04 119081-25 120061-02 121430-22 122761-01
121133-02 119130-33 120062-01 121487-01 123003-03
119317-01 119143-02 120064-01 121556-01 123011-01
121296-01 126538-01 120101-01 121557-01 123015-01
127884-01 119282-01 120195-02 121558-01 123121-02
128342-01 119284-01 120235-01 121559-01 123132-01
117465-02 124188-02 120256-01 121561-04 123162-02
118367-04 119368-05 120286-02 121667-02 123186-02
118566-01 119372-02 120288-03 121669-01 123194-01
118666-15 119410-05 120292-01 121870-01 123271-01
118667-15 119416-01 120294-01 121923-01 123319-01
118676-03 119420-01 120329-02 121946-01 123322-01
118683-02 119544-03 120338-05 121947-01 123326-01
118705-01 119555-04 120348-02 121953-02 123328-01
118706-01 119570-01 121975-01 122005-01 123332-01
118707-05 119583-01 120454-02 122009-01 123358-02
118708-17 119598-08 120456-01 122011-01 123520-01
118711-03 119648-03 120458-01 122083-02 123526-01
118717-02 119721-02 120560-02 122085-01 123661-04
118718-01 119876-05 120704-01 122087-01 123908-01
118735-01 119728-03 120706-02 122119-05 123912-02
118777-12 122640-05 120719-02 122172-06 124179-01
118824-01 126897-02 120732-01 122174-03 124237-01
118918-24 127755-01 120741-01 122208-01 124325-01
119042-10 125503-02 120753-05 122210-01 124363-01
119578-30 118731-01 120807-01 122231-01 124395-01
119574-02 124204-04 120816-01 122239-01 124397-02
121453-02 122660-10 120889-01 122259-01 124399-01
121453-02 125547-02 120984-01 122261-01 124401-01
120335-04 126419-01 120988-01 122376-01 124403-01
120335-04 120011-14 120992-02 122408-01 124405-01
118833-36 119766-02 120994-01 122418-01 124444-01
118842-01 119890-03 121004-03 122422-03 124457-01
118884-01 119903-02 121012-02 122424-01 124924-01
118945-01 119963-08 121081-06 122470-02 124997-01
118959-03 119986-03 121128-01 122515-01 125075-01
118981-03 119988-01 121130-01 122669-01 125184-05
119063-01 120038-01 121136-01 122675-01 126540-02
119065-01 120044-01 121337-01 122735-01 137321-01
119070-04 120056-02 121394-01 122754-01
Patches obsoleted by one or more patches already applied
119254-53 119252-22 120272-18 124630-16 128330-01
124628-05 120199-11 121428-09 127922-03
Patches not applicable to packages on the system
120450-01 124599-01 126363-03 126742-01 136998-02
120462-11 125533-06 126365-08 127752-01 137000-02
120811-08 125539-03 126738-02 136839-01 137002-01
121336-04 125541-02 126740-02 136885-03 137004-02
123252-01 125952-05
Installation of patch set to alternate boot environment complete.
Please remember to activate boot environment Sol10u3-2Bpatched with luactivate(1M)
before rebooting.
Here you can list FSs related to newly created ABE again (you will see info that ABE is now active if you already activated it, it is not important here now):
root@sun15k-b # lufslist Sol10u3-2Bpatched
boot environment name: Sol10u3-2Bpatched
This boot environment will be active on next system boot.
Filesystem fstype device size Mounted on Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/md/dsk/d1 swap 8743362048 - -
/dev/md/dsk/d2000 ufs 17434953216 / -
/dev/md/dsk/d2005 ufs 8591007744 /var -
/dev/md/dsk/d6 ufs 1073875968 /export/home -
/dev/md/dsk/d3 ufs 536937984 /globaldevices -
/dev/md/dsk/d100 ufs 2095981056 /crashfs -
/dev/md/dsk/d2101 ufs 8591007744 /zones/cozone01 -
/dev/md/dsk/d2104 ufs 8591007744 /zones/cozone01/root/var -
/dev/md/dsk/d2102 ufs 8591007744 /zones/cozone02 -
/dev/md/dsk/d2105 ufs 8591007744 /zones/cozone02/root/var -
/dev/md/dsk/d2103 ufs 8591007744 /zones/cozone03 -
/dev/md/dsk/d2106 ufs 8591007744 /zones/cozone03/root/var -
/dev/md/ora_dg/dsk/d0 ufs 1073741824 /export/ora02 -
/dev/md/ora_dg/dsk/d1 ufs 1073741824 /export/ora03 -
/dev/md/ora_dg/dsk/d2 ufs 1073741824 /export/ora04 -
/dev/md/ora_dg/dsk/d3 ufs 1073741824 /export/ora05 -
/dev/md/ora_dg/dsk/d4 ufs 1073741824 /export/ora06 -
/dev/md/ora_dg/dsk/d5 ufs 1073741824 /export/ora07 -
/dev/md/ora_dg/dsk/d6 ufs 1073741824 /export/ora08 -
zone <cozone01> within boot environment <Sol10u3-2Bpatched>
/dev/md/dsk/d107 ufs 523625472 /export/home -
/dev/md/ora_dg/dsk/d500 ufs 1073741824 /app -
/dev/md/ora_dg/dsk/d505 ufs 1073741824 /ora01 -
zone <cozone03> within boot environment <Sol10u3-2Bpatched>
/dev/md/dsk/d109 ufs 523625472 /export/home -
/dev/md/dsk/d605 ufs 1073741824 /ora01 -
zone <cozone02> within boot environment <Sol10u3-2Bpatched>
/dev/md/dsk/d108 ufs 523625472 /export/home -
/dev/md/dsk/d705 ufs 1073741824 /ora01 -
/dev/md/dsk/d706 ufs 1073741824 /ora02 -
/dev/md/dsk/d707 ufs 1073741824 /ora03 -
/dev/md/dsk/d709 ufs 1073741824 /ora05 -
This cmd shows you mount state of your BEs, you can check that now only PBE FSs are mounted
root@sun15k-b # lumount
Sol10u3-FromFlar on /
root@sun15k-b #
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # df -lhZ
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 16G 10G 5.4G 66% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 13G 1.4M 13G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d5 7.9G 1.7G 6.1G 23% /var
swap 13G 376K 13G 1% /tmp
swap 13G 64K 13G 1% /var/run
/dev/md/dsk/d100 1.9G 706M 1.1G 38% /crashfs
/dev/md/dsk/d3 480M 1.0M 431M 1% /globaldevices
/dev/md/ora_dg/dsk/d0
963M 601M 304M 67% /export/ora02
/dev/md/dsk/d101 7.9G 4.8G 3.0G 62% /zones/cozone01
/dev/md/ora_dg/dsk/d1
963M 601M 304M 67% /export/ora03
/dev/md/dsk/d102 7.9G 4.8G 3.0G 62% /zones/cozone02
/dev/md/ora_dg/dsk/d3
963M 601M 304M 67% /export/ora05
/dev/md/dsk/d6 992M 1.0M 932M 1% /export/home
/dev/md/dsk/d103 7.9G 5.2G 2.6G 67% /zones/cozone03
/dev/md/ora_dg/dsk/d2
963M 601M 304M 67% /export/ora04
/dev/md/ora_dg/dsk/d5
963M 601M 304M 67% /export/ora07
/dev/md/ora_dg/dsk/d6
963M 601M 304M 67% /export/ora08
/dev/md/ora_dg/dsk/d4
963M 601M 304M 67% /export/ora06
/dev/md/ora_dg/dsk/d500
963M 601M 304M 67% /zones/cozone01/root/app
/zones/cozone01/dev 7.9G 4.8G 3.0G 62% /zones/cozone01/root/dev
/dev/md/dsk/d107 469M 1.3M 420M 1% /zones/cozone01/root/export/home
/dev/md/ora_dg/dsk/d505
963M 601M 304M 67% /zones/cozone01/root/ora01
/export/ora02 963M 601M 304M 67% /zones/cozone01/root/ora02
/export/ora03 963M 601M 304M 67% /zones/cozone01/root/ora03
/export/ora04 963M 601M 304M 67% /zones/cozone01/root/ora04
/export/ora05 963M 601M 304M 67% /zones/cozone01/root/ora05
/export/ora06 963M 601M 304M 67% /zones/cozone01/root/ora06
/export/ora07 963M 601M 304M 67% /zones/cozone01/root/ora07
/export/ora08 963M 601M 304M 67% /zones/cozone01/root/ora08
/dev/md/dsk/d104 7.9G 415M 7.4G 6% /zones/cozone01/root/var
proc 0K 0K 0K 0% /zones/cozone01/root/proc
ctfs 0K 0K 0K 0% /zones/cozone01/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone01/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone01/root/system/object
swap 13G 312K 13G 1% /zones/cozone01/root/etc/svc/volatile
/zones/cozone03/dev 7.9G 5.2G 2.6G 67% /zones/cozone03/root/dev
/dev/md/dsk/d109 469M 1.0M 421M 1% /zones/cozone03/root/export/home
/dev/md/dsk/d605 963M 601M 304M 67% /zones/cozone03/root/ora01
/dev/md/dsk/d106 7.9G 482M 7.3G 7% /zones/cozone03/root/var
/zones/cozone01/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone01/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone01/root/dev/fd
swap 13G 88K 13G 1% /zones/cozone01/root/tmp
swap 13G 32K 13G 1% /zones/cozone01/root/var/run
proc 0K 0K 0K 0% /zones/cozone03/root/proc
ctfs 0K 0K 0K 0% /zones/cozone03/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone03/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone03/root/system/object
swap 13G 320K 13G 1% /zones/cozone03/root/etc/svc/volatile
/zones/cozone02/dev 7.9G 4.8G 3.0G 62% /zones/cozone02/root/dev
/dev/md/dsk/d108 469M 1.0M 421M 1% /zones/cozone02/root/export/home
/dev/md/dsk/d705 963M 601M 304M 67% /zones/cozone02/root/ora01
/dev/md/dsk/d706 963M 601M 304M 67% /zones/cozone02/root/ora02
/dev/md/dsk/d707 963M 601M 304M 67% /zones/cozone02/root/ora03
/dev/md/dsk/d709 963M 601M 304M 67% /zones/cozone02/root/ora05
/dev/md/dsk/d105 7.9G 327M 7.5G 5% /zones/cozone02/root/var
proc 0K 0K 0K 0% /zones/cozone02/root/proc
ctfs 0K 0K 0K 0% /zones/cozone02/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone02/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone02/root/system/object
swap 13G 320K 13G 1% /zones/cozone02/root/etc/svc/volatile
/zones/cozone03/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 5.2G 2.6G 67% /zones/cozone03/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 5.2G 2.6G 67% /zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone03/root/dev/fd
swap 13G 120K 13G 1% /zones/cozone03/root/tmp
swap 13G 32K 13G 1% /zones/cozone03/root/var/run
/zones/cozone02/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone02/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone02/root/dev/fd
swap 13G 120K 13G 1% /zones/cozone02/root/tmp
swap 13G 32K 13G 1% /zones/cozone02/root/var/run
root@sun15k-b #
While zones are still running you can mount and work on ABE
root@sun15k-b # zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 cozone01 running /zones/cozone01 native shared
2 cozone03 running /zones/cozone03 native shared
3 cozone02 running /zones/cozone02 native shared
root@sun15k-b #
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # lumount Sol10u3-2Bpatched
/.alt.Sol10u3-2Bpatched
root@sun15k-b #
root@sun15k-b # lumount
Sol10u3-FromFlar on /
Sol10u3-2Bpatched on /.alt.Sol10u3-2Bpatched
root@sun15k-b #
root@sun15k-b # df -lhZ
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 16G 10G 5.4G 66% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 13G 1.4M 13G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
16G 10G 5.4G 66% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d5 7.9G 1.7G 6.1G 23% /var
swap 13G 384K 13G 1% /tmp
swap 13G 64K 13G 1% /var/run
/dev/md/dsk/d100 1.9G 706M 1.1G 38% /crashfs
/dev/md/dsk/d3 480M 1.0M 431M 1% /globaldevices
/dev/md/ora_dg/dsk/d0
963M 601M 304M 67% /export/ora02
/dev/md/dsk/d101 7.9G 4.8G 3.0G 62% /zones/cozone01
/dev/md/ora_dg/dsk/d1
963M 601M 304M 67% /export/ora03
/dev/md/dsk/d102 7.9G 4.8G 3.0G 62% /zones/cozone02
/dev/md/ora_dg/dsk/d3
963M 601M 304M 67% /export/ora05
/dev/md/dsk/d6 992M 1.0M 932M 1% /export/home
/dev/md/dsk/d103 7.9G 5.2G 2.6G 67% /zones/cozone03
/dev/md/ora_dg/dsk/d2
963M 601M 304M 67% /export/ora04
/dev/md/ora_dg/dsk/d5
963M 601M 304M 67% /export/ora07
/dev/md/ora_dg/dsk/d6
963M 601M 304M 67% /export/ora08
/dev/md/ora_dg/dsk/d4
963M 601M 304M 67% /export/ora06
/dev/md/ora_dg/dsk/d500
963M 601M 304M 67% /zones/cozone01/root/app
/zones/cozone01/dev 7.9G 4.8G 3.0G 62% /zones/cozone01/root/dev
/dev/md/dsk/d107 469M 1.3M 420M 1% /zones/cozone01/root/export/home
/dev/md/ora_dg/dsk/d505
963M 601M 304M 67% /zones/cozone01/root/ora01
/export/ora02 963M 601M 304M 67% /zones/cozone01/root/ora02
/export/ora03 963M 601M 304M 67% /zones/cozone01/root/ora03
/export/ora04 963M 601M 304M 67% /zones/cozone01/root/ora04
/export/ora05 963M 601M 304M 67% /zones/cozone01/root/ora05
/export/ora06 963M 601M 304M 67% /zones/cozone01/root/ora06
/export/ora07 963M 601M 304M 67% /zones/cozone01/root/ora07
/export/ora08 963M 601M 304M 67% /zones/cozone01/root/ora08
/dev/md/dsk/d104 7.9G 415M 7.4G 6% /zones/cozone01/root/var
proc 0K 0K 0K 0% /zones/cozone01/root/proc
ctfs 0K 0K 0K 0% /zones/cozone01/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone01/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone01/root/system/object
swap 13G 312K 13G 1% /zones/cozone01/root/etc/svc/volatile
/zones/cozone03/dev 7.9G 5.2G 2.6G 67% /zones/cozone03/root/dev
/dev/md/dsk/d109 469M 1.0M 421M 1% /zones/cozone03/root/export/home
/dev/md/dsk/d605 963M 601M 304M 67% /zones/cozone03/root/ora01
/dev/md/dsk/d106 7.9G 482M 7.3G 7% /zones/cozone03/root/var
/zones/cozone01/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone01/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone01/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone01/root/dev/fd
swap 13G 88K 13G 1% /zones/cozone01/root/tmp
swap 13G 32K 13G 1% /zones/cozone01/root/var/run
proc 0K 0K 0K 0% /zones/cozone03/root/proc
ctfs 0K 0K 0K 0% /zones/cozone03/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone03/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone03/root/system/object
swap 13G 320K 13G 1% /zones/cozone03/root/etc/svc/volatile
/zones/cozone02/dev 7.9G 4.8G 3.0G 62% /zones/cozone02/root/dev
/dev/md/dsk/d108 469M 1.0M 421M 1% /zones/cozone02/root/export/home
/dev/md/dsk/d705 963M 601M 304M 67% /zones/cozone02/root/ora01
/dev/md/dsk/d706 963M 601M 304M 67% /zones/cozone02/root/ora02
/dev/md/dsk/d707 963M 601M 304M 67% /zones/cozone02/root/ora03
/dev/md/dsk/d709 963M 601M 304M 67% /zones/cozone02/root/ora05
/dev/md/dsk/d105 7.9G 327M 7.5G 5% /zones/cozone02/root/var
proc 0K 0K 0K 0% /zones/cozone02/root/proc
ctfs 0K 0K 0K 0% /zones/cozone02/root/system/contract
mnttab 0K 0K 0K 0% /zones/cozone02/root/etc/mnttab
objfs 0K 0K 0K 0% /zones/cozone02/root/system/object
swap 13G 320K 13G 1% /zones/cozone02/root/etc/svc/volatile
/zones/cozone03/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 5.2G 2.6G 67% /zones/cozone03/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 5.2G 2.6G 67% /zones/cozone03/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone03/root/dev/fd
swap 13G 120K 13G 1% /zones/cozone03/root/tmp
swap 13G 32K 13G 1% /zones/cozone03/root/var/run
/zones/cozone02/root/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone02/root/platform/sun4u-us3/lib/libc_psr.so.1
/zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
7.9G 4.8G 3.0G 62% /zones/cozone02/root/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /zones/cozone02/root/dev/fd
swap 13G 120K 13G 1% /zones/cozone02/root/tmp
swap 13G 32K 13G 1% /zones/cozone02/root/var/run
/dev/md/dsk/d2000 16G 11G 5.3G 67% /.alt.Sol10u3-2Bpatched
/dev/md/dsk/d2005 7.9G 2.5G 5.3G 33% /.alt.Sol10u3-2Bpatched/var
/export/home 992M 1.0M 932M 1% /.alt.Sol10u3-2Bpatched/export/home
/globaldevices 480M 1.0M 431M 1% /.alt.Sol10u3-2Bpatched/globaldevices
/crashfs 1.9G 706M 1.1G 38% /.alt.Sol10u3-2Bpatched/crashfs
/dev/md/dsk/d2101 7.9G 6.1G 1.7G 78% /.alt.Sol10u3-2Bpatched/zones/cozone01
/dev/md/dsk/d2104 7.9G 1.8G 6.0G 24% /.alt.Sol10u3-2Bpatched/zones/cozone01/root/var
/dev/md/dsk/d2102 7.9G 7.3G 557M 94% /.alt.Sol10u3-2Bpatched/zones/cozone02
/dev/md/dsk/d2105 7.9G 1.8G 6.0G 23% /.alt.Sol10u3-2Bpatched/zones/cozone02/root/var
/dev/md/dsk/d2103 7.9G 5.9G 1.9G 76% /.alt.Sol10u3-2Bpatched/zones/cozone03
/dev/md/dsk/d2106 7.9G 1.9G 5.9G 25% /.alt.Sol10u3-2Bpatched/zones/cozone03/root/var
/export/ora02 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora02
/export/ora03 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora03
/export/ora04 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora04
/export/ora05 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora05
/export/ora06 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora06
/export/ora07 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora07
/export/ora08 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/export/ora08
swap 13G 24K 13G 1% /.alt.Sol10u3-2Bpatched/var/run
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/tmp
swap 13G 8K 13G 1% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu
/zones/cozone01/root 7.9G 4.8G 3.0G 62% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/b
/.alt.Sol10u3-2Bpatched/zones/cozone01/root
7.9G 6.1G 1.7G 78% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a
/zones/cozone01/root/app
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/app
/.alt.Sol10u3-2Bpatched/zones/cozone01/dev
7.9G 6.1G 1.7G 78% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/dev
/zones/cozone01/root/export/home
469M 1.3M 420M 1% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/export/home
/zones/cozone01/root/ora01
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora01
/export/ora02 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora02
/export/ora03 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora03
/export/ora04 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora04
/export/ora05 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora05
/export/ora06 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora06
/export/ora07 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora07
/export/ora08 963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/ora08
/.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/etc
7.9G 6.1G 1.7G 78% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/etc
/.alt.Sol10u3-2Bpatched/zones/cozone01/lu/a/var
7.9G 1.8G 6.0G 24% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/var
/etc/lib 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/etc/lib
/etc/fs 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/etc/fs
/lib 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/lib
/sbin 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/sbin
/platform 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/platform
/usr 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/usr
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/tmp
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/var/run
proc 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/proc
ctfs 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/system/contract
mnttab 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/etc/mnttab
objfs 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/system/object
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone01/lu/etc/svc/volatile
swap 13G 8K 13G 1% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu
/zones/cozone03/root 7.9G 5.2G 2.6G 67% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/b
/.alt.Sol10u3-2Bpatched/zones/cozone03/root
7.9G 5.9G 1.9G 76% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/a
/.alt.Sol10u3-2Bpatched/zones/cozone03/dev
7.9G 5.9G 1.9G 76% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/dev
/zones/cozone03/root/export/home
469M 1.0M 421M 1% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/a/export/home
/zones/cozone03/root/ora01
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/a/ora01
/.alt.Sol10u3-2Bpatched/zones/cozone03/lu/a/etc
7.9G 5.9G 1.9G 76% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/etc
/.alt.Sol10u3-2Bpatched/zones/cozone03/lu/a/var
7.9G 1.9G 5.9G 25% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/var
/etc/lib 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/etc/lib
/etc/fs 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/etc/fs
/lib 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/lib
/sbin 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/sbin
/platform 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/platform
/usr 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/usr
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/tmp
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/var/run
proc 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/proc
ctfs 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/system/contract
mnttab 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/etc/mnttab
objfs 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/system/object
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone03/lu/etc/svc/volatile
swap 13G 8K 13G 1% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu
/zones/cozone02/root 7.9G 4.8G 3.0G 62% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/b
/.alt.Sol10u3-2Bpatched/zones/cozone02/root
7.9G 7.3G 557M 94% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a
/.alt.Sol10u3-2Bpatched/zones/cozone02/dev
7.9G 7.3G 557M 94% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/dev
/zones/cozone02/root/export/home
469M 1.0M 421M 1% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/export/home
/zones/cozone02/root/ora01
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/ora01
/zones/cozone02/root/ora02
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/ora02
/zones/cozone02/root/ora03
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/ora03
/zones/cozone02/root/ora05
963M 601M 304M 67% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/ora05
/.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/etc
7.9G 7.3G 557M 94% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/etc
/.alt.Sol10u3-2Bpatched/zones/cozone02/lu/a/var
7.9G 1.8G 6.0G 23% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/var
/etc/lib 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/etc/lib
/etc/fs 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/etc/fs
/lib 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/lib
/sbin 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/sbin
/platform 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/platform
/usr 16G 10G 5.4G 66% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/usr
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/tmp
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/var/run
proc 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/proc
ctfs 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/system/contract
mnttab 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/etc/mnttab
objfs 0K 0K 0K 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/system/object
swap 13G 0K 13G 0% /.alt.Sol10u3-2Bpatched/zones/cozone02/lu/etc/svc/volatile
/.alt.Sol10u3-2Bpatched/zones/cozone01/root
7.9G 6.1G 1.7G 78% /zones/cozone01/root/.alt.Sol10u3-2Bpatched
/zones/cozone01/root/app
963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/app
/zones/cozone01/root/export/home
469M 1.3M 420M 1% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/export/home
/zones/cozone01/root/ora01
963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora01
/export/ora02 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora02
/export/ora03 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora03
/export/ora04 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora04
/export/ora05 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora05
/export/ora06 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora06
/export/ora07 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora07
/export/ora08 963M 601M 304M 67% /zones/cozone01/root/.alt.Sol10u3-2Bpatched/ora08
/.alt.Sol10u3-2Bpatched/zones/cozone03/root
7.9G 5.9G 1.9G 76% /zones/cozone03/root/.alt.Sol10u3-2Bpatched
/zones/cozone03/root/export/home
469M 1.0M 421M 1% /zones/cozone03/root/.alt.Sol10u3-2Bpatched/export/home
/zones/cozone03/root/ora01
963M 601M 304M 67% /zones/cozone03/root/.alt.Sol10u3-2Bpatched/ora01
/.alt.Sol10u3-2Bpatched/zones/cozone02/root
7.9G 7.3G 557M 94% /zones/cozone02/root/.alt.Sol10u3-2Bpatched
/zones/cozone02/root/export/home
469M 1.0M 421M 1% /zones/cozone02/root/.alt.Sol10u3-2Bpatched/export/home
/zones/cozone02/root/ora01
963M 601M 304M 67% /zones/cozone02/root/.alt.Sol10u3-2Bpatched/ora01
/zones/cozone02/root/ora02
963M 601M 304M 67% /zones/cozone02/root/.alt.Sol10u3-2Bpatched/ora02
/zones/cozone02/root/ora03
963M 601M 304M 67% /zones/cozone02/root/.alt.Sol10u3-2Bpatched/ora03
/zones/cozone02/root/ora05
963M 601M 304M 67% /zones/cozone02/root/.alt.Sol10u3-2Bpatched/ora05
root@sun15k-b #
You will probably need to apply fresh patches to the ABE as part of patching process to ensure last available fixes are installed. So this section describes how to apply Recommended patches to ABE after 0508 patchbundle has been applied.
In this step we run piped command to prepare list of patches applicable to ABE from Recommended patches cluster. This ensures fine patches installation and save some time during application process.
Having enough free (at least same size as expanded patch cluster) space in current PBE /var/tmp FS is needed for the command to succeed.
Ensure you mounted ABE as showed in previous step before running the dry-run cmd.
I've checked space in /var (/var/tmp) and size of dir with expanded patch cluster too.
root@sun15k-b # df -h /var
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d5 7.9G 1.7G 6.1G 23% /var
root@sun15k-b # pwd
/net/<NFS-server>/SHARENFS/UPLOAD/10_Recommended
root@sun15k-b #
root@sun15k-b # du -sh .
1.6G .
root@sun15k-b #
root@sun15k-b # ls
118712-22 119757-12 120414-23 121296-01 124393-08 126133-04 127959-02 137111-04
118731-01 119764-06 120543-11 121308-13 124444-01 126206-04 128000-01 137289-02
118833-36 119783-06 120719-02 121453-02 124457-01 126363-06 128294-02 137321-01
118918-24 119810-05 120811-08 121975-01 124997-01 126419-01 128300-04 137871-01
118959-03 119812-06 120830-06 122172-06 124999-01 126440-01 128306-05 138068-01
119042-11 119903-02 120849-04 122174-03 125166-12 126538-01 128328-01 138075-02
119059-45 119986-03 120900-04 122472-05 125184-07 126540-02 128342-01 138083-01
119081-25 120011-14 121004-04 122640-05 125279-05 126868-01 136882-01 138159-01
119090-26 120061-02 121012-02 122660-10 125503-02 126897-02 136892-01 138291-01
119130-33 120094-21 121095-02 122911-13 125539-04 127127-11 136998-04 CLUSTER_README
119254-58 120201-05 121104-04 123186-02 125547-02 127737-02 137017-03 copyright
119313-21 120272-21 121118-13 123590-09 125551-02 127755-01 137019-02 install_cluster
119317-01 120292-02 121133-02 123611-04 125719-12 127853-02 137032-01 patch_order
119574-02 120329-02 121136-02 124188-02 125731-02 127884-01 137080-01
119578-30 120410-29 121211-02 124204-04 125891-01 127922-04 137093-01
root@sun15k-b #
root@sun15k-b # patchadd -q -a -M . -R /.alt.Sol10u3-2Bpatched 2>/dev/null | grep "Approved patches:" |sort -u |sed -e "s/Approved patches://g" > /tmp/gener_patch_order_file_Recom
root@sun15k-b #
This cmd will take some time, shouldn't finish very quicky. It creates about 1.5GB size dir with patches in /var/tmp named like TmpDAAxxxxx, which will be deleted during next steps. If the output file is empty or you need to debug the cmd progress just remove “2>/dev/null” before first “|” sign.
root@sun15k-b # cat /tmp/gener_patch_order_file_Recom
118712-22 119059-45 119090-26 119254-58 119313-21 119783-06 119812-06 120094-21 120272-21 120292-02 120410-29 120414-23 121104-04 121308-13 122911-13 123590-09 123611-04 124393-08 125166-12 125184-07 125551-02 125719-12 126133-04 127737-02 127959-02 128300-04 128306-05 136892-01 137017-03 137019-02 137111-04 137289-02 137871-01 138068-01 138075-02 138083-01 138159-01 138291-01 121136-02
Unmounting of ABE is needed for next step, use luumount cmd
root@sun15k-b # luumount Sol10u3-2Bpatched
root@sun15k-b #
Ensure you unmounted ABE as showed in previous step.
Running luupgrade cmd to apply relested patches from Recommended patch cluster.
-t tells luupgrade this is application of patches
-n used for name of BE to apply patches into
-s is source path of patches (here expanded Recommended patches dir is still my current dir, so “.” is used)
a pair of grave accents `` is used for Command Substitution shell function, which will be expanded as a list of patches (content of the file)
root@sun15k-b # luupgrade -t -n Sol10u3-2Bpatched -s . `cat /tmp/gener_patch_order_file_Recom`
Validating the contents of the media <.>.
The media contains 114 software patches that can be added.
Mounting the BE <Sol10u3-2Bpatched>.
Adding patches to the BE <Sol10u3-2Bpatched>.
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
...skipping...
Checking patches that you specified for installation.
Done!
Approved patches will be installed in this order:
118712-22 119059-45 119090-26 119254-58 119313-21 119783-06 119812-06 120094-21
120272-21 120292-02 120410-29 120414-23 121104-04 121308-13 122911-13 123590-09
123611-04 124393-08 125166-12 125184-07 125551-02 125719-12 126133-04 127737-02
127959-02 128300-04 128306-05 136892-01 137017-03 137019-02 137111-04 137289-02
137871-01 138068-01 138075-02 138083-01 138159-01 138291-01 121136-02
Preparing checklist for non-global zone check...
Checking non-global zones...
This patch passes the non-global zone check.
118712-22 119059-45 119090-26 119254-58 119313-21 119783-06 119812-06 120094-21
120272-21 120292-02 120410-29 120414-23 121104-04 121308-13 122911-13 123590-09
123611-04 124393-08 125166-12 125184-07 125551-02 125719-12 126133-04 127737-02
127959-02 128300-04 128306-05 136892-01 137017-03 137019-02 137111-04 137289-02
137871-01 138068-01 138075-02 138083-01 138159-01 138291-01 121136-02
Summary for zones:
Zone cozone01
Rejected patches:
None.
Patches that passed the dependency check:
118712-22 119059-45 119090-26 119254-58 119313-21 119783-06 119812-06 120094-21
120272-21 120292-02 120410-29 120414-23 121104-04 121308-13 122911-13 123590-09
123611-04 124393-08 125166-12 125184-07 125551-02 125719-12 126133-04 127737-02
127959-02 128300-04 128306-05 136892-01 137017-03 137019-02 137111-04 137289-02
137871-01 138068-01 138075-02 138083-01 138159-01 138291-01 121136-02
Zone cozone03
Rejected patches:
None.
Patches that passed the dependency check:
118712-22 119059-45 119090-26 119254-58 119313-21 119783-06 119812-06 120094-21
120272-21 120292-02 120410-29 120414-23 121104-04 121308-13 122911-13 123590-09
123611-04 124393-08 125166-12 125184-07 125551-02 125719-12 126133-04 127737-02
127959-02 128300-04 128306-05 136892-01 137017-03 137019-02 137111-04 137289-02
137871-01 138068-01 138075-02 138083-01 138159-01 138291-01 121136-02
Zone cozone02
Rejected patches:
None.
Patches that passed the dependency check:
118712-22 119059-45 119090-26 119254-58 119313-21 119783-06 119812-06 120094-21
120272-21 120292-02 120410-29 120414-23 121104-04 121308-13 122911-13 123590-09
123611-04 124393-08 125166-12 125184-07 125551-02 125719-12 126133-04 127737-02
127959-02 128300-04 128306-05 136892-01 137017-03 137019-02 137111-04 137289-02
137871-01 138068-01 138075-02 138083-01 138159-01 138291-01 121136-02
Patching global zone
Adding patches...
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 118712-22 has been successfully installed.
See /a/var/sadm/patch/118712-22/log for details
Patch packages installed:
SUNWpfb
SUNWpfbcf
SUNWpfbw
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 119059-45 has been successfully installed.
See /a/var/sadm/patch/119059-45/log for details
Patch packages installed:
SUNWxwacx
SUNWxwfnt
SUNWxwfs
SUNWxwinc
SUNWxwman
SUNWxwopt
SUNWxwplt
SUNWxwpmn
SUNWxwrtl
SUNWxwsrv
SUNWxwxst
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 119090-26 has been successfully installed.
See /a/var/sadm/patch/119090-26/log for details
Executing postpatch script...
Reboot client to install driver.
Patch packages installed:
SUNWiscsir
SUNWiscsiu
Checking installed patches...
...skipping...
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 138291-01 has been successfully installed.
See /a/var/sadm/patch/138291-01/log for details
Patch packages installed:
SUNWcakr
SUNWgssk
SUNWkrbu
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 121136-02 has been successfully installed.
See /a/var/sadm/patch/121136-02/log for details
Patch packages installed:
SUNWacroread-plugin
Done!
Unmounting the BE <Sol10u3-2Bpatched>.
The patch add to the BE <Sol10u3-2Bpatched> completed.
root@sun15k-b #
Now you can delete temporary directory in /var/tmp created during patches dry-run step.
root@sun15k-b # cd /var/tmp
root@sun15k-b # ls -la
total 53802
drwxrwxrwt 7 root sys 1024 Aug 27 18:50 .
drwxr-xr-x 49 root sys 1024 Aug 27 19:05 ..
-rwxr-xr-x 1 29080 staff 2 Nov 4 2006 .diPatch
drwxr-xr-x 155 root root 3584 Aug 5 13:23 10
-rw-r--r-- 1 root root 10934579 Apr 26 2007 EMCPower.SOLARIS.5.0.0.GA.b141.tar.gz
-rw-r--r-- 1 root root 16578160 Apr 26 2007 EMCPower.SOLARIS.5.0.1.Patch.b025.tar.Z
drwxr-xr-x 5 29080 staff 512 Aug 5 13:23 EMCpower
drwxr-xr-x 116 root root 2560 Aug 27 13:19 TmpDAAAknaOJr
drwx------ 2 root root 512 Aug 8 16:04 gconfd-root
drwx------ 2 root root 512 Aug 8 16:04 orbit-root
root@sun15k-b #
root@sun15k-b # du -sh TmpDAAAknaOJr
1.5G TmpDAAAknaOJr
root@sun15k-b # rm -rf ./TmpDAAAknaOJr
root@sun15k-b #
root@sun15k-b # luactivate Sol10u3-2Bpatched
A Live Upgrade Sync operation will be performed on startup of boot environment <Sol10u3-2Bpatched>.
**********************************************************************
The target boot environment has been activated. It will be used when you
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You
MUST USE either the init or the shutdown command when you reboot. If you
do not use either init or shutdown, the system will not boot using the
target BE.
**********************************************************************
In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:
1. Enter the PROM monitor (ok prompt).
2. Change the boot device back to the original boot environment by typing:
setenv boot-device /pci@5c,700000/pci@1/scsi@2/disk@0,0:a
3. Boot to the original boot environment by typing:
boot
**********************************************************************
Activation of boot environment <Sol10u3-2Bpatched> successful.
root@sun15k-b #
root@sun15k-b #
root@sun15k-b # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Sol10u3-FromFlar yes yes no no -
Sol10u3-2Bpatched yes no yes no -
root@sun15k-b #
Use “shutdown” or “init” cmd to bring system to OBP. Check boot-device property using printenv cmd and if not set to patched BE select proper boot disk as boot-device. You can select it by specifying on to cmd line to “boot” cmd as parameter, but using setenv cmd for boot-device property is strongly recommended. This prevents you from boot into another BE next system boot.
When successfully booted into “Sol10u3-2Bpatched” you can use “Sol10u3-FromFlar” (original PBE) as ABE as part of roll-back procedure if problem is encountered after patching or as part of DR for specific situations. For DR you would probably need to recreate this original environment as ABE to have the same level of patches as your current patched environment by steps showed above.
possible local zones separate /var FS problems: lost /var entry in zone configuration
possible local zones separate /var FS problems: zone boot blocking entries in /etc/vfstab
booting ABE root mirror
setting BE OBP aliases
installing bootblock on ABE root mirror disk
booting both BE and switching between them
Sun Fire 15000, using IOSRAM based Console
Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.13.3, 8192 MB memory installed, Serial #44573295.
Ethernet address 0:0:be:a8:22:6f, Host ID: 82a8226f.
Rebooting with command: boot abe-rootdisk
Boot device: /pci@5c,700000/pci@1/scsi@2/disk@3,0:a File and args:
Notice: Unimplemented procedure 'encode-unit' in /pci@5c,700000/pci@1/scsi@2
Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54.
FCode UFS Reader 1.12 00/07/17 15:48:16.
Loading: /platform/SUNW,Sun-Fire-15000/ufsboot
Loading: /platform/sun4u/ufsboot
SunOS Release 5.10 Version Generic_137111-04 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
os-io Hostname: sun15k-b
SUNW,eri0 : 100 Mbps half duplex link up
Aug 27 22:06:53 in.mpathd[202]: No test address configured on interface ce5; disabling probe-based failure detection on it
Aug 27 22:06:53 in.mpathd[202]: No test address configured on interface ce4; disabling probe-based failure detection on it
Aug 27 22:06:53 in.mpathd[202]: No test address configured on interface ce1; disabling probe-based failure detection on it
Aug 27 22:06:53 in.mpathd[202]: No test address configured on interface ce0; disabling probe-based failure detection on it
/dev/md/rdsk/d6 is clean
/dev/md/rdsk/d3 is clean
/dev/md/rdsk/d100 is clean
/dev/md/rdsk/d2101 is clean
/dev/md/rdsk/d2102 is clean
/dev/md/rdsk/d2103 is clean
/dev/md/ora_dg/rdsk/d0 is clean
/dev/md/ora_dg/rdsk/d1 is clean
/dev/md/ora_dg/rdsk/d2 is clean
/dev/md/ora_dg/rdsk/d3 is clean
/dev/md/ora_dg/rdsk/d4 is clean
/dev/md/ora_dg/rdsk/d5 is clean
/dev/md/ora_dg/rdsk/d6 is clean
sun15k-b console login: root
Password:
Last login: Wed Aug 27 19:31:09 on console
Aug 27 22:08:05 sun15k-b login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have mail.
Sourcing /root/.profile-EIS.....
TERM=vt100
WARNING: This server has running non-global zones.
Before any maintenance of this server make sure that it
could not adversely affect these zones.
Current status of Solaris zones follows:
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- cozone01 installed /zones/cozone01 native shared
- cozone03 installed /zones/cozone03 native shared
- cozone02 installed /zones/cozone02 native shared
root@sun15k-b # zoneadm -z cozone01 boot
root@sun15k-b # zoneadm -z cozone03 boot
root@sun15k-b # zoneadm -z cozone02 boot
root@sun15k-b #
root@sun15k-b # uname -a
SunOS sun15k-b 5.10 Generic_137111-04 sun4u sparc SUNW,Sun-Fire-15000
root@sun15k-b #
root@sun15k-b # zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / native shared
1 cozone01 running /zones/cozone01 native shared
2 cozone03 running /zones/cozone03 native shared
3 cozone02 running /zones/cozone02 native shared
root@sun15k-b #
Now you can set zones' autoboot property back to “true” if needed.