Problems with luupgrade using Solaris 10 1/06 media



Hi,

I've been trying to get my V440 upgraded from Solaris 8 to Solaris 10
1/06 since yesterday afternoon using live upgrade but without much
success. The live upgrade process always fails on luupgrade command.

Here are the Solaris and LU commands that I ran:

1.) Install latest Solaris 8 recommended patches from
http://sunsolve.sun.com.

2.) Reboot V440 for all installed recommended patches to take effect.

3.) Replicate my alternative boot environment with my existing boot
environment using fmthard command:

# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s0 10092076 2862105 7129051 29% /
/dev/dsk/c1t0d0s4 21667945 1590757 19860509 8% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c1t0d0s5 21667945 1546321 19904945 8% /var
swap 90665632 16 90665616 1% /var/run
swap 90665736 120 90665616 1% /tmp
/dev/dsk/c1t0d0s6 21657769 10295652 11145540 49% /opt
/export/home/ems 10092076 2862105 7129051 29% /home/ems

boot disk: c1t0d0 (existing BE where Solaris 8 is running)
==================================
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 1006 9.77GB (1007/0/0)
20494464
1 swap wu 1007 - 7601 64.00GB (6595/0/0)
134221440
2 backup wm 0 - 14086 136.71GB (14087/0/0)
286698624
3 unassigned wm 0 0 (0/0/0)
0
4 usr wm 7602 - 9763 20.98GB (2162/0/0)
44001024
5 var wm 9764 - 11925 20.98GB (2162/0/0)
44001024
6 unassigned wm 11926 - 14086 20.97GB (2161/0/0)
43980672
7 unassigned wm 0 0 (0/0/0)
0

second disk: c1t1d0 (alternative BE for Solaris 10)
===========================
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 12 129.19MB (13/0/0)
264576
1 swap wu 13 - 25 129.19MB (13/0/0)
264576
2 backup wu 0 - 14086 136.71GB (14087/0/0)
286698624
3 unassigned wm 0 - 2576 25.01GB (2577/0/0)
52447104
4 unassigned wm 2577 - 6698 40.00GB (4122/0/0)
83890944
5 unassigned wm 0 0 (0/0/0)
0
6 usr wm 26 - 14086 136.46GB (14061/0/0)
286169472
7 unassigned wm 0 0 (0/0/0)
0

# /usr/sbin/prtvtoc /dev/rdsk/c1t0d0s2 | /usr/sbin/fmthard -s -
/dev/rdsk/c1t1d0s2
fmthard: New volume table of contents now in place.

New partition of second disk now matches boot disk after fmthard
command:
--------------------------------------------------------------------------------------------------------------
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 1006 9.77GB (1007/0/0)
20494464
1 swap wu 1007 - 7601 64.00GB (6595/0/0)
134221440
2 backup wm 0 - 14086 136.71GB (14087/0/0)
286698624
3 unassigned wu 0 0 (0/0/0)
0
4 usr wm 7602 - 9763 20.98GB (2162/0/0)
44001024
5 var wm 9764 - 11925 20.98GB (2162/0/0)
44001024
6 unassigned wm 11926 - 14086 20.97GB (2161/0/0)
43980672
7 unassigned wu 0 0 (0/0/0)
0

4.) Create BE.

# lucreate -m /:/dev/dsk/c1t1d0s0:ufs -m /usr:/dev/dsk/c1t1d0s4:ufs \
-m /var:/dev/dsk/c1t1d0s5:ufs -m /opt:/dev/dsk/c1t1d0s6:ufs -n Solaris10
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 <Solaris8> 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/c1t1d0s0> is not a root device for any boot
environment.
Creating configuration for boot environment <Solaris10>.
Source boot environment is <Solaris8>.
Creating boot environment <Solaris10>.
Creating file systems on boot environment <Solaris10>.
Creating <ufs> file system for </> on </dev/dsk/c1t1d0s0>.
Creating <ufs> file system for </opt> on </dev/dsk/c1t1d0s6>.
Creating <ufs> file system for </usr> on </dev/dsk/c1t1d0s4>.
Creating <ufs> file system for </var> on </dev/dsk/c1t1d0s5>.
Mounting file systems for boot environment <Solaris10>.
Calculating required sizes of file systems for boot environment
<Solaris10>.
Populating file systems on boot environment <Solaris10>.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point </>.
Populating contents of mount point </opt>.
Populating contents of mount point </usr>.
Populating contents of mount point </var>.
Copying.
Creating shared file system mount points.
Creating compare databases for boot environment <Solaris10>.
Creating compare database for file system </var>.
Creating compare database for file system </usr>.
Creating compare database for file system </opt>.
Creating compare database for file system </>.
Updating compare databases on boot environment <Solaris10>.
Making boot environment <Solaris10> bootable.
Population of boot environment <Solaris10> successful.
Creation of boot environment <Solaris10> successful.

5.) Remove Solaris 8 SUNWlur SUNWluu packages.
# pkgrm SUNWluu SUNWlur

6.) List alternative BE.
# lufslist Solaris10
boot environment name: Solaris10

Filesystem fstype device size Mounted on Mount
Options
----------------------- -------- ------------ -------------------
--------------
/dev/dsk/c1t0d0s1 swap 68721377280 - -
/dev/dsk/c1t1d0s0 ufs 10493165568 / -
/dev/dsk/c1t1d0s4 ufs 22528524288 /usr -
/dev/dsk/c1t1d0s5 ufs 22528524288 /var -
/dev/dsk/c1t1d0s6 ufs 22518104064 /opt -

7.) Check status.
# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Solaris8 yes yes yes no -
Solaris10 yes no no yes -

8.) Install SUNWlur & SUNWluu packages from Solaris 10 CD #2.
# pkgadd -d /cdrom/cdrom0/Packages SUNWlur SUNWluu

Packages are installed successfully.

9.)Do luupgrade with Solaris 10 CD #1 and status is partially complete.

# luupgrade -u -n Solaris10 -s /cdrom/cdrom0/s0

Validating the contents of the media </cdrom/cdrom0/s0>.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains <Solaris> version <10>.
Constructing upgrade profile to use.
Locating the operating system upgrade program.
Checking for existence of previously scheduled Live Upgrade requests.
Creating upgrade profile for BE <Solaris10>.
Determining packages to install or upgrade for BE <Solaris10>.
Performing the operating system upgrade of the BE <Solaris10>.
CAUTION: Interrupting this process may leave the boot environment
unstable
or unbootable.
Upgrading Solaris: 100% completed
Installation of the packages from this media is complete.
Updating package information on boot environment <Solaris10>.
Package information successfully updated on boot environment
<Solaris10>.
Adding operating system patches to the BE <Solaris10>.
The operating system patch installation is complete.
INFORMATION: The file </var/sadm/system/logs/upgrade_log> on boot
environment <Solaris10> contains a log of the upgrade operation.
INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot
environment <Solaris10> contains a log of cleanup operations required.
WARNING: <877> additional packages must be installed on boot
environment <Solaris10>.
INFORMATION: The file </var/sadm/system/data/packages_to_be_added> on
boot
environment <Solaris10> contains a list of packages that must be
installed
on the boot environment for the upgrade to be complete. The packages in
this list were not present on the media that was used to upgrade this
boot
environment.
INFORMATION: If the boot environment was upgraded using one media of a
multiple media distribution, for example the Solaris CD media, you must
continue the upgrade process with the next media. Complete the upgrade
by
using the luupgrade <-i> option to install the next media of the
distribution. Failure to complete the upgrade process with all media of
the software distribution makes the boot environment unstable.
INFORMATION: Review the files listed above. Remember that all of the
files
are located on boot environment <Solaris10>. Before you activate boot
environment <Solaris10>, determine if any additional system maintenance
is
required or if additional media of the software distribution must be
installed.
The Solaris upgrade of the boot environment <Solaris10> is partially
complete.
#

10.) Continue luupgrade with Solaris 10 CDs #2 with the -i, -n and -O
options.

# luupgrade -i -n Solaris10 -O "-nodisplay" -s /cdrom/cdrom0

Validating the contents of the media </cdrom/cdrom0>.
The media is a standard Solaris media.
The media contains a standard Solaris installer.
The media contains <Solaris_2> version <10>.
Mounting BE <Solaris10>.
Running installer on BE <Solaris10>.



Solaris Web Start will assist you in installing software for Solaris 10
Software.

<Press ENTER to continue>


IMPORTANT NOTICE

Patches Needed to Run Solaris Live Upgrade

Correct operation of Solaris Live Upgrade requires that a limited set
of patch
revisions be installed for a given OS version.

Before installing or running Live Upgrade, you are required to install
a
limited set of patch revisions. Make sure you have the most recently
updated
patch list by consulting sunsolve.sun.com. Search for the info doc
72099 on the
SunSolve(tm) web site.

Live Upgrade may fail to work properly if the latest limited set of
patch
revisions are not installed on this system.

<Press ENTER to continue>

Please select the type of install to perform from the following
choices:

Typical - Software will be installed with the most common
options. Recommended for most users.

Custom - You may choose the options you want to install.
Recommended for advanced users.

1. Typical
2. Custom

What would you like to do [1]? 1

Checking disk space.


The following items will be installed:

Product: Solaris 10 packages (part 2)
Location: /
Size: 1265.51 MB
-------------------------------------
Solaris 10 packages (part 2) 1265.51 MB

Product: Live Upgrade
Location: /
Size: 2.74 MB
---------------------
Live Upgrade (root) 1.4 MB
Live Upgrade (usr) 1.01 MB
Live Upgrade (zones support) 337.22 KB



Ready to Install

1. Install Now
2. Start Over
3. Exit Installation

What would you like to do [1]? 1
Sun Microsystems, Inc.
Binary Code License Agreement
Live Upgrade
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING
THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE
TO ALL THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE
OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED
ELECTRONICALLY, SELECT THE "DECLINE" BUTTON AT THE END OF THIS
AGREEMENT.
1. LICENSE TO USE. Sun grants you a non-exclusive and
non-transferable license for the internal use only of the accompanying
software and documentation and any error corrections provided by Sun
(collectively "Software"), by the number of users and the class of
computer hardware for which the corresponding fee has been paid.
2. RESTRICTIONS Software is confidential and copyrighted. Title to
Software and all associated intellectual property rights is retained

<--[21%]--[ENTER To Continue]--[n To Finish]-->n


Enter 'y' to accept the license agreement. Enter 'n' to decline the
license
agreement and exit the install.y



Solaris 10 packages (part 2)
|-1%--------------25%-----------------50%-----------------75%--------------100%|

Installing Live Upgrade
|-1%--------------25%-----------------50%-----------------75%--------------100%|


Installation details:

Product Result More Info
1. Solaris 10 packages (part 2) Installed Available
2. Live Upgrade Installed Available

3. Done

Enter the number corresponding to the desired selection for more
information, or enter 3 to continue [3]: 3
Updating package information on boot environment <Solaris10>.
ERROR: Unable to update package instance information on boot
environment <Solaris10>.
INFORMATION: The file </var/sadm/system/logs/upgrade_log> on boot
environment <Solaris10> contains a log of the upgrade operation.
INFORMATION: </var/sadm/system/logs/upgrade_log> contains a log of the
upgrade operation.
INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot
environment <Solaris10> contains a log of cleanup operations required.
WARNING: <434> packages must be installed on boot environment
<Solaris10>.
INFORMATION: The file </var/sadm/system/data/packages_to_be_added> on
boot
environment <Solaris10> contains a list of packages that must be
installed
on the boot environment for the upgrade to be complete. The packages in
this list were not present on the media that was used to upgrade this
boot
environment.
INFORMATION: If the boot environment was upgraded using one media of a
multiple media distribution, for example the Solaris CD media, you must
continue the upgrade process with the next media. Complete the upgrade
by
using the luupgrade <-i> option to install the next media of the
distribution. Failure to complete the upgrade process with all media of
the software distribution makes the boot environment unstable.
INFORMATION: Review the files listed above. Remember that all of the
files
are located on boot environment <Solaris10>. Before you activate boot
environment <Solaris10>, determine if any additional system maintenance
is
required or if additional media of the software distribution must be
installed.
Unmounting BE <Solaris10>.
The installer run on boot environment <Solaris10> is complete.

10.) Continue luupgrade with Solaris 10 CDs #3 with the -i, -n and -O
options.

Accepted all defaults and still luupgrade generated the same result:
ERROR: Unable to update package instance information on boot
environment <Solaris10> but BE <Solaris10> is complete.

11.) Continue luupgrade with Solaris 10 CDs #4 with the -i, -n and -O
options.

Accepted all defaults and still luupgrade generated the same result:
ERROR: Unable to update package instance information on boot
environment <Solaris10> but BE <Solaris10> is complete.

12.) Try to activate Solaris10.
# luactivate Solaris10
ERROR: <434> required packages are not installed on boot environment
<Solaris10>.
INFORMATION: </var/sadm/system/data/packages_to_be_added> on boot
environment <Solaris10> contains a list of required packages that are
not
installed. The boot environment is missing required packages. This
might
be the result of an upgrade operation that failed or that is
incomplete.
If the boot environment was upgraded using a multiple media
distribution,
for example the Solaris CD media, you must continue the upgrade process
until it is fully completed. Failure to complete the upgrade process
with
all media of the software distribution makes the boot environment
unstable.
ERROR: Unable to activate boot environment <Solaris10>.

13.) Check the log /a/var/sadm/system/logs/upgrade_log on Solaris10 BE
mounted on /a:

Updating package information on boot environment <Solaris10>.
No such file or directory: cannot resolve path
</cdrom/sol_10_106_sparc_2/Solaris_10/Product/locale/C/.packagetoc>
cannot determine fully qualified path for
</cdrom/sol_10_106_sparc_2/Solaris_10/Product/locale/C/.packagetoc>
No such file or directory: cannot read and parse .packagetoc file
</cdrom/sol_10_106_sparc_2/Solaris_10/Product/locale/C/.packagetoc>

ludo: ERROR: unable to perform the requested operation.
ERROR: Unable to update package instance information on boot
environment <Solaris10>.

Updating package information on boot environment <Solaris10>.
No such file or directory: cannot resolve path
</cdrom/sol_10_106_sparc_3/Solaris_10/Product/locale/C/.packagetoc>
cannot determine fully qualified path for
</cdrom/sol_10_106_sparc_3/Solaris_10/Product/locale/C/.packagetoc>
No such file or directory: cannot read and parse .packagetoc file
</cdrom/sol_10_106_sparc_3/Solaris_10/Product/locale/C/.packagetoc>

ludo: ERROR: unable to perform the requested operation.
ERROR: Unable to update package instance information on boot
environment <Solaris10>.

I don't understand why the media itself is missing a file. In fact,
there is no locale/C sub-directory in all of the Solaris 10 media.

Has anyone encountered the same problem? I've researched this issue on
the web but haven't found anything helpful. Any useful advise is
appreciated.

Thanks.
J

.


Quantcast