Chapter 5. Using the Pool Volume Manager
27
File Line and
Keyword
Variable
Description
subpool
id stripe devices
[
type
]
The details of each subpool:
id
is the subpool identifier. Number the
subpools in order beginning with 0.
stripe
is the stripe size in sectors (512 bytes
per sector) for each device. A value of 0
specifies no striping (concatenation).
devices
specifies the number of devices in
the subpool.
type
is optional and specifies the label type to
attach to the subpool. Values of
gfs_data
or
gfs_journal
are acceptable. The default value
is
gfs_data
.
pooldevice
subpool id device
Adds a storage device to a subpool:
subpool
specifies the subpool identifier to
which the device is to be added.
id
is the device identifier. Number the devices
in order beginning with 0.
device
specifies the device node to be used
(for example,
/dev/sda1
).
Table 5-9. Pool Configuration File Keyword and Variable Descriptions
5.4.1. Examples
This example creates a 4-disk pool named pool0 that has a stripe size of 64K and an assigned minor
number of 1:
poolname pool0
minor 1 subpools 1
subpool 0 128 4 gfs_data
pooldevice 0 0 /dev/sdb1
pooldevice 0 1 /dev/sdc1
pooldevice 0 2 /dev/sdd1
pooldevice 0 3 /dev/sde1
This example creates a 4-disk pool named pool1 that has a dynamic minor number composed of a
striped subpool and a concatenated subpool:
poolname pool1
minor 0
subpools 2
# striped subpool
subpool 0 128 2 gfs_data
# concatenated subpool
subpool 1 0 2 gfs_data
pooldevice 0 0 /dev/sdb1
pooldevice 0 1 /dev/sdc1
pooldevice 1 0 /dev/sdd1
pooldevice 1 1 /dev/sde1
Summary of Contents for GFS 6.0 -
Page 1: ...Red Hat GFS 6 0 Administrator s Guide...
Page 8: ......
Page 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Page 98: ...84 Chapter 7 Using the Cluster Configuration System...
Page 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Page 128: ...114 Chapter 9 Managing GFS...
Page 134: ...120 Chapter 10 Using the Fencing System...
Page 144: ...130 Chapter 12 Using GFS init d Scripts...
Page 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Page 184: ...170 Appendix C Basic GFS Examples...
Page 190: ......