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
If your system already contains the
5.Install VxFS 5.1 SP1. For more information on installing VxFS 5.1 SP1, see Chapter 3 (page 27).
6.To convert any
# /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 6. You must run fsck after vxfsconvert, because vxfsconvert does not create all metadata files.
7.To run the
# 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 vxupgrade, as follows:
a.To upgrade a mounted VxFS file system from disk layout 4 to disk layout 7, enter the following commands:
#vxupgrade
#vxupgrade
#vxupgrade
b.To upgrade a mounted VxFS file system from disk layout 5 to disk layout 7, enter the following commands:
#vxupgrade
50 Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1