26
Chapter 5. Using the Pool Volume Manager
/dev/sdd8
<- unknown ->
/dev/hda
<- partition information ->
/dev/hda1
<- EXT2/3 filesystem ->
/dev/hda2
<- swap device ->
/dev/hda3
<- EXT2/3 filesystem ->
5.4. Creating a Configuration File for a New Volume
A pool configuration file is used as input to the
pool_tool
command when creating or growing a
pool volume. The configuration file defines the name and layout of a single pool volume. Refer to
Figure 5-1 for the pool configuration file format. Refer to Table 5-9 for descriptions of the configura-
tion file keywords and variables.
An arbitrary name can be used for a pool configuration file; however, for consistency, it is recom-
mended that you name the file using the pool name followed by the
.cfg
extension (
poolname
.cfg
).
For example, the pool configuration file for a pool named
pool0
would be defined in configuration
file
pool0.cfg
.
Before creating a configuration file, you can check to see what devices are available by using the
pool_tool
command with the
-s
option.
poolname
name
minor
number
subpools
number
subpool
id stripe devices
[
type
]
pooldevice
subpool id device
Figure 5-1. File Structure: Pool Configuration File
File Line and
Keyword
Variable
Description
poolname
name
The name of the pool device that appears in the
/dev/pool/
directory.
minor
number
Assigns a device minor number (0 to 64) to a
pool. If number is specified as 0 (or if the minor
line is omitted), the minor number of the pool is
assigned dynamically. The default value is 0.
subpools
number
Represents the total number of subpools in the
pool. The
number
value should be set to a
value of 1 unless special data or journal
subpools are used.
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: ......