Managing storage pools

Before you begin

  1. Configure one or more storage pools as described in Configuring storage pools.
  2. For each storage pool, configure a set of volumes. Alternatively, you can create volumes by using virsh commands.

About this task

Once a storage pool is defined to libvirt, it can enter the states inactive, active, or destroyed.

Figure 1 shows the state-transition diagram of a storage pool:
Figure 1. Storage pool state-transition diagram

This graphic illustrates the storage pool states

There are virsh commands to:
  • Create a persistent storage pool definition, modify the definition, and delete the storage pool definition
  • Manage the storage pool life cycle
  • Monitor a storage pool

These commands are described in Storage pool management commands.

There are also virsh commands to manage the volumes of a storage pool. Use the commands described in Volume management commands.