KVM Files in fedora14
Hi,
I want to delete the KVM created hard disk image file, may I know where it is located . Thank you |
The default directory is /var/lib/libvirt/images but if you cant see it there try
virsh edit "domainname" example: virsh edit centos1 and then look for similar line of this <source file='/var/lib/libvirt/images/centos.img'/> |
Thank you ibaydan,
One more question I have about the same, can we change default directory of kvm image files, if yes how . Thank you. |
virsh pool-dumpxml default > pool.xml
*edit pool.xml with new name and path an than create new pool from edited xml virsh pool-create pool.xml *but after creating new from from you may need to restart libvirt-bin service virsh pool-refresh name *if you want to use new pool while creating new vms you can use like this virt-install --connect qemu:///system \ -n bt4 \ -r 1024 \ --vcpus=6 \ --disk pool=vms,size=10 \ -c /mnt/bt4-r2.iso \ --vnc --noautoconsole \ --os-type linux \ --accelerate --network=bridge:br0 --hvm *if you have more question about virtualization don't hesitate to ask . |
How we can do the same with GUI, because I'm using Virtual Machine Manager in fedora 14.
|
Here is them virt-manager documentation.You can add new pool with type of direcctory.And deactive default storage pool.
http://virt-manager.et.redhat.com/pa...rageManagement |
All times are GMT -5. The time now is 08:06 PM. |