Symantec logo

Making the file systems clean

If you upgrade to SFCFS 5.0 and the file systems are dirty, you have to deport the shared disk group and import it as non-shared. After the import, run fsck. fsck should succeed. Then deport the disk group and import it back as shared.

 To make the file systems clean

  1. Log in as superuser onto the CVM master node.
  2. If performing a full upgrade, offline the group on all the nodes in the cluster:

    # hagrp -offline group -sys system01

    # hagrp -offline group -sys system02

    # hagrp -offline group -sys system03

    # hagrp -offline group -sys system04

If performing a phased upgrade, offline the group:

# hagrp -offline group -sys system01

# hagrp -offline group -sys system02

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

  1. Deport the disk group:

# vxdg deport diskgroup

where diskgroup is the SFCFS disk group.

  1. Import the disk group:

    # vxdg -C import diskgroup

  2. Start all the volumes in the disk group:

    # vxvol -g diskgroup startall

  3. Check and repair each file system:

    # fsck -V vxfs /dev/vx/dsk/diskgroup/volume


      Note   Repeat step 3 for each file system.


  4. Deport the disk group:

    # vxdg deport diskgroup

  5. Import the disk group:

    # vxdg -s import diskgroup

  6. Start all the volumes in the disk group:

    # vxvol -g diskgroup startall

  1. If performing a full upgrade, for all the resources that are faulted, run the following command:

    # hares -clear resource -sys system01

    # hares -clear resource -sys system02

    # hares -clear resource -sys system03

    # hares -clear resource -sys system04

If performing a phased upgrade, for all the resources that are faulted, run the following command:

# hares -clear resource -sys system01

# hares -clear resource -sys system02

  1. If performing a full upgrade, online the group on all the nodes in the cluster:

    # hagrp -online group -sys system01

    # hagrp -online group -sys system02

    # hagrp -online group -sys system03

    # hagrp -online group -sys system04

If performing a phased upgrade, online the group:

# hagrp -online group -sys system01

# hagrp -online group -sys system02