An attempt was made to modify the optional MountOpt attribute to a Mount resource, such that the attribute's value "-rw" was removed. However, this was done incorrectly, and the attribute was left with a non-null value, i.e. empty space. E.g.
Mount export2(
MountOpt= " " <<<<<<
FsckOpt= "-y"
BlockDevice= "/dev/vx/dsk/datadg/datavol"
MountPoint= "/datavol"
FSType= vxfs
)
When the resource was re-onlined, the resource failed to online with the following errors:
2010/03/2316:42:51 VCS INFO V-16-2-13001 (xxxxxxxx) Resource(export2): Output of the completed operation (online)
mount: Mountpoint cannot be determined
/datavol:
mount: Mountpoint cannot be determined
fsck: operation not applicable to FSType vxfs
mount: Mountpoint cannot be determined
The issue was resolved by clearing the fault and ensuring that the attribute had its empty space cleared and removed as per below.
The group/resource could then be re-onlined:
# hagrp -clear abc <--- Clear the fault
# haconf -makerw <--- Make the configuration writable
# hares -modify export2 MountOpt "" <--- Make the change to the resource's MountOpt attribute
# haconf -dump -makero <--- Save and close the configuration
# hagrp -online abc -sys xxxxxxxx <--- Re-online the service-group