Appendix B. Basic GFS Examples
139
Major
Minor
#Blocks
Name
8
16
8388608
sda
8
17
8001
sda1
8
18
8377897
sda2
8
32
8388608
sdb
8
33
8388608
sdb1
Table B-7. Storage Device Information
Notes
For shared storage devices to be visible to the nodes, it may be necessary to load an appropriate
device driver. If the shared storage devices are not visible on each node, confirm that the device
driver is loaded and that it loaded without errors.
The small partition (
/dev/sda1
) is used to store the cluster configuration information. The two re-
maining partitions (
/dev/sda2
,
sdb1
) are used for the GFS file systems.
You can display the storage device information at each node in your GFS cluster by running the follow-
ing command:
cat /proc/partitions
. Depending on the hardware configuration of the GFS nodes,
the names of the devices may be different on each node. If the output of the
cat /proc/partitions
command shows only entire disk devices (for example,
/dev/sda
instead of
/dev/sda1
), then the
storage devices have not been partitioned. If you need to partition a device, use the
fdisk
com-
mand.
B.2.2. Prerequisites
The prerequisites for this example are as follows:
•
Kernel installed
•
GFS RPM installed
•
GFS kernel modules loaded
B.2.2.1. Kernel Installed
An appropriate kernel must be installed and running on each node. Refer to Section 3.2.1
Installing a
Linux Kernel
for more information about installing a Linux kernel.
B.2.2.2. GFS RPM Installed
The GFS RPMs must be installed, and all GFS commands, daemons and fencing agents must be
accessible via root’s search path.
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...