Appendix C. Basic GFS Examples
161
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 C-19. Storage Device Information
Notes
The storage must only be visible on the GNBD server node. The GNBD server node will ensure that
the storage is visible to the GFS cluster nodes via the GNBD protocol.
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. To partition a device, use the
fdisk
command.
C.5.2. Kernel Modules Loaded
Each node must have the following kernel modules loaded:
•
gfs.o
•
gnbd.o
•
lock_harness.o
•
lock_gulm.o
•
pool.o
C.5.3. Setup Process
The setup process for this example consists of the following steps:
1. Create and export GNBD devices.
Create and export a GNBD device for the storage on the GNBD server (
gnbdsrv
) to be used
for the GFS file systems and CCA device. In the following example,
gfs01
is the GNBD device
used for the pool of the first GFS file system,
gfs02
is the device used for the pool of the second
GFS file system, and
cca
is the device used for the CCA device.
Содержание GFS 6.0 -
Страница 1: ...Red Hat GFS 6 0 Administrator s Guide...
Страница 8: ......
Страница 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Страница 98: ...84 Chapter 7 Using the Cluster Configuration System...
Страница 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Страница 128: ...114 Chapter 9 Managing GFS...
Страница 134: ...120 Chapter 10 Using the Fencing System...
Страница 144: ...130 Chapter 12 Using GFS init d Scripts...
Страница 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Страница 184: ...170 Appendix C Basic GFS Examples...
Страница 190: ......