FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Location
    London, UK
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool Fedora 8 x64: XEN config files missing?

    Hi

    I have recently migrated my server from Fedora 6 to Fedora 8. I run a number of XEN virtual machines, and have copied the disk images and config files from my old server to the new one. Specifically, I have copied my config files to /etc/xen, and linked these into /etc/xen/auto to ensure they are started during boot time.

    So, I decided to create a new virtual machine, using virt-install. The installation process was pretty much identical to that in Fedora 6. The installation was successful and the virtual machine runs fine. However, when I look in /etc/xen I do not find the configuration file. In fact, a search of the entire hard disk has not turned up the config file (which I expected to be named the same as my virtual server's name). This means that I am unable to link the machine into /etc/xen/auto for it to run at boot time.

    So, where in Fedora 8 are Xen's virtual machine configuration files kept?

    Thanks in advance.

  2. #2
    Join Date
    Apr 2005
    Location
    London, UK
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ...some more information. I think the real problem is that virt-install is not saving the config file anywhere. If I install a new VM using virt-install, it will run fine, until I shut down that virtual machine.

    Then, if I try to run the VM again using "xm create <vm name>", I get the error:

    Error: Unable to open config file: <vm name>

    So, why does virt-install no longer save config files for newly created virtual machines?

  3. #3
    ldmitry Guest

    Things are very mysterious

    I have some virtual machines created on xen on fedora 8. It somehow keeps info about my virtual machines - after reboot '#virsh list' shows machines and '#virsh start <domain>' starts it.
    But i also can't find where it is keeped. Im relly tied with that search - only in /var/lib/xend/domains/*/config.sxp i found some like configuration, but it seems to be runtime - not boot config.
    Even more - one of my machines had to halt on shutdown (shutdown could'nt finish), so i had to destroy domain. Then troubles happened - i can't start, having 'Error: Had a bootloader specified, but no disks are bootable', and i can't find (or other way edit) configuration - changes to /var/lib/xend/domains/*/config.sxp does not makes effect.
    This makes my to have a real spite against fedora 8.

  4. #4
    leelofgren Guest
    The files are now located in /var/lib/xend/domains
    Each config file is in it's own directory made up of hex numbers.
    The config file is called config.sxp and the domain name is inside the config file so searching for the config files by the domain names won't work.
    xm create --config /var/lib/xend/domains/47a6-bla...bla...bla...-fb894/config.sxp
    will start the virtual machine

Similar Threads

  1. Cedega on Fedora 11 - Missing some .so files
    By Jeff91 in forum Using Fedora
    Replies: 8
    Last Post: 26th September 2011, 12:16 PM
  2. Fedora 10 missing LiveCD kickstart files?
    By Rick1424 in forum Using Fedora
    Replies: 3
    Last Post: 3rd December 2008, 04:31 PM
  3. lib files missing when compiled in fedora 9
    By send4jerry in forum Installation, Upgrades and Live Media
    Replies: 16
    Last Post: 8th September 2008, 06:54 AM
  4. Fedora Core 6 missing files
    By glen.robson in forum Using Fedora
    Replies: 10
    Last Post: 26th October 2007, 04:18 PM

Tags for this Thread

Posting Permissions

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