December 2015
Intermediate to advanced
250 pages
4h 41m
English
This recipe includes instructions on how to create different types of storage volumes. Storage volumes are dedicated storage sets aside for use by guests.
There is not a lot of preparation to be done in order to add disks to your guest, which is in contrast to adding CPUs and RAM.
You only need to ensure that the storage pool has enough free disk space to accommodate the new disk.
Similar to the recipe for creating guests, you'll need to create a disk first. This can be done as follows:
localfs-vm pool that is 30 GB big through the following command:
~]# virsh vol-create-as --pool localfs-vm --name rhel7_guest-vdb.raw --format raw --capacity 30G