Upgrading VxFS disk layout versions

Veritas File System 6.0 allows Version 4, 5, 6 and 7 for locally mounted file systems and disk layout Versions 6 and 7 for cluster mounted file systems. If you have cluster-mounted file systems with disk layout Versions lower than 6, then after upgrading to VxFS 6.0, upgrade the disk layout. Perform the following additional steps to prepare the file system for being mounted on all nodes of the cluster.

Disk layout Versions 1, 2, and 3 are not supported by VxFS 6.0. All file systems created on VxFS 6.0 use disk layout Version 7 by default.

See the Veritas File System Administrator's Guide.

To upgrade VxFS disk layout versions

  1. Select one of the nodes of the cluster and mount the file system locally on this node. Use the mount, but without the -o cluster option. For example:

    # mount -F vxfs /dev/vx/dsk/sharedg/vol1 /mnt1
  2. To find the current disk layout version on a file system:

    # fstyp -v <char_device_path> | 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 6.0, you would need to 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, after the disk layout has been successfully upgraded, unmount the file system:

    # umount /mnt1
  5. This file system can be mounted on all nodes of the cluster.