GridVids
Sign in with YouTube

Linux | KVM | Performing vStorage Management on KVM Hypervisors.

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

Yogesh Mehta 9 years ago

Many Organizations uses KVM as their Virtualization Hypervisor. As a system engineer managing the KVM setup, there are tasks admins perform very often:

1. Allocate the new disks to the KVM guests. 2. Resize the existing allocated disks. 3. Detach and delete the existing allocated disks.

For the disk creation we are going to use “qemu-img” utility. I have seen many admins use “dd” to create new disks/images, but I recommend “qemu-img” over “dd”. Couple of benefits

o Creates sparse file. o Images can be modified (ex can be resized). o This utility can handle all type of image formats supported by QEMU.

In this video , discussion is on the following

o Create virtual disk image. o Attach the newly created disk to the KVM guest. o Resize the existing image. o Detach the disk from the KVM.