Hoi
Ik heb een projectje opgezet, voor in unRAID een dual-gaming PC te bouwen. (nuja, gaming.. iets ouder harware en vooral oude GPU'tjes in gestoken, die worden later wel eens vervangen
)
Specs:
Intel i5 3570
Gigabyte H77-DS3H
16 GB DDR3 1300Mhz (6GB per VM)
GTX650 voor VM1
GTS250 voor VM2
2* 500GB WD Blue (450GB per VM)
2* Samsung 120GB SSD (100GB per VM)
1* Seagate 1.5TB (Parity Disk)
Twee verschillende draadloze toetenborden.
Wat is mijn bedoeling:
Voor degenen die het niet zo goed kennen, unRAID is software om meerdere virtuele machines tegelijk te draaien. Ik wil dus graag twee windows-clients tegelijkertijd draaien. Soms geraak ik er wel eens in, maar ze lopen bijna altijd vast.
Probleem:
Heel onstabiel.. Ik had eerst het probleem dat ik op één VM een 'libusb' error kreeg en dat die VM afsloot. Sinds ik het toetsenbord heb uitgetrokken startte die wel op. Had nu mijn VM's ingesteld dat bij boot meteen de unRAID array startte en mijn VM's opstarten. Heb intussen op een aantal pogingen 2-3 keer gehad dat ze gewoon perfect samen opstarten. Heb ook al gehad dat er maar eentje opstartte (terug met die libusb error, ondanks dat er geen USB-apparaten aangesloten waren. Waar kan dit misschien nog aan liggen?). Maar het vaakste heb ik gewoon voor dat ze beiden vastlopen bij het opstarten en ik dan mijn tower niet meer kan bereiken via de GUI (met een static IP trouwens) en dat ook het toetsenbord niet responsief is als ik het scherm aan de 'console' hang. (omdat dat dan zogezegd in die VM vaszit?). Dus dan moet ik hem met de powerknop afzetten want hij sluit ook niet meer gewoon af.
Heb nu autostart van de VM's uitgezet en dan start unRAID zelf wel perfect op nog.
Iemand een idee?
Logs:
VM1:
VM2:
XML-codes:
XML VM1:
XML VM2:
Ik heb een projectje opgezet, voor in unRAID een dual-gaming PC te bouwen. (nuja, gaming.. iets ouder harware en vooral oude GPU'tjes in gestoken, die worden later wel eens vervangen
Specs:
Intel i5 3570
Gigabyte H77-DS3H
16 GB DDR3 1300Mhz (6GB per VM)
GTX650 voor VM1
GTS250 voor VM2
2* 500GB WD Blue (450GB per VM)
2* Samsung 120GB SSD (100GB per VM)
1* Seagate 1.5TB (Parity Disk)
Twee verschillende draadloze toetenborden.
Wat is mijn bedoeling:
Voor degenen die het niet zo goed kennen, unRAID is software om meerdere virtuele machines tegelijk te draaien. Ik wil dus graag twee windows-clients tegelijkertijd draaien. Soms geraak ik er wel eens in, maar ze lopen bijna altijd vast.
Probleem:
Heel onstabiel.. Ik had eerst het probleem dat ik op één VM een 'libusb' error kreeg en dat die VM afsloot. Sinds ik het toetsenbord heb uitgetrokken startte die wel op. Had nu mijn VM's ingesteld dat bij boot meteen de unRAID array startte en mijn VM's opstarten. Heb intussen op een aantal pogingen 2-3 keer gehad dat ze gewoon perfect samen opstarten. Heb ook al gehad dat er maar eentje opstartte (terug met die libusb error, ondanks dat er geen USB-apparaten aangesloten waren. Waar kan dit misschien nog aan liggen?). Maar het vaakste heb ik gewoon voor dat ze beiden vastlopen bij het opstarten en ik dan mijn tower niet meer kan bereiken via de GUI (met een static IP trouwens) en dat ook het toetsenbord niet responsief is als ik het scherm aan de 'console' hang. (omdat dat dan zogezegd in die VM vaszit?). Dus dan moet ik hem met de powerknop afzetten want hij sluit ook niet meer gewoon af.
Heb nu autostart van de VM's uitgezet en dan start unRAID zelf wel perfect op nog.
Iemand een idee?
Logs:
VM1:
code:
1
2
3
4
5
6
| 2016-07-20 18:27:03.501+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0 LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -name PLAYER1 -S -machine pc-i440fx-2.3,accel=kvm,usb=off,mem-merge=off -cpu host -m 6144 -realtime mlock=on -smp 2,sockets=1,cores=2,threads=1 -uuid 11f23995-8745-eb41-85bc-07790759bed7 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/PLAYER1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 -drive file=/mnt/user/vdisks/PLAYER1/vdisk1.img,if=none,id=drive-virtio-disk2,format=raw,cache=writeback -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk2,id=virtio-disk2,bootindex=1 -drive file=/mnt/user/ArrayVdisks/PLAYER1/PLAYER1/vdisk2.img,if=none,id=drive-virtio-diskt.1 -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on -device vfio-pci,host=00:1b.0,bus=root.1,addr=01.0 -msg timestamp=on Domain id=1 is tainted: high-privileges Domain id=1 is tainted: custom-argv Domain id=1 is tainted: host-cpu char device redirected to /dev/pts/0 (label charserial0) |
VM2:
code:
1
2
3
4
5
6
7
| 2016-07-20 18:32:36.305+0000: shutting down 2016-07-20 18:32:46.814+0000: starting up libvirt version: 1.2.18, qemu version: 2.3.0 LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -name PLAYER2 -S -machine pc-i440fx-2.3,accel=kvm,usb=off,mem-merge=off -cpu host -m 6144 -realtime mlock=on -smp 2,sockets=1,cores=2,threads=1 -uuid a8c4df47-06c5-f7be-6bc5-94f9b449d089 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/PLAYER2.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 -drive file=/mnt/user/vdisks/PLAYER2/vdisk1.img,if=none,id=drive-virtio-disk2,format=raw,cache=writeback -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk2,id=virtio-disk2,bootindex=1 -drive file=/mnt/user/ArrayVdisks/PLAYER2/vdisk2.img,if=none,id=drive-virtio-disk3,formatice vfio-pci,host=06:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on -device vfio-pci,host=06:00.1,bus=root.1,addr=00.1 -msg timestamp=on Domain id=3 is tainted: high-privileges Domain id=3 is tainted: custom-argv Domain id=3 is tainted: host-cpu char device redirected to /dev/pts/0 (label charserial0) |
XML-codes:
XML VM1:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
| <domain type='kvm' id='1' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>PLAYER1</name> <uuid>11f23995-8745-eb41-85bc-07790759bed7</uuid> <description>Player one PC</description> <metadata> <vmtemplate name="Custom" icon="windows.png" os="windows"/> </metadata> <memory unit='KiB'>6291456</memory> <currentMemory unit='KiB'>6291456</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>1</vcpu> <cputune> <vcpupin vcpu='0' cpuset='1'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='1' threads='1'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/vdisks/PLAYER1/vdisk1.img'/> <backingStore/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <alias name='virtio-disk2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/ArrayVdisks/PLAYER1/PLAYER1/vdisk2.img'/> <backingStore/> <target dev='hdd' bus='virtio'/> <alias name='virtio-disk3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/Win10_1511_2_Dutch_x64.iso'/> <backingStore/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <alias name='ide0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/virtio-win-0.1.118.iso'/> <backingStore/> <target dev='hdb' bus='ide'/> <readonly/> <alias name='ide0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:04:43:89'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/0'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/PLAYER1.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=00:1b.0,bus=root.1,addr=01.0'/> </qemu:commandline> </domain> |
XML VM2:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
| <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>PLAYER2</name> <uuid>a8c4df47-06c5-f7be-6bc5-94f9b449d089</uuid> <description>Player two PC</description> <metadata> <vmtemplate name="Custom" icon="windows.png" os="windows"/> </metadata> <memory unit='KiB'>6291456</memory> <currentMemory unit='KiB'>6291456</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>2</vcpu> <cputune> <vcpupin vcpu='0' cpuset='2'/> <vcpupin vcpu='1' cpuset='3'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='2' threads='1'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/vdisks/PLAYER2/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/ArrayVdisks/PLAYER2/vdisk2.img'/> <target dev='hdd' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/Win10_1511_2_Dutch_x64.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/virtio-win-0.1.118.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:e4:43:6a'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/PLAYER2.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=06:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=06:00.1,bus=root.1,addr=00.1'/> </qemu:commandline> </domain> |