KVM Virtualization Partition-Based Storage Pool Configuration
Jump to navigation
Jump to search
External
Internal
Overview
This article explains how to expose a pre-formatted block device partition as storage pool, using virsh.
Do not use this procedure to configure an entire disk as storage pool. Follow this procedure for that Disk-based Storage Pool Configuration.
Procedure
Create a new partition to be exposed as the local storage pool. Use fdisk. For this example, the partition will be referred to as /dev/sda7.
Create a file system on the newly allocated partition, as described in mkfs.xfs or mkfs.ext4.