6.If there are any VxFS file systems with disk layout 2 or 3 or
7 and convert an HFS file system to VxFS, enter the following command:
# opt/VRTS/bin/vxfsconvert <vol_name>
The vxfsconvert command works with unmounted file systems. To upgrade mounted file system, 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
# 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 can still be mounted with VxFS 5.1 SP1. However, to upgrade to disk layout versions 5, 6, or 7, use vxupgrade, as follows:
a.To upgrade a mounted VxFS file system from disk layout 4 to disk layout 5, enter the following command:
#vxupgrade -n 5 <mount_point>
b.To upgrade a mounted VxFS file system from disk layout 4 to disk layout 6, enter the following command:
#vxupgrade -n 5 <mount_point>
#vxupgrade -n 6 <mount_point>
c.To upgrade a mounted VxFS file system from disk layout 4 to disk layout 7, enter the following commands:
#vxupgrade
#vxupgrade
#vxupgrade
9.To verify the conversion, enter the following command:
# fstyp -v <vol_name>
Upgrading from VxFS 3.5 on
To upgrade from VxFS 3.5 on
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
3.To upgrade file systems with DLV 2 or 3, before installing 5.1 SP1, complete the following steps:
48 Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1