October 10, 20169 yr Hi all, I got the optical drive configuration done to the point where my windows 10 VM sees the drive, I have the drivers installed, and I can double click on the drive text to go into the drive. This is about it though; as soon as I click on any file inside the drive e.g. "setup.exe" I get a spinning circle and it keeps on spinning .... without anything happening. Secondly, the rest of my VM has become sluggish as well with nothing opening; windows launch but just stay on the icon or blank screen... I definitely need to make sure that my machine is working with the optical drive as I need it. Below is the entire XML: Below is the VM xml snippet: <domain type='kvm' id='4'> <name>Windows 10</name> <uuid>c9240d40-32c3-4728-0ae1-164fc3d57979</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>13107200</memory> <currentMemory unit='KiB'>13107200</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='4'/> <vcpupin vcpu='3' cpuset='5'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/c9240d40-32c3-4728-0ae1-164fc3d57979_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor id='none'/> </hyperv> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='2' threads='2'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/vdisks/Windows 10/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/Windows 10/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/virtio-win-0.1.118-2.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='scsi' index='0' model='virtio-scsi'> <alias name='scsi0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </controller> <controller type='scsi' index='1' model='virtio-scsi'> <alias name='scsi1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' 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:81:d1:87'/> <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/domain-Windows 10/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> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc07f'/> <address bus='1' device='4'/> </source> <alias name='hostdev2'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc248'/> <address bus='1' device='3'/> </source> <alias name='hostdev3'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1058'/> <product id='0x070a'/> <address bus='1' device='2'/> </source> <alias name='hostdev4'/> </hostdev> <hostdev mode='subsystem' type='scsi' managed='no'> <source> <adapter name='scsi_host6'/> <address bus='0' target='0' unit='0'/> </source> <readonly/> <alias name='hostdev5'/> <address type='drive' controller='1' bus='0' target='0' unit='0'/> </hostdev> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </memballoon> </devices> </domain> lsscsi output: [0:0:0:0] disk WD My Passport 070A 1032 /dev/sda [0:0:0:1] enclosu WD SES Device 1032 - [1:0:0:0] disk PNY USB 2.0 FD 1100 /dev/sdb [2:0:0:0] disk ATA WDC WD30EFRX-68E 0A82 /dev/sdf [2:0:1:0] disk ATA ST3000DM001-1ER1 CC26 /dev/sdg [2:0:2:0] disk ATA WDC WD30EFRX-68E 0A82 /dev/sdh [5:0:0:0] disk ATA Samsung SSD 850 2B6Q /dev/sdc [6:0:0:0] cd/dvd HL-DT-ST BD-RE WH14NS40 1.02 /dev/sr0 [7:0:0:0] disk ATA Hitachi HTS54252 C33P /dev/sdd [8:0:0:0] disk ATA Hitachi HTS54502 C60F /dev/sde any advice? Thanks!
October 11, 20169 yr I'm having similar issues with this method of optical drive passthrough. I get further than you, my VM is able to access files etc, but it'll hit a point where it just hangs. I'd love this method to be more reliable but in the meantime, have used a separate PCI-E card with SATA ports.
October 11, 20169 yr Author I do have a HBA card but it is being used by array disks and hence I can't pass it through to the VM. At this point I am wondering if sticking with Windows 10 Pro w/ Storage spaces is a much better solution vs. trying to get things working with UnRAID and the cost involved (on top of what I've already spent on the system) i.e. OS = 129 (PRO) Sound card = 38.99 Another SATA controller = 60-100 bucks Write performance was 10~12 mb/s (with SSD cache) when i was copying files yesterday to the array, not sure how much of an improvement that is over storage spaces with parity. I will work through the trial period to see if I can get a stable enough setup where basic things like optical drive, sound etc. are working. GPU is working so that is great.
October 11, 20169 yr I do have a HBA card but it is being used by array disks and hence I can't pass it through to the VM. At this point I am wondering if sticking with Windows 10 Pro w/ Storage spaces is a much better solution vs. trying to get things working with UnRAID and the cost involved (on top of what I've already spent on the system) i.e. OS = 129 (PRO) Sound card = 38.99 Another SATA controller = 60-100 bucks Write performance was 10~12 mb/s (with SSD cache) when i was copying files yesterday to the array, not sure how much of an improvement that is over storage spaces with parity. I will work through the trial period to see if I can get a stable enough setup where basic things like optical drive, sound etc. are working. GPU is working so that is great. We've seen users have issues with passing through optical drives in the past. This isn't something we are prepared to solve in 6.3 as it involves issues between the virtual storage controller and the underlying optical device. An alternative solution could be to use a USB-based optical drive, but that's not a guarantee either. Your write performance sounds indicative of a network issue. 10-12MB/s is approximately 100mbps, leading me to believe that your network is throttling you to 100mbps instead of a proper 1gbps solution. Why this is the case, I'm not sure, but we know that our software isn't imposing that bottleneck at all.
October 11, 20169 yr Author Thanks JonP for the response. I'm guessing the optical drive issue is not something that will be solved for a bit. I do need it as I like to burn archival blue-rays for my backups. I saw the MakeMKV docker container for unRAID; does it work for burning Blue-rays? In terms of the write speeds, I will look at my router config to see where the bottleneck might be.
October 11, 20169 yr Thanks JonP for the response. I'm guessing the optical drive issue is not something that will be solved for a bit. I do need it as I like to burn archival blue-rays for my backups. I saw the MakeMKV docker container for unRAID; does it work for burning Blue-rays? In terms of the write speeds, I will look at my router config to see where the bottleneck might be. Makemkv doesn't burn discs. So you will have to find another way to burn those discs.
October 11, 20169 yr Author Hmmm, okay; thanks for the response saarg. What alternatives are folks using for burning discs? I can't imagine I am the only one that burns discs for archival?
October 11, 20169 yr Hmmm, okay; thanks for the response saarg. What alternatives are folks using for burning discs? I can't imagine I am the only one that burns discs for archival? People here usually have a backup server To be serious, I haven't burned discs in years, but if you can't pass through your burner you might want to move to using a USB burner on a passed through USB controller. I'm not sure if I got it working passing through only the burner or not.
October 11, 20169 yr Author ok, thanks; The burner cost me 50 bucks so if I can't use it with unRaid, no point in keeping it and might as well return it to Amazon. I was really hoping it would work for burning archival as well as movies etc. but oh well I guess if i want unRAID that would be a no-go at the moment.
November 10, 20169 yr I have a USB dvd burner, no problem passing it through to Windows 10 VM. Maybe you can just by a USB to sata adapter and connect it that way?
January 9, 20179 yr Author just by a USB to sata adapter I appreciate the suggestion, but no thank you. unRAID pro is costing me more than my Windows 10 professional OS; I expect it to handle these things out-of-box instead of me trying to retrofit things to make them work with the unRAID OS (that is what I view it as, you might not). I understand there are some technical limitations and that is why I don't make a big fuss out of it; unRAID, for me, is better than the alternatives based on what I want my machine to do so I suck it up . But I don't want to buy additional hardware to get things that should work out of the box (imo, again I understand the technical limitations), working. Nonetheless, I sincerely appreciate you taking the time to offer the suggestion.
Archived
This topic is now archived and is closed to further replies.