When the kvm command is run, the vm disks are passed through in the wrong order. here is my conf file.
name: library
bootdisk: virtio0
ostype: l26
memory: 512
onboot: 1
sockets: 1
virtio0: os-images:vm-102-disk-1
description: torrents,samba,irssi<br>10.0.1.5
cores: 1
localtime: 1
boot: c
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
vlan3: virtio=10:10:10:10:10:10
virtio1: os-images:vm-102-disk-2
here is the kvm command generated by it:
/usr/bin/kvm -monitor unix:/var/run/qemu-server/102.mon,server,nowait -vnc unix:/var/run/qemu-server/102.vnc,password -pidfile /var/run/qemu-server/102.pid -daemonize -usbdevice tablet -name library -smp sockets=1,cores=1 -nodefaults -boot menu=on,order=c -vga cirrus -tdf -localtime -k en-us -drive file=/dev/raid/vm-102-disk-2,if=virtio,index=1 -drive file=/dev/raid/vm-102-disk-1,if=virtio,index=0,boot=on -m 512 -net tap,vlan=3,ifname=vmtab102i3,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=3,model=virtio,macaddr=10:10:10:10:10:10
here is the command that I want to be run:
/usr/bin/kvm -monitor unix:/var/run/qemu-server/102.mon,server,nowait -vnc unix:/var/run/qemu-server/102.vnc,password -pidfile /var/run/qemu-server/102.pid -daemonize -usbdevice tablet -name library -smp sockets=1,cores=1 -nodefaults -boot menu=on,order=c -vga cirrus -tdf -localtime -k en-us -drive file=/dev/raid/vm-102-disk-1,if=virtio,index=0,boot=on -drive file=/dev/raid/vm-102-disk-2,if=virtio,index=1 -m 512 -net tap,vlan=3,ifname=vmtab102i3,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=3,model=virtio,macaddr=10:10:10:10:10:10
here is my pveversion --verbose:
pve-manager: 1.5-8 (pve-manager/1.5/4674)
running kernel: 2.6.32-1-pve
proxmox-ve-2.6.32: 1.5-4
pve-kernel-2.6.32-1-pve: 2.6.32-4
pve-kernel-2.6.18-2-pve: 2.6.18-5
pve-kernel-2.6.24-5-pve: 2.6.24-6
pve-kernel-2.6.18-1-pve: 2.6.18-4
qemu-server: 1.1-12
pve-firmware: 1.0-4
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.3-1
ksm-control-daemon: 1.0-3
what happened is that between the stable version of kvm (0.11) to the new version (0.12.3) your code decided to reverse the order that the drives were sent into the kvm command. This causes the drives to be switched around (vda becomes vdb and visa versa).
name: library
bootdisk: virtio0
ostype: l26
memory: 512
onboot: 1
sockets: 1
virtio0: os-images:vm-102-disk-1
description: torrents,samba,irssi<br>10.0.1.5
cores: 1
localtime: 1
boot: c
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
vlan3: virtio=10:10:10:10:10:10
virtio1: os-images:vm-102-disk-2
here is the kvm command generated by it:
/usr/bin/kvm -monitor unix:/var/run/qemu-server/102.mon,server,nowait -vnc unix:/var/run/qemu-server/102.vnc,password -pidfile /var/run/qemu-server/102.pid -daemonize -usbdevice tablet -name library -smp sockets=1,cores=1 -nodefaults -boot menu=on,order=c -vga cirrus -tdf -localtime -k en-us -drive file=/dev/raid/vm-102-disk-2,if=virtio,index=1 -drive file=/dev/raid/vm-102-disk-1,if=virtio,index=0,boot=on -m 512 -net tap,vlan=3,ifname=vmtab102i3,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=3,model=virtio,macaddr=10:10:10:10:10:10
here is the command that I want to be run:
/usr/bin/kvm -monitor unix:/var/run/qemu-server/102.mon,server,nowait -vnc unix:/var/run/qemu-server/102.vnc,password -pidfile /var/run/qemu-server/102.pid -daemonize -usbdevice tablet -name library -smp sockets=1,cores=1 -nodefaults -boot menu=on,order=c -vga cirrus -tdf -localtime -k en-us -drive file=/dev/raid/vm-102-disk-1,if=virtio,index=0,boot=on -drive file=/dev/raid/vm-102-disk-2,if=virtio,index=1 -m 512 -net tap,vlan=3,ifname=vmtab102i3,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=3,model=virtio,macaddr=10:10:10:10:10:10
here is my pveversion --verbose:
pve-manager: 1.5-8 (pve-manager/1.5/4674)
running kernel: 2.6.32-1-pve
proxmox-ve-2.6.32: 1.5-4
pve-kernel-2.6.32-1-pve: 2.6.32-4
pve-kernel-2.6.18-2-pve: 2.6.18-5
pve-kernel-2.6.24-5-pve: 2.6.24-6
pve-kernel-2.6.18-1-pve: 2.6.18-4
qemu-server: 1.1-12
pve-firmware: 1.0-4
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.3-1
ksm-control-daemon: 1.0-3
what happened is that between the stable version of kvm (0.11) to the new version (0.12.3) your code decided to reverse the order that the drives were sent into the kvm command. This causes the drives to be switched around (vda becomes vdb and visa versa).