LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2011, 06:39 AM   #1
taousif
LQ Newbie
 
Registered: Feb 2011
Posts: 18

Rep: Reputation: 0
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
 
Old 02-22-2011, 04:44 PM   #2
ibaydan
Member
 
Registered: Jan 2008
Distribution: Debian6 , Centos 6,Ubuntu 11.04
Posts: 57

Rep: Reputation: 2
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'/>
 
Old 02-22-2011, 11:14 PM   #3
taousif
LQ Newbie
 
Registered: Feb 2011
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 02-22-2011, 11:30 PM   #4
ibaydan
Member
 
Registered: Jan 2008
Distribution: Debian6 , Centos 6,Ubuntu 11.04
Posts: 57

Rep: Reputation: 2
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 .

Last edited by ibaydan; 02-22-2011 at 11:31 PM.
 
Old 02-23-2011, 05:15 AM   #5
taousif
LQ Newbie
 
Registered: Feb 2011
Posts: 18

Original Poster
Rep: Reputation: 0
How we can do the same with GUI, because I'm using Virtual Machine Manager in fedora 14.
 
Old 02-23-2011, 11:41 PM   #6
ibaydan
Member
 
Registered: Jan 2008
Distribution: Debian6 , Centos 6,Ubuntu 11.04
Posts: 57

Rep: Reputation: 2
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i am not able to compile a kernel 2.6.29.1 on fedora14. anil_cdac Linux - Newbie 4 02-16-2011 02:44 AM
squid proxy on fedora14 sonu2828 Linux - Newbie 1 02-08-2011 03:50 AM
how to get G++ compiler in fedora14 ishak.live Fedora 3 01-25-2011 09:52 AM
KVM Live Migration issue on fedora14 pushpraj Linux - Virtualization and Cloud 0 01-04-2011 05:09 AM
LXer: Fedora14 'Laughlin' screenshots tour LXer Syndicated Linux News 0 11-03-2010 01:20 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration