Installation Guide
# vxupgrade -n 7 <mount_point>
c. To upgrade a mounted VxFS file system from disk layout 6 to disk layout 7, enter the
following command:
# vxupgrade -n 7 <mount_point>
9. To verify the conversion, enter the following command:
# fstyp -v <vol_name>
Upgrading from VxFS 5.0 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.1
SP1 on HP-UX 11i v3
To upgrade from VxFS 5.0 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.1 SP1 on HP-UX 11i v3,
complete the following steps:
1. To determine the volume names, enter the following command:
# bdf
2. To determine the current disk layout version for system partitions, enter the following command:
# fstyp -v <vol_name>
3. To upgrade file systems with DLV 2 or 3, before installing 5.1 SP1, 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.1 SP1.
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 March 2011
OEUR or later, see the HP-UX 11i v3 Installation and Update Guide. To locate this document,
go to the HP-UX Core docs page at: www.hp.com/go/hpux-core-docs. On this page, select
HP-UX 11i v3.
If your system already contains the HP-UX 11i v3 operating system, you can skip this step.
5. Install VxFS 5.1 SP1. For more information on installing VxFS 5.1 SP1, see Chapter 3
(page 27).
6. To convert any non-VxFS file system on your system to a VxFS file system, and to upgrade the
DLV from 2 and 3 to 7, enter the following command:
# /opt/VRTS/bin/vxfsconvert <vol_name>
The vxfsconvert command works with unmounted file systems. To upgrade mounted file
systems 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>
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, 5, and 6 can still be mounted with VxFS 5.1 SP1. However,
to upgrade the disk layout version of mounted file systems to 7, use the vxupgrade command,
as follows:
Upgrading from VxFS 5.0 on HP-UX 11i v2 or HP-UX 11i v3 to VxFS 5.1 SP1 on HP-UX 11i v3 51