Veritas 5.0 Installation Guide, HP-UX 11i v3, First Edition, May 2008

5 VxFS Upgrade Paths
This chapter discusses various VxFS upgrade paths based on the version of your OS. This chapter
addresses the following topics:
“VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0 on HP-UX 11i v3”
“VxFS 3.5 on HP-UX 11i v2 to VxFS 5.0 on HP-UX 11i v3”
“VxFS 4.1 on HP-UX 11i v2 to VxFS 5.0 on HP-UX 11i v3”
CAUTION: You must ensure that:
You do not upgrade the operating system and the Veritas products simultaneously. HP
recommends that you first upgrade the operating system and then upgrade the Veritas
products.
In the file system upgrade procedures discussed in this chapter, you do not upgrade / and
/stand file systems to Disk Layout Version 6 or Disk Layout Version 7. The HP-UX boot
loader does not support the Disk Layout Version 6 or Disk Layout 7.
VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0 on HP-UX 11i v3
To upgrade from VxFS 3.5 on HP-UX 11i v1 to VxFS 5.0 on HP-UX 11i v3, complete the following
steps:
1. To determine the volume names, enter the following command:
# bdf
2. To check for DLV 2 or 3 partitions present in the system (because these file systems cannot
be mounted after upgrading to VxFS 5.0), enter the following command:
# fstyp -v <partition_name>
3. To upgrade file systems with DLV 2 or 3, before installing 5.0, complete the following steps:
NOTE: You cannot upgrade from DLV 2 to DLV 4 directly. DLV4 is the lowest disk layout
that is supported by VxFS 5.0.
a. To upgrade a mounted VxFS file system from DLV 2 to DLV 3, enter the following
command:
# vxupgrade -n 3 <dir_name>
b. To upgrade a mounted VxFS file system from DLV 3 to DLV 4, enter the following
command:
# vxupgrade -n 4 <dir_name>
4. Upgrade to HP-UX 11i v3. For more information on upgrading to HP-UX 11i v3, see the
HP-UX 11i v3 Installation and Update Guide at: http://docs.hp.com.
5. Install VxFS 5.0. For more information on installing VxFS 5.0, see Chapter 3 (page 27).
6. If there are any VxFS file systems with disk layout 2 or 3 or non-VxFS file systems on your
system, after upgrading to VxFS 5.0, that must be converted to VxFS. To upgrade to DLV 7
and convert an HFS file system to VxFS, enter the following command:
# opt/VRTS/bin/vxfsconvert <vol_name>
The vxfsconvert command works with unmounted file systems. To upgrade mounted
file system, use the vxupgrade command, as described in step 8. You must run fsck after
vxfsconvert because vxfsconvert does not create all metadata files.
7. To run the VxFS-specific full fsck on the converted file system, enter the following command:
# fsck -F vxfs -y -o full <vol_name>
VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0 on HP-UX 11i v3 43