Chapter 5. Using the Pool Volume Manager
33
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
5.9. Erasing a Pool Volume
A deactivated pool can be erased by using the
-e
option of the
pool_tool
command. Using
pool_tool
-e
erases the disk labels written when the pool was created.
5.9.1. Usage
pool_tool -e [
PoolName
]
PoolName
Specifies the pool to erase. If no pool names are specified, all pools are erased.
5.9.2. Example
This example erases all disk labels for
pool0
:
pool_tool -e pool0
5.9.3. Comments
The
-O
(override) flag bypasses the confirmation step.
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...