KVM 101 : Virtual machine storage pools and storage volumes
We will start by defining a storage pool - disks -, that is going to be "mounted" on the /disks directory:
Then we check it:
If we want our pool to start automatically when we turn on the machine we use the following:
To create a storage volume disk_1.img in the storage pool disks, we use the below command - 5G, raw format -:
We could see the recently created volume using the below command:
The last steps is undefining it using the below command:
To finish our cleanup, we will need to remove the /disks directory.
Comments