Jump to content

Naldinho

Members
  • Posts

    343
  • Joined

  • Last visited

Everything posted by Naldinho

  1. That is what I thought but I changed the setting to Don't Move Files to the Recycle Bin for Documents yet when I delete the $recycle.bin it returns a minute later.
  2. Fairly minor issue but I'm a bit of a nit when it comes to having everything perfect. Some of my shares have $RECYCLE.BIN & desktop files. I can't get rid of them -- they can be deleted but they just respawn in a few seconds. Anyway to get rid of these files? These are shares that I am using to store user files from Windows installs -- basically I've changed the location of Documents / Music / Pictures etc to a share.
  3. Thank you. I'll use OMVF in the future but for this VM it is just used for general productivity applications so doesn't need every ounce of performance. The main issue was that pre-pinning / assignment the sound card didn't work properly and that is no longer the case so I am happy. Only thing left to do is get the USB card to pass-through after reboots. Currently it only works after a complete unRaid reboot.
  4. Creating an identical template but with OVMF instead of Seabios led to a blank screen. Not sure if that was because of a failed GPU pass-through or if the machine itself was not booting. That said once I made the change to Syslinux gridrunner pointed out and I fixed the really dumb mistake I was making with cputune the VM boots using Seabios and the sound issue is fixed (it no longer garbles the bass part of audio). Would there be any benefit in continuing to try to get it from Seabios to OVMF?
  5. You can just start a new template and choose the vdisk of the vm and it should work. Oh.. ok that is simple enough. I also just figured out that my cputune is way off and I feel kind of stupid for not seeing it right away. Thanks everyone for the help
  6. Adding it manually is not a problem but I don't know if this will fix my situation. I bought a PCIe USB card just for the VM. Nothing else is going to use it. This is what I am adding to the XML <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> </hostdev> Just above the </devices> tag. On a fresh reboot of the entire unRaid machine this successfully passes the USB controller sometimes but not always. If the VM is rebooted it stops working. On a fresh reboot the PCIe USB card is listed in System Devices in the PCI devices and USB Devices list. Once the VM is booted it disappears from the USB devices list and never returns even if the VM is shutdown I really can't figure this out. Stuff that never works I know I'm doing something wrong but stuff that works sometimes and not others even when I do the exact same thing is very frustrating.
  7. Thank you. I realized after that my VM is Seabios rather than OVMF and I haven't been able to find any way to switch it. Will this still work or do I ave to start over?
  8. This is definitely an issue.. if I reboot the VM the <cputune> <vcpupin vcpu='11' cpuset='27'/> <vcpupin vcpu='12' cpuset='28'/> <vcpupin vcpu='13' cpuset='29'/> <vcpupin vcpu='14' cpuset='30'/> <vcpupin vcpu='15' cpuset='31'/> <emulatorpin cpuset='0,16'/> </cputune> becomes <cputune> <emulatorpin cpuset='0,16'/> </cputune> and while the VM boots it only has one virtual CPU that it is using at 100%. On the initial boot after I manually edit the cputune section the machine boots with 10 cores like it should
  9. Sorry to dredge up an old post. I just added pci-stubs to my config, and it didn't change anything. Rebooting the VM (or shutting it down and starting it from the GUI) makes all the USB devices on the card I passedthrough disappear. Very strange, but probably just a quirk of my hardware. I have the same issue. Once the VM reboots I can't pass the USB card to it. If I go to Tools - System Devices the USB card is still present in PCI devices but it disappears from USB Devices I am using 6.1.9 have no tried PCI-Stub yet. Do you need to be on 6.2 for PCI-Stub to work or does it work for 6.1.9 as well?
  10. Ok sothis is my default /syslinux/menu.c32 menu title Lime Technology prompt 0 timeout 50 label unRAID OS menu default kernel /bzimage append initrd=/bzroot label unRAID OS Safe Mode (no plugins) kernel /bzimage append initrd=/bzroot unraidsafemode label Memtest86+ kernel /memtest append isolcpus=11,12,13,14,15,27,28,29,30,31 initrd=/bzroot <domain type='kvm' id='6' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>KP-Ofiice</name> <uuid>53662b7a-d29a-63aa-f802-ca9321149187</uuid> <description>KP's Main Work Computer</description> <metadata> <vmtemplate name="Custom" icon="windows.png" os="windows"/> </metadata> <memory unit='KiB'>51380224</memory> <currentMemory unit='KiB'>51380224</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>10</vcpu> <cputune> <emulatorpin cpuset='0,16'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> </hyperv> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='10' threads='1'/> </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/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/cache/VMs/KP-Ofiice/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> <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:1a:35:d9'/> <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/KP-Ofiice.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <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='0x04' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' 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=05:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=01.0'/> </qemu:commandline> </domain> Is this correct? Looking at it all the vcpupin lines are missing even though I know I had them in there when I started the VM. VM is booted fine and now looking at XML and they are missing. I wasn't really having an issue with performance but my hope was that this would fix the sound issues I'm having but no luck in that respect.
  11. Is there a guide on how to "PCI-Stub" a USB controller? I think I have the same issue as mentioned -- I pass my USB controller to a Windows 10 VM and all works fine. Then after a reboot the lines for passing though the USB controller are missing from the XML file and the USB controller no longer works. I can't remember if this happens every reboot of the VM or just randomly on some reboots.
  12. It would cause a licencing issue but you can change the licence after you get it working. I have never done it but there is an option to change your licence / product key from within Windows. For an old version of Windows ISO I don't know of any official source. The hope would be that someone here would have one.
  13. Thanks. I thought it would but better to check. I will be buying a eSATA card with port-multiplier.
  14. I'm working on my second unraid and was considering using a Mediasonic HF2-SU3S2 http://www.newegg.ca/Product/Product.aspx?Item=9SIA4FT4C06090&cm_re=Mediasonic_HF2-SU3S2-_-17-576-009-_-Product to supplement the drives inside the case. So basically 4-5 drives in the case and 4 in the external enclosure. Cache would be internal. Parity could be internal if that helps performance. I realize this would have performance issues if multiple drives in the enclosure were being accessed simultaneously but that would be very rare. It would make parity checks slow but that isn't a big issue. Changing the case is obviously the better solution but it would be too much of a hassle in this case so even if this costs a little more I'm ok with that as time and simplicity is much more important.
  15. I'm too new to VMs to be of any assistance on a proper solution but since the issue is only with the installing Windows 10 my approach would be to attempt to circumvent that. 1) Copy one of your previous vdisks with Windows 10 installed and use that for new VMs until this issues is resolved. 2) Install Windows 10 on a physical machine then do the convert physical machine to VM procedure. 3) Rather than use the upgrade tool from Microsoft download the actual ISO and install it using your Windows 7 key to register it. Maybe doing a full install with the media present rather than the upgrade will work. If it doesn't find someone who downloaded the ISO before the KB3064209 update.
  16. I'm going to attempt this tomorrow. Because this involves messing with files on the boot usb drive I want to be 100% certain that I got this. The append isolcpus=2,3,6,7 initrd=/bzroot this is just a line that I add to syslinux.cfg using any text editor?
  17. This was useful -- thank you. I had just assigned cores sequentially but checking dashboard I now see the pairs. So just to be clear I should go back and re-do the core assignments so that pairs are assigned to the same VM?
  18. Title pretty much says it all. Windows 10 VM where I manually edit the XML files to pass-through an entire USB 3.1 PCIe card. It works fine and I can reboot the VM as many times as I want but as soon as I reboot the UnRaid itself the VM starts up without the PCIe card being passed. What am I doing wrong?
  19. Don't use libraries so this is only a guess but could you map a share as a drive and then add the mapped drive to the library?
  20. I have dual E5-2670s -- not sure what the platform for those are. I did not try ACS Override -- only one VM has anything that is being pass through to it. Also the sound card is the only item in that group. From what I read on ACS Override I shouldn't need it and if you don't need it then it would be better to not turn it on. Have not tried using another PCIe slot. That is a pretty simple thing to try so I'll take a shot at it. The GPU I am passing-through has HDMI audio. I've read that could cause issues and that I should pass the HDMI audio through as well but as I try to do that I haven't had much luck -- I typically get the BIOS on the VM but no boot. I have also been told that I might be able to fix this by isolating the CPUs but haven't had time to read up on that. Performance on the VM is good so I don't need the CPU isolating except in so much as it might fix the sound issue.
  21. I'm able to get the various fan RPMs including warnings that some fans are not present but didn't really go beyond that. The machine is really quite so without noise as an issue I don't really see a point of trying to figure it out.
  22. Thank you. Now that I have confirmed they are different things I'll devote the time to reading the topic you linked to. The VM is not used for gaming or media streaming but if there is a possibility it will solve the sound problem then that alone is worth it. Currently both YouTube and local media has varying degrees of sound distortion that makes it unusable -- you have sound but it sound either like cheap speakers or on a lot of media 90% bass and really low everything else.
  23. I have various VMs all working mostly fine (sound on one has issues) but as I read the topics here I see people discussing pinning CPUs to get better performance -- is pinning CPUs by manually editing the XML file different than just selecting those CPUs from the unRAID GUI when having unRAID auto-generate the VM's XML? If yes how much of a performance improvement does one get so I can evaluate if I should bother learning about something new?
  24. Issue solved. Just posting in case someone else has the same problem. When I originally edited the XML file I removed the hostdev that was passing though the USB keyboard and mouse. That was an issue since the USB addon card needed drivers to work and with no input method I had no options so I put the keyboard back and after that I left it there since I thought it would be irrelevant to the functioning of the USB card I was trying to pass through -- that turns out to not be the case. Deleting the hostdev entry for the USB keyboard fixed the pass-through of the USB card.
×
×
  • Create New...