<< Back to shouce.jb51.net

5.5. Creating a Pool Volume

Once a configuration file is created or edited (refer to Section 5.4 Creating a Configuration File for a New Volume), a pool volume can be created using the pool_tool command. Because the pool_tool command writes labels to the beginning of the devices or partitions, the new pool volume's devices or partitions must be accessible to the system. To create a pool, run the pool_tool command once from a single node.

NoteNote
 

The pool can be activated on any node by running the pool_assemble command. Refer to Section 5.6 Activating/Deactivating a Pool Volume.

5.5.1. Usage

pool_tool -c ConfigFile

ConfigFile

Specifies the file that defines the pool.

5.5.2. Example

In this example, the pool0.cfg file describes the new pool, pool0, created by the command.

pool_tool -c pool0.cfg

5.5.3. Comments

Multiple pools can be created with one pool_tool command by listing multiple pool configuration files on the command line.

If no flag is specified in the pool_tool command, the function defaults to creating a pool (-c), with the configuration file specified after the command.