Installation guide

Chapter 26. Storage pools
218
e. Select the size of the partition. In this example the entire disk is allocated by pressing Enter.
Last cylinder or +size or +sizeM or +sizeK (2-400, default 400):
f. Set the type of partition by pressing t.
Command (m for help): t
g. Choose the partition you created in the previous steps. In this example, the partition number
is 1.
Partition number (1-4): 1
h. Enter 8e for a Linux LVM partition.
Hex code (type L to list codes): 8e
i. write changes to disk and quit.
Command (m for help): w
Command (m for help): q
j. Create a new LVM volume group
Create a new LVM volume group with the vgcreate command. This example creates a
volume group named guest_images_lvm.
# vgcreate guest_images_lvm /dev/sdb1
Physical volmue "/dev/vdb1" successfully created
Volume group "guest_images_lvm" successfully created
The new LVM volume group, guest_images_lvm, can now be used for an LVM-based storage
pool.
2. Open the storage pool settings
a. In the virt-manager graphical interface, select the host from the main window.
Open the Edit menu and select Host Details