Examples; Creating A Pool Volume - Red Hat GFS 6.0 Administrator's Manual

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

Chapter 5. Using the Pool Volume Manager
File Line and
Keyword
subpool
pooldevice
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
Variable
id stripe devices
[type]
subpool id device
Description
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
are acceptable. The default value
gfs_journal
is
.
gfs_data
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
27
or
gfs_data
).

Advertisement

Table of Contents
loading

Table of Contents