Pages

Wednesday, February 27, 2013

error: Requested operation is not valid: Disk does not support snapshotting

error: Requested operation is not valid: Disk  does not support snapshot This error arises when you try to take a snapshot of a VM hard disk with virsh command as shown below virsh snapshot-create Clusterbase error: Requested operation is not valid: Disk '/path/to/kvm/clusterbase.img' does not support snapshot. If you see image of this VM is .img format, by default Virsh snapshot will work only for qcow2 format as of time of this post writing. So first convert that image to qcow2 format and then try to do a snapshot t...

Sunday, February 24, 2013

Loaded plugins:fastest mirror Loading mirror speed from cached hosfile Setting up install process Nothing to do

Q. I am seeing below error when installing some packages  Loaded plugins:fastest mirror   Loading mirror speed from cached hosfile   Setting up install process   Nothing to do This error will come when you execute below command yum install somepackage and the repo is set with "enable=0", try to change it or use --enablerepo= as shown below. yum --enablerepo=yourreponame install somepackage If you set enable=0 that indicates that dont include this repo when installing RPM packages. And enable=1 will include this...

Friday, February 22, 2013

error: command 'save' requires option

This error will come when you are trying to save VM using virsh command. When you try to save VM status using Virt-manager we no need to mention any file to save the status. Virt-manager will take care of saving it. But virsh have no mechanism like this. We have to provide a file to save the machine status. virsh save domaname filename Example virsh save linux1 /opt/linux1.sta...