To install GFS, perform the following steps:
Install GFS RPMs.
Load the GFS kernel modules.
Installing GFS RPMs consists of acquiring and installing two GFS RPMs: the GFS tools RPM (for example, GFS-188.8.131.52-1.i686.rpm) and the GFS kernel-modules RPM (for example, GFS-modules-smp-184.108.40.206-1.i686.rpm).
You must install the GFS tools RPM before installing the GFS kernel-modules RPM.
To install GFS RPMs, follow these steps:
Acquire the GFS RPMs according to the kernels in the GFS nodes. Copy or download the RPMs to each GFS node.
Make sure that you acquire the appropriate GFS kernel-modules RPM for each kernel type. For example, the following GFS kernel-modules RPM is for an SMP or hugemem kernel:
The GFS tools RPM is common to all kernels.
At each node, install the GFS tools RPM using the rpm -Uvh command. For example:
# rpm -Uvh GFS-220.127.116.11-1.i686.rpm
At each node, install the GFS kernel-modules RPM using the rpm -Uvh command. For example:
# rpm -Uvh GFS-modules-smp-18.104.22.168-1.i686.rpm
At each node, issue the rpm -qa command to check the GFS version as follows:
# rpm -qa | grep GFS
This step verifies that the GFS software has been installed; it lists the GFS software installed in the previous step.
Once the GFS RPMs have been installed on the GFS nodes, the following GFS kernel modules need to be loaded into the running kernel before GFS can be set up and used:
The GFS kernel modules must be loaded into a GFS node each time the node is started. It is recommended that you use the init.d scripts included with GFS to automate loading the GFS kernel modules. For more information about GFS init.d scripts, refer to Chapter 12 Using GFS init.d Scripts.
The procedures in this section are for a GFS configuration that uses LOCK_GULM. If you are using LOCK_NOLOCK, refer to Appendix C Basic GFS Examples for information about which GFS kernel modules you should load.
To load the GFS kernel modules, follow these steps:
Run depmod -a. For example:
# depmod -a
Run this only once after RPMs are installed.
Load pool.o and dependent files as follows:
# modprobe pool
To specify a persistent major number, edit /etc/modules.conf before loading pool.o. Refer to Section 3.1.2 Specifying a Persistent Major Number
Load lock_gulm.o and dependent files as follows:
# modprobe lock_gulm
Load gfs.o and dependent files as follows:
# modprobe gfs