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
# hagrp -offline
group -sys
system01
# hagrp -offline
group -sys
system02
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.
where diskgroup
is the SFCFS disk group.
# fsck -F vxfs /dev/vx/dsk/
diskgroup/
volume
Note Repeat step 3 for each file system.
# hares -clear
resource -sys
system01
# hares -clear
resource -sys
system02
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
# hagrp -online
group -sys
system01
# hagrp -online
group -sys
system02
If performing a phased upgrade, online the group:
# hagrp -online
group -sys
system01
# hagrp -online
group -sys
system02