If you upgrade to SFCFS 5.1 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
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.
# vxdg deport diskgroup
# vxdg -C import diskgroup
Start all the volumes in the disk group:
# vxvol -g diskgroup startall
Check and repair each file system:
# fsck -F vxfs /dev/vx/dsk/diskgroup/volume
# vxdg deport diskgroup
# vxdg -s import diskgroup
Start all the volumes in the disk group:
# vxvol -g diskgroup startall
If VVR is configured, upgrade all the disk groups on all the nodes on which VVR has been upgraded:
# vxdg upgrade diskgroup
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
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
If VVR is configured, bring online the RVGLogowner group on the master:
# hagrp -online RVGLogownerGrp -sys masterhost