32
Chapter 5. Using the Pool Volume Manager
5.7.2. Example
In this example, the
pool_tool -p
command displays the configuration for
pool0
:
#
pool_tool -p pool0
poolname pool0
#minor
dynamically assigned
subpools 1
subpool 0 0 1 gfs_data
pooldevice 0 0 /dev/sda1
5.8. Growing a Pool Volume
An existing pool can be expanded while it is activated or deactivated. You can grow a pool by creating
a new pool configuration file (based on an existing pool configuration file), then adding one or more
subpools containing the new devices to be added to the volume.
Refer to Section 5.7
Displaying Pool Configuration Information
for information on creating a config-
uration file for an existing pool volume.
5.8.1. Usage
pool_tool -g [
ConfigFile
]
ConfigFile
Specifies the file describing the extended pool.
Note
The
pool_tool
-g
command supersedes the
pool_grow
command as of GFS 5.2. Although the
pool_grow
command is still available, it is not supported in GFS 5.2 and later.
5.8.2. Example procedure
The following example procedure expands a pool volume.
1. Create a new configuration file from configuration information for the pool volume that you
want to expand (in this example,
pool0
):
#
pool_tool -p /dev/pool/pool0 > pool0-new.cfg
#
cat pool0-new.cfg
poolname pool0
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
Содержание 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...