<< Back to man.ChinaUnix.net

5.10. Renaming a Pool Volume

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

5.10.1. Usage

pool_tool -r NewPoolName CurrentPoolName

NewPoolName

Specifies the new name of the pool.

CurrentPoolName

Specifies the pool name to be changed.

NoteNote
 

In releases before GFS 5.2, the -r flag had a different usage.

NoteNote
 

You must deactivate a pool before renaming it. 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.10.2. Example

This example changes the name for pool mypool to pool0:

pool_tool -r pool0 mypool