Problem:

 

When trying to extend a shared filesystem in  Enhanced-Capable Concurrent mode VG in PowerHA, I always return the following message:

 

cl_chfs: VG sharedvg is concurrent

No matter I use smit cspoc -> filesystem

or command:

/usr/es/sbin/cluster/sbin/cl_chfs -cspoc -nnode1,node2 -a size=+100G -A no /usr/opt/db2/dat1

Or

/usr/es/sbin/cluster/cspoc/cli_chfs -a size=+100G /usr/opt/db2/dat1

 

Solution:

 

The problem is due to a typo in line 139 of /usr/es/sbin/cluster/utilities/clresactive

if print -- "$lsvg_out" | grep -i -q "passive_only"

It should be

  if print -- "$lsvg_out" | grep -i -q "passive-only"

 

Please note it should be _ instead of – between passive and only.

 

Modify the /usr/es/sbin/cluster/utilities/clresactive on all the Power HA nodes, now extending sharded filesystem works!