1.Select one of the nodes of the cluster and mount the file system locally on this node. Use the mount command but without the -ocluster option. Following is a sample mount command:

#mount -F vxfs /dev/vx/dsk/sharedg/vol1 /mnt1

2.Find the current disk layout version on a file system:

#fstyp -v grep version \ awk '{print $2}'

3.On the node selected in Step 1, incrementally upgrade the disk layout of this file system to layout Version 6 or 7.

For example, if you had a cluster mounted file system of disk layout Version 4 running with previous version of VxFS, after upgrading to VxFS 5.1 SP1, you must upgrade the disk layout to Version 6 or 7. The incremental upgrade is as follows:

#vxupgrade -n 5 /mnt1

#vxupgrade -n 6 /mnt1

#vxupgrade -n 7 /mnt1

4.On the node selected in Step 1, unmount the file system after the disk layout has been successfully upgraded:

#umount /mnt1

5.You can mount this file system on all nodes of the cluster.

Using the vxfsconvert Command

You can use the following vxfsconvert command to convert an unmounted HFS file system to a Veritas file system with disk layout Version 7:

# vxfsconvert /device_name

For more information on the vxfsconvert command and fsadm_vxfs command, see the vxfsconvert(1M) and fsadm_vxfs(1M) manpages.

Using the vxupgrade Command

You can use the following vxupgrade command to upgrade old VxFS disk layouts to disk layout Version 7 while the file system remains mounted::

# vxupgrade -n 7 /mount_point

For more information on the vxupgrade and fsadm_vxfs commands, see vxupgrade(1M) and fsadm_vxfs(1M).

WARNING! The contents of intent logs created on a previous disk layout version cannot be used after the disk layout version is upgraded.

Requirements for Upgrading to Disk Layout Version 7

Converting a previous disk layout to a Version 7 disk layout requires adequate free space. The space and time required to complete the upgrade increases with the number of files, extended attributes, and hard links in the file system. The maximum space required is at least two additional inodes with one block for every inode. A minimum of 10 minutes if required to upgrade every million inodes in the file system.

Upgrading the VxVM Cluster Protocol Version

If you are upgrading a cluster and want to take advantage of the new features in this release, you must upgrade the version of the VxVM cluster protocol. To upgrade the protocol to version 100, enter the following command on the master node of the cluster:

# vxdctl upgrade

Upgrading the VxVM Cluster Protocol Version 65

Page 65
Image 65
HP Serviceguard Storage Management Suite for VERITAS manual Upgrading the VxVM Cluster Protocol Version