Personal tools
You are here: Home FAQ Troubleshooting Guide File Systems GFS Resizing GFS
Document Actions

Resizing GFS

In order to resize GFS some requirements need to be meat.

Partitiontables:

The new or resized partitions need to be seen at any node. This can eigher be done via a SCSI/FC-Rescan script (HP: hp_rescan) or if an existing partition has been resized with sfdisk -R. Be sure that any node in the cluster sees the same partitions with the same sizes.

LVM-Config:

If LVM is used be sure the clusterlocking is enabled. Check /etc/lvm/lvm.conf for locking_type=3 or locking_type=2. Next check if clvmd is running (/etc/init.d/clvmd status) and start if appropriate labeling new pvs then resize the volume group and then the logical volume. Check that all nodes see the same volumegroup configuration (*vgdisplay -v *).

GFS-Resize:

Now if you have resized all dependencies execute *gfs_grow * on ONE node and everything should be fine.

Problems:

You will only see problems if I/Os go behind the old device - that means if your filesystem access the new devices. Then unmount the filesystem on all nodes, deactivate the volumegroup (*vgchange -an ), vgscan and activate the volumegroup again (vgchange -ay volumegroup). Now you can savly remount the filesystem on all nodes.


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: