Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)
5 Upgrading VxFS Disk Layout
This chapter discusses the following VxFS upgrade paths:
• “Upgrading VxFS 3.5 on HP–UX 11i Version 2 to VxFS 4.1 on HP–UX 11i Version 3”
• “Upgrading VxFS 4.1 on HP–UX 11i Version 2 to VxFS 4.1 on HP–UX 11i Version 3”
NOTE:
• The HP-UX 11i boot loader requires the boot file system (if a vxfs file system) on disk layout
version 5 or less. The boot file system, usually mounted under /stand or /, contains the
HP-UX boot kernel. You must not use the vxupgrade command on the boot file system to
upgrade it to disk layout version 6 or above even if the VxFS version on your system supports
the new disk layout versions. Otherwise, your system will be unbootable.
• When you use the vxupgrade or other core file systems commands on /, /usr, /var,
/opt, you must ensure that the OE media for system recovery supports a VxFS version that
can recognize the new disk layouts. Otherwise, you may not be able to repair these file
systems in a recovery shell.
• VxFS 4.1 does not support mounting of file systems with disk layout version 2 or version 3.
You must use the vxfsconvert command to upgrade version 2 or version 3 disk layouts
to version 4 disk layout on an unmounted file system.
• This is the last VxFS release to support Disk Layout Version 4 and Disk Layout Version 5.
Upgrade the existing file systems on your system to Disk Layouts Version 6 to enable new
Veritas File System features and to support upgrades in future releases. However, do not
upgrade the /stand and /file systems to Disk Layout Version 6 as the HP-UX boot loader
does not understand this layout.
Upgrading VxFS 3.5 on HP–UX 11i Version 2 to VxFS 4.1 on HP–UX 11i
Version 3
Upgrade from VxFS 3.5 on 11i version 2 to VxFS 4.1 on 11i version 3 as follows:
1. Determine the volume names:
# bdf
See bdf (1M), for detailed description of the supported options.
2. Determine the current disk layout version for system partitions:
# fstyp -v <vol_name>
See fstyp (1M), for detailed description of the supported options.
3. Upgrade to DLV 6 and convert an hfs file system to vxfs file system:
# /opt/VRTS/bin/vxfsconvert <vol_name>
See vxfsconvert (1M), for detailed description of the supported options.
The vxfsconvert command works with unmounted file systems. To upgrade mounted
file system use the vxupgrade command as described in step 6. You must run fsck after
vxfsconvert as vxfsconvert does not create all metadata files.
4. Run the VxFS specific full fsck on the converted file system:
# fsck -F vxfs -y -o full <vol_name>
See fsck (1M), for detailed description of the options.
During pass 4, fsck displays several error messages that require a yes response to complete
the conversion process.
Upgrading VxFS 3.5 on HP–UX 11i Version 2 to VxFS 4.1 on HP–UX 11i Version 3 49