Find the answer to your Linux question:
Results 1 to 7 of 7
Hi, I want to delete the KVM created hard disk image file, so I would like to know where it is located . Thank you...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    44

    KVM Files in fedora14

    Hi,

    I want to delete the KVM created hard disk image file, so I would like to know where it is located .


    Thank you

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    You could open the virt-manager and then double click on the VM you wish to delete and open it. Click the hardware tab and there it will show you the path and file. Or click on the VM you want to delete and then click edit in the menu bar and go from there which would be the proper way of doing it.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    44
    Thank you,

    Can we change the default path of the image files created by KVM in fedora ?

  4. #4
    Just Joined!
    Join Date
    Feb 2011
    Location
    California
    Posts
    3
    The default is in /var/lib/libvirt/images. I usually just create large /images EXT partition, then symlink it to /var/lib/libvirt/images. Problem solved.

    Also, be sure to change the storage device cache mode for virtual guests if using FC14 + image files (will require a vm restart). Write performance is EXTREMELY poor at this time in FC14 unless you change this to at least "None".

    "Writeback" yields even greater gains, but write-back can lose/corrupt data if the host crashes before the data is physically written/flushed to the disk.

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    When you run virt-manager to install a VM you can choose the path you want the images installed to.

    Now if you want to move an image that is already installed then you should look in /etc/libvirt/qemu which is where the config files are for the VM's. Edit the VM config file there you should find the entry for source file and change it accordingly.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Just Joined!
    Join Date
    Dec 2010
    Posts
    44
    Thank you all,

    I got a new problem, I am running 3 guest machines in KVM and also I have bridged the host machine so that I would be able to get the network access on the guest machines and I am getting it also, but the problem is that I am not able to ssh the one guest machine from another guest machine moreover I am able to ssh the host machine from any of the guest machine.

  7. #7
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Are the VM's firewalls running?
    Do they allow connections in?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...