Veritas 5.0 Installation Guide (September 2006)

Upgrading to VxFS 5.0
Chapter 316
# bdf
2. To check for DLV 2 or 3 partitions present in the system (since these file systems cannot
be mounted after upgrading to VxFS 5.0), enter the following:
# fstyp -v <partition_name>
3. To upgrade file systems with DLV 2 or 3, before installing 5.0, complete the following
steps ( 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:
# vxupgrade -n 3 <dir_name>
b. To upgrade a mounted VxFS file system from DLV 3 to DLV 4, enter the following:
# vxupgrade -n 4 <dir_name>
4. Upgrade to HP-UX 11i Version 2. See the HP-UX 11i v2 Installation and Update Guide at
http://docs.hp.com.
5. To install VxFS 5.0 see Chapter 4, “Installing VxFS 5.0 and VxVM 5.0,” on page 21 for
installation steps.
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:
# /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 as vxfsconvert does not create all metadata files.
7. To run the VxFS-specific full fsck on the converted file system, enter the following:
# fsck -F vxfs -y -o full <vol_name>
During pass 4, fsck displays several error messages that require a yes response to
complete the conversion process.
8. VxFS file systems with disk layout 4 can still be mounted with VxFS 5.0. However, to upgrade to disk
layout versions 5, 6, or 7, use vxupgrade as follows:
a. To upgrade a mounted VxFS file system from disk layout 4 to disk layout 5
# vxupgrade -n 5 <mount_point>
b. To upgrade a mounted VxFS file system from disk layout 4 to disk layout 6
# vxupgrade -n 5 <mount_point>