Chapter 5. Using the Pool Volume Manager
29
File Line and
Keyword
Variable
Description
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
5.5. Creating a Pool Volume
Once you have created or edited a configuration file (refer to Section 5.4
Creating a Configuration
File for a New Volume
), you can create a pool volume running the
pool_tool
command from any
node in the cluster. Because the
pool_tool
command writes labels to the beginning of the devices
or partitions, the new pool volume’s devices or partitions must be accessible to the system.
Note
You can activate a pool on any node by running the
pool_assemble
command. Refer to Section 5.6
Activating/Deactivating a Pool Volume
.
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...