Chapter 25. Storage concepts
This chapter introduces the concepts used for describing managing storage devices.
A storage pool is a file, directory, or storage device managed by libvirt for the purpose of providing storage to virtualized guests. Storage pools are divided into storage volumes that store virtualized guest images or are attached to virtualized guests as additional storage.
libvirt uses a directory-based storage pool, the
/var/lib/libvirt/images/ directory, as the default storage pool. The default storage pool can be changed to another storage pool.
Storage pools can be divided up into volumes
or allocated directly to a guest. Volumes of a storage pool can be allocated to virtualized guests. There are two categories of storage pool available:
Local storage pools
Local storage pools are directly attached to the host server. Local storage pools include local directories, directly attached disks, and LVM volume groups on local devices.
Local storage pools are useful for development, testing and small deployments that do not require migration or large numbers of virtualized guests. Local storage pools are not suitable for many production environments as local storage pools do not support live migration.
Networked (shared) storage pools
Networked storage pools covers storage devices shared over a network using standard protocols.
Supported protocols for networked storage pools:
Networked storage is a requirement for migrating guest virtualized guests between hosts. Networked storage pools are managed by libvirt.