<< Back to shouce.jb51.net

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.