This section describes upgrading to the current Veritas Storage Foundation if you are not running Solaris 8, 9, or 10, have an unencapsulated root disk and need to upgrade the Solaris version in addition to the Veritas packages. If you are running SUNWvxvm
, go to Upgrading from SUNWvxvm.
This upgrade procedure allows you to retain existing VxVM and VxFS configurations. After upgrading, you can resume using your file systems and volumes as before (without having to run vxinstall
again).
Note It is important that you follow these steps in the specified order.
To prepare to upgrade the operating system
/
, /usr
, /var
, or /opt
are defined on volumes, at least one plex for each of those volumes is formed from a single subdisk that begins on a cylinder boundary.
This is necessary because part of the upgrade process involves temporarily converting file systems on volumes back to using direct disk partitions, and Solaris requires that disk partitions start on cylinder boundaries. Upgrade scripts (located in the /scripts
directory on the disc) automatically convert file systems on volumes back to using regular disk partitions, as necessary. If the upgrade scripts detect any problems (such as lack of cylinder alignment), they display an explanation of the problem and the upgrade does not proceed.
df
command. If so, unmount them by using the umountall
command:
Note You need to remove previous versions of VxFS packages prior to upgrading the operating system and the Veritas Storage Foundation product. You do not need to remove existing VxFS file systems, but all of them must remain unmounted throughout the upgrade process. If any VxFS file systems are mounted with the QuickLog option, QuickLog must be disabled.
pkginfo
command.
If any VxFS packages, including Veritas Quick I/O (VRTSfdd
or VRTSqio
) or Veritas QuickLog (VRTSvxld
or VRTSqlog
) are present, remove them as shown in Step 4.
pkgrm
command.
#pkgrm VRTSfsdoc VRTSfdd VRTSqio VRTSvxld VRTSqlog VRTSvxfs
\Note If the VxFS NetBackup libraries package (
VRTSfsnbl
) is installed, remove it before upgrading.
upgrade_start
script to prepare the previous release of the Volume Manager for its removal.
# /
mount_point/storage_foundation/scripts/upgrade_start
The upgrade_start
script looks for volumes containing file systems. If certain key file systems must be converted back to using partitions, the script indicates that a reboot is necessary. If any volumes are in use, you must either unmount those volumes or reboot to single-user mode.
shutdown
).
For example, if you are removing older VxVM packages, which could be stand-alone or part of Veritas Foundation Suite 3.5, follow this sequence:
# pkgrm VRTSvmdoc VRTSvmman VRTSvmpro VRTSvxvm
If you have multiple versions of VxVM loaded, remove the packages using this sequence:
# pkgrm VRTSvmdoc VRTSvmman VRTSvmpro
VRTSvxvm.\*
Note
If you have made any additional modifications or have applied any patches, remove these before removing the VRTSvxvm package. If you are using SUNWvxvm
and SUNWvxva
packages, see the Sun documentation for details on how to remove SUNWvxvm
and SUNWvxva
patches and packages.
/etc/vfstab
file, comment them out.
shutdown
).
To upgrade the operating system
Note Instructions on upgrading the operating system are beyond the scope of this document.
shutdown
).
To upgrade the Veritas Storage Foundation packages after upgrading the operating system
/opt
and /var
file systems, make sure they are mounted before proceeding with installation. When the system is in single user mode, /opt
and /var
are not normally mounted.
# mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /
mount_point
where c0t6d0s2
is the default address for the DVD-ROM drive.
install
command on the disc as shown in this example:
If you do not intend to view or print the online documentation, you can omit the VRTSdbdoc
, VRTSfsdoc
, and VRTSvmdoc
packages. If you do not intend to use the GUI, you can omit the VRTSobgui
package.
/etc/vfstab
file in step 9 of the pre-upgrade procedures, uncomment them.
vxrelocd
line.
For Solaris 8 and 9, this line is in the startup file /etc/init.d/vxvm-recover
:
# vxrelocd root & #
commented out to disable hot-relocation
For Solaris 10, this line is in the startup file /lib/svc/method/vxvm-recover
:
upgrade_finish
script.
shutdown
).
At this point, your pre-upgrade configuration should be in effect and any file systems previously defined on volumes should be defined and mounted.