Upgrade Problems (Solaris Live Upgrade 2.0 Guide) – Sun Microsystems
Upgrade Problems
Cannot Use the Solaris 8 Device Configuration Assistant Intel Platform Edition diskette to Boot the New Boot Environment
Mount Failed. Unable to mount a Solaris root file system from the device: DISK:
Description:
On an Intel system, when using the Device Configuration Assistant diskette and after upgrading and activating the new boot environment, the activation fails.
When booting from the Solaris 8 Device Configuration Assistant Intel Platform Edition diskette, the diskette does not find the correct path to partition with the root (/) file system. You must manually update the boot diskette before activating the new boot environment. For the procedure on updating the boot diskette, see x86: (Optional) Update Boot Diskette Before Activating.
Creation of New Boot Environment Fails When Reconfiguring Swap
ERROR: Template filesystem definition failed for -..
ERROR: Configuration of BE failed.
Cause:
The swap slice is being used by a boot environment other than the current boot environment or the source boot environment specified by the -s option and the creation of a new boot environment fails.
Description:
The swap slice cannot be in use by any boot environment except the current boot environment or if the -s option is used, the source boot environment. The boot environment creation fails if the swap slice is being used by any other boot environment whether the slice contains a swap, ufs, or any other file system.
Solution:
Choose a slice for swap following the above guidelines.
System Panics When Upgrading On Veritas VxVm
When using Solaris Live Upgrade while upgrading and running Veritas VxVM, the system panics on reboot unless you upgrade by using the following procedure. The problem occurs if packages do not conform to Solaris advanced packaging guidelines.
Create an inactive boot environment. See Creating a New Boot Environment.
Before upgrading the inactive boot environment, you must disable the existing Veritas software on the inactive boot environment.
Mount the inactive boot environment.
# lumount inactive_boot_environment_name mount_point
For example:
# lumount solaris8 /.alt.12345
Change to the directory that contains the vfstab, for example:
# cd /.alt.12345/etc
Make a copy of the inactive boot environment’s vfstab file, for example:
# cp vfstab vfstab.501
In the copied vfstab, comment out all Veritas file system entries, for example:
# sed vfstab.novxfs > vfstab < ‘/vx\/dsk/s/^/#/g’
The first character of each line is changed to #, which makes the line a comment line. Note that this comment line is different than the system file comment lines.
Copy the changed vfstab file, for example:
# cp vfstab.novxfs vfstab
Change directories to the inactive boot environment’s system file, for example:
# cd /.alt.12345/etc
Make a copy of the inactive boot environment’s system file, for example:
# cp system system.501
Comment out all “forceload:” entries that include drv/vx.
# sed ‘/forceload: system.novxfs > system < drv\/vx/s/^/*/’
The first character of each line is changed to *, which makes the line a command line. Note this is different than the vfstab file comment lines.
Change directories to the install-db file on the inactive boot environment, for example:
# cd /.alt.12345/etc
Create the Veritas install-db file, for example:
# touch vx/reconfig.d/state.d/install-db
Unmount the inactive boot environment.
# luumount inactive_boot_environment_name mount_point
Upgrade the inactive boot environment. See Chapter 4, Upgrading With Solaris Live Upgrade.
Activate the inactive boot environment. See Activating a Boot Environment .
Shut down the system.
# init 0
Boot the inactive boot environment in single-user mode:
OK boot -s
Several messages and error messages containing “vxvm” or “VXVM”are displayed that can be ignored. The inactive boot environment becomes active.
Upgrade Veritas.
Remove the Veritas VRTSvmsa package from system, for example:
# pkgrm VRTSvmsa
Change directories to the Veritas packages.
# cd /location_of_Veritas_software
Add the latest Veritas packages to the system:
# pkgadd -d `pwd` VRTSvxvm VRTSvmsa VRTSvmdoc VRTSvmman VRTSvmdev
Restore the original vfstab and system files:
# cp /etc/vfstab.original /etc/vfstab
# cp /etc/system.original /etc/system
Reboot the system.
# init 6

Leave a Reply