30
Chapter 5. Using the Pool Volume Manager
Note
You can use GFS
init.d
scripts included with GFS to automate activating and deactivating pools.
For more information about GFS
init.d
scripts, refer to Chapter 12
Using GFS
init.d
Scripts
.
5.7. Displaying Pool Configuration Information
Using the
pool_tool
command with the
-p
(print) option displays pool configuration information in
configuration file format. The pool information is displayed in the format equivalent to the configura-
tion file that was used to create the pool. The disk labels that were written when the pool was created
are read to recreate the configuration file.
5.7.1. Usage
pool_tool -p [
PoolName
]
PoolName
Specifies the pool name(s) for which to display information. If no pool names are specified, all
active pools are displayed.
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
]
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: ......