Example Procedure; Erasing A Pool Volume - Red Hat GFS 6.0 Administrator's Manual

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

Chapter 5. Using the Pool Volume Manager
ConfigFile
Specifies the file describing the extended pool.
Note
The
pool_tool
command is still available, it is not supported in GFS 5.2 and later.
pool_grow

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,
partitions, as indicated in this example:
poolname pool0
subpools 2
subpool 0 128 4 gfs_data
subpool 1 0 1 gfs_data
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
3. After saving the file, verify that the file has been changed:
# cat pool0-new.cfg
poolname pool0
subpools 2
subpool 0 128 4 gfs_data
subpool 1 0 1 gfs_data
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
4. Run the
pool_tool
pool_tool -g pool0-new.cfg
command supersedes the
-g
, by adding one or more subpools that contain the devices or
pool0-new.cfg
command with the grow (
command as of GFS 5.2. Although the
pool_grow
<--- Change
<--- Add
<--- Add
<--- Changed
<--- Added
<--- Added
) option specifying the configuration file:
-g
31

Advertisement

Table of Contents
loading

Table of Contents