Originally posted by: grukrz1
yes, when you use C-SPOC utilites to create/modify cluster's shared VG/LV/FS it updates all corresponding cluster nodes.
smitty cl_lvm
or direct smity fast path to c-spoc shared fs shows/change:
smitty cl_chjfs2 #for jfs2 type filesystems
smitty cl_chjfs #for jfs type filesystems
You can find how the command is constructed in /smit.log (you need to run is first from smit log),
or you can read in /usr/es/sbin/cluster/cspoc/smitlvm script how it works - you will find there that '-10' option invokes later /usr/es/sbin/cluster/cspoc/cli_chfs (for filesystems changes operations)
-10) RGNAME=$2
NAME=$3
shift 3
cl_chfs -cspoc "-g $RGNAME" $* $NAME
;;
eg.
/usr/es/sbin/cluster/cspoc/smitlvm -10 'A_CL_RGRP' '/asharedfs' -a size='22020096'.
RGNAME=$2=A_CL_RGRP (cluster resource group where the shared VG/FS is configured in)
NAME=$3='/asharedfs'
$*=the rest (shift 3)="-a size='22020096'" #for above example
will set filesystem size to 22020096 512byte blocks.
#AIX-Forum