Linux KVM Notes
KVM and Storage
- /var/lib/libvrt/images/image-name will contain links to the mulipath device
- From this, run multipath -l too see which disk corresponds to the multipath device
- virsh dumpxml image-name dumps out the kvm config showing what the device name will be within the VM
NOTE: The bus type should be virtio as this is the most performant
The KVM GUI is called virt-manager
To add disks to an existing KVM
- partition the new disk with fdisk starting from block 2049
- create a link to /dev/mapper/mpathn in /var/lib/libvirt/images/image-name - Use virt-manager GUI to add hardwareStill stuck? Maybe we can help. Contact us at UpworkNever miss a thing subscribe to our newsletter or follow us on twitterFor more super cool techie stuff check out our blog!!
===Recent Changes===
Contribute to this wiki
Why not help others by sharing your knowledge? Contribute something to this wiki and join out hall of fame!
Contact us for a user name and password