Xen Windows Config Problems Disk Line

Discussion in 'Server Operation' started by alyoshenka, Mar 1, 2010.

  1. alyoshenka

    alyoshenka New Member

    So recently I decided that it would be good to throw some test runs of Windows in Xen 3.2. So I am using kernel 2.6.24-19-xen on Ubuntu Sever 8.04 64-bit I believe. I wanted it to run on a logical volume within a lvm. So I created that. which looks like:

     --- Logical volume ---
      LV Name                /dev/raid6_vg/w2k3-term-02
      VG Name                raid6_vg
      LV UUID                1BYK9b-5ZQw-nYnG-JBLA-GutJ-YBCR-xxxx
      LV Write Access        read/write
      LV Status              available
      # open                 0
      LV Size                29.30 GB
      Current LE             7500
      Segments               1
      Allocation             inherit
      Read ahead sectors     0
      Block device           254:1
    I created network bridges for my nics which are ethx and those seem to be working as well. So next I went to get a windows hvm config which looks like:

    import os, re
    arch = os.uname()[4]
    if re.search('64', arch):
        arch_libdir = 'lib64'
        arch_libdir = 'lib'
    kernel = "/usr/lib/xen/boot/hvmloader"
    memory = 1024
    shadow_memory = 8
    name = "exmp"
    vif = [ 'type=ioemu, bridge=eth1' ]
    disk = [ ‘phy:/dev/raid6_vg/w2k3_term_02,hda,w’, 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ]
    device_model = ‘/usr/’ + arch_libdir + ‘/xen/bin/qemu-dm’
    Now no matter where I put the disk line it finds it and tells me there's a problem with it. I've checked everything I've renamed the lv group I've taken out the comments on the windows config. It doesn't matter no matter what it tells me it doesn't like it (Error on line). So I'm at a loss.

    Any guidance would be greatly appreciated.
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the exact error message?
  3. alyoshenka

    alyoshenka New Member

    Sure. The error message is the following:

    Error: Errors were found at line 16 while processing /etc/xen/w2k3.cfg:
  4. falko

    falko Super Moderator ISPConfig Developer

    I guess your quotation marks are wrong. Instead of
    disk = [ [COLOR="Red"]‘[/COLOR]phy:/dev/raid6_vg/w2k3_term_02,hda,w[COLOR="Red"]’[/COLOR], 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ]
    it should look as follows:
    disk = [ [COLOR="Red"]'[/COLOR]phy:/dev/raid6_vg/w2k3_term_02,hda,w[COLOR="Red"]'[/COLOR], 'file:/home/exmp/images/windows2003srv.iso,hdc:cdrom,r' ]
  5. alyoshenka

    alyoshenka New Member


    Wow it's an ID10T error. Wow I can't believe I missed that. Man... thank you I appreciate it.

Share This Page