Chapter 5. Using the Pool Volume Manager
31
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 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
2. Edit the new file,
pool0-new.cfg
, by adding one or more subpools that contain the devices or
partitions, as indicated in this example:
poolname pool0
subpools 2
<---
Change
subpool 0 128 4 gfs_data
subpool 1 0 1 gfs_data
<---
Add
pooldevice 0 0 /dev/sdb1
pooldevice 0 1 /dev/sdc1
pooldevice 0 2 /dev/sdd1
pooldevice 0 3 /dev/sde1
pooldevice 1 0 /dev/sdf1
<---
Add
3. After saving the file, verify that the file has been changed:
#
cat pool0-new.cfg
poolname pool0
subpools 2
<---
Changed
subpool 0 128 4 gfs_data
subpool 1 0 1 gfs_data
<---
Added
pooldevice 0 0 /dev/sdb1
pooldevice 0 1 /dev/sdc1
pooldevice 0 2 /dev/sdd1
pooldevice 0 3 /dev/sde1
pooldevice 1 0 /dev/sdf1
<---
Added
4. Run the
pool_tool
command with the grow (
-g
) option specifying the configuration file:
pool_tool -g pool0-new.cfg
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: ......