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

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
For more information on the vxupgrade and fsadm_vxfs commands, see the vxupgrade(1M)
and fsadm_vxfs(1M) manpages.
WARNING! The contents of intent logs created on a previous disk layout version cannot be used
after the disk layout version is upgraded.
Requirements for Upgrading to Disk Layout Version 7
Converting a previous disk layout to a Version 7 disk layout requires adequate free space. The
space and time required to complete the upgrade increases with the number of files, extended
attributes, and hard links in the file system. The maximum space required is at least two additional
inodes with one block for every inode. A minimum of 10 minutes if required to upgrade every
million inodes in the file system.
Migrating from /etc/vx/vxdba to /var/vx/vxdba for DB2 and Oracle
If you are upgrading Storage Foundation for DB2 or Storage Management for Oracle, you can
migrate to /var/vx/vxdba to save space under the root partition. Migrating to /var/vx/vxdba
is optional and can be done at any time.. However, if you do not perform this migration, you
cannot remove any file or directory from /etc/vx/vxdba to ensure proper operation.
To migrate from /etc/vx/vxdba to /var/vx/vxdba, complete the following steps:
Migrating from /etc/vx/vxdba to /var/vx/vxdba for DB2 and Oracle 71