Veritas 5.0.1 Installation Guide, HP-UX 11i v3, First Edition, November 2009

Use the vxfsconvert or vxupgrade utilities to upgrade older disk layout versions to disk
layout Version 7.
WARNING! Never upgrade the / and /stand file systems to disk layout Version 7. The HP-UX
bootloader does not support disk layout Version 7.
Upgrading VxFS Disk Layout Versions
This section discusses the additional steps required to prepare the file system for being mounted
on all nodes of the cluster. Veritas File System 5.0.1 supports Versions 4, 5, 6, and 7 for locally
mounted file systems and disk layout Versions 6 and 7 for cluster mounted file systems. If you
have cluster-mounted file systems with disk layout versions lower than 6, upgrade the disk
layout after upgrading to VxFS 5.0.1. Disk layout Versions 1, 2, and 3 are not supported by VxFS
5.0.1. All file systems created on VxFS 5.0.1 use disk layout Version 7 by default. For more
information on disk layout versios, see the Veritas File System Administrator’s Guide available at:
http://www.docs.hp.com
To upgrade VxFS disk layout versions, complete the following steps:
1. Select one of the nodes of the cluster and mount the file system locally on this node. Use the
mount command but without the -o cluster option. Following is a sample mount command:
# mount -F vxfs /dev/vx/dsk/sharedg/vol1 /mnt1
2. Find the current disk layout version on a file system:
# fstyp -v | grep version | \ awk '{print $2}'
3. On the node selected in Step 1, incrementally upgrade the disk layout of this file system to
layout Version 6 or 7.
For example, if you had a cluster mounted file system of disk layout Version 4 running with
previous version of VxFS, after upgrading to VxFS 5.0.1, you must upgrade the disk layout
to Version 6 or 7. The incremental upgrade is as follows:
# vxupgrade -n 5 /mnt1
# vxupgrade -n 6 /mnt1
# vxupgrade -n 7 /mnt1
4. On the node selected in Step 1, unmount the file system after the disk layout has been
successfully upgraded:
# umount /mnt1
5. You can mount this file system on all nodes of the cluster.
Using the vxfsconvert Command
You can use the following vxfsconvert command to convert an unmounted HFS file system
to a Veritas file system with disk layout Version 7:
# vxfsconvert /device_name
For more information on the vxfsconvert command and fsadm_vxfs command, see the
vxfsconvert(1M) and fsadm_vxfs(1M) manpages.
Using the vxupgrade Command
You can use the following vxupgrade command to upgrade old VxFS disk layouts to disk layout
Version 7 while the file system remains mounted::
# vxupgrade -n 7 /mount_point
Upgrading Disk Layout Versions 73