12-17-2012 07:19 PM
We need to increase the cluster filesystem size in vcs in linux thru adding the new lun. Please provide me the steps. I need to extend the size. Thanks
12-18-2012 03:16 AM
You need to initialise LUN (vxdisksetup -i ) and add LUN to diskgroup (vxdg -g diskgroup adddisk) and then grow volume and filesystem to new disk. You must grow volumes on the CVM master - see extract from SFCFS Admin guide:
There is a master node for CVM as well as a primary for SFCFS. When growing afile system, you grow the volume from the CVM master, and then grow the filesystem from any SFCFS node. The CVM master and the SFCFS node can be differentnodes.To determine the primary file system in a cluster■ To determine the primary file system in a cluster, type the following command:# fsclustadm -v showprimary mount_pointTo determine that the current node is the master CVM node■ To determine if the current node is the master CVM node, type the following comannd:# vxdctl -c modeTo actually increase the size of the file system1. On the master CVM node, type the following command:# vxassist -g shared_disk_group growto volume_name newlength2. On any SFCFS node, type the following command:# fsadm -F vxfs -b newsize -r device_name mount_point
# vxresize -g oradatadg oradatavol +2G
# vxresize -g oradatadg oradatavol +2G !LUN_NAME