Veritas 5.0.1 Installation Guide HP-UX 11i v3 (5900-2464, September 2012)

5 Upgrading from Previous Versions of VxFS to VxFS 5.0.1
This chapter discusses various VxFS upgrade paths based on the version of your OS. This chapter
addresses the following topics:
“Upgrading from VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0.1 on HP-UX 11i v3”
“Upgrading from VxFS 3.5 on HP-UX 11i v2 to VxFS 5.0.1 on HP-UX 11i v3”
“Upgrading from VxFS 4.1 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.0.1 on HP-UX 11i
v3”
“Upgrading from VxFS 5.0 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.0.1 on HP-UX 11i
v3” (page 49)
CAUTION: You must ensure that:
In the file system upgrade procedures discussed in this chapter, you should not upgrade the
file systems containing kernel configurations, typically under the /stand directory to Disk
Layout Version 6 or Disk Layout Version 7. The HP-UX boot loader has a dependency on DLV
5 so file systems containing kernel configurations for booting must remain at DLV 5. The HP-UX
boot loader does not support the Disk Layout Version 6 or Disk Layout 7.
Upgrading from VxFS 3.3 or 3.5 on HP-UX 11i v1 to VxFS 5.0.1 on HP-UX
11i v3
To upgrade from VxFS 3.5 on HP-UX 11i v1 to VxFS 5.0.1 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.1), enter the following command:
# fstyp -v <partition_name>
3. To upgrade file systems with DLV 2 or 3, before installing 5.0.1, complete the following steps:
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>
NOTE: You cannot upgrade from DLV 2 to DLV 4 directly. DLV4 is the lowest disk layout
that is supported by VxFS 5.0.1.
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://www.docs.hp.com.
5. Install VxFS 5.0.1. For more information on installing VxFS 5.0.1, see Chapter 3 (page 26).
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.1, 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>
46 Upgrading from Previous Versions of VxFS to VxFS 5.0.1