6.If there are any VxFS file systems with disk layout 2 or 3 or non-VxFS file systems on your system, after upgrading to VxFS 5.1 SP1, that must be converted to VxFS. To upgrade to DLV

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 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 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 -n 5 <mount_point>

#vxupgrade -n 6 <mount_point>

#vxupgrade -n 7 <mount_point>

9.To verify the conversion, enter the following command:

# fstyp -v <vol_name>

Upgrading from VxFS 3.5 on HP-UX 11i v2 to VxFS 5.1 SP1 on HP-UX 11i v3

To upgrade from VxFS 3.5 on HP-UX 11i v2 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:

48 Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1

Page 48
Image 48
HP Serviceguard Storage Management Suite for VERITAS # opt/VRTS/bin/vxfsconvert volname, # fsck -F vxfs -y -o full volname