Red Hat GFS 5.2.1 Administrator's Manual page 42

Table of Contents

Advertisement

28
5.4. Creating a Configuration File for a New Volume
A pool configuration file is used as input to the
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 configuration 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
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
command with the
pool_tool
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
Variable
Keyword
poolname
name
minor
number
subpools
number
subpool
id stripe devices [type]
pool_tool
option.
-s
Chapter 5. Using the Pool Volume Manager
command when creating or growing a pool
extension (
.cfg
Description
The name of the pool device that appears in
the
directory.
/dev/pool/
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.
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.
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
or
gfs_data
gfs_journal
acceptable. The default value is
).
poolname.cfg
are
.
gfs_data

Advertisement

Table of Contents
loading

Table of Contents