Ensuring the file systems are clean

Before upgrading to SFCFSHA 6.0.1, ensure that the file systems are clean. To ensure that the logs have been replayed and the file systems are marked clean:

To ensure the file systems are clean

  1. Log in as superuser onto any node in the cluster.
  2. Take the service group offline on each node of the cluster, which contains VxFS and CFS resources:
    # hagrp -offline group -sys system01
    # hagrp -offline group -sys system02
    # hagrp -offline group -sys system03
    # hagrp -offline group -sys system04

    where group is the VCS service group that has the CVMVolDg and CFSMount resource.

    Repeat this step for each SFCFSHA service group.

    Note:

    This unmounts the CFS file systems.

  3. Unmount all VxFS file systems not under VCS control:
    # umount mount_point
  4. Check and repair each VxFS file system:
    # fsck -F vxfs /dev/vx/rdsk/diskgroup/volume

    The fsck command in /opt/VRTS/bin accepts either the block or character device (/dev/vx/dsk/dg/vol) or (/dev/vx/rdsk/dg/vol). The operating system version of fsck may limit the device types it accepts.

    For more information, see the fsck and fsck_vxfs man pages.

    Repeat this step for each file system.