5.11. Changing a Pool Volume Minor Number

The pool_tool command can be used to change the minor number of a pool.

5.11.1. Usage

pool_tool -m Number PoolName

Number

Specifies the new minor number to be used.

PoolName

Specifies the name of the pool to be changed. The minor number must have a value between 0 and 64. Specifying a minor number of 0 dynamically selects an actual minor number between 65 and 127 at activation time.

NoteNote
 

You must deactivate a pool before changing its pool volume minor number. You can deactivate a pool with the pool_assemble -r PoolName command or by using the pool init.d script. For more information about GFS init.d scripts, refer to Chapter 12 Using GFS init.d Scripts.

5.11.2. Example

This example changes the minor number for pool0 to 6.

pool_tool -m 6 pool0

5.11.3. Comments

Before changing a pool volume minor number, deactivate the pool. For this command to take effect throughout the cluster, you must reload the pools on each node in the cluster by issuing a pool_assemble -r PoolName command followed by a pool_assemble -a PoolName command.

NoteNote
 

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.