Jump to content

Andrewch

Members
  • Content Count

    65
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Andrewch

  • Rank
    Advanced Member

Converted

  • Gender
    Male
  • Location
    Melbourne, Australia
  1. You've gone above and beyond mate. When I was researching NAS OS's a decade ago this forum/community was a big factor in my decision to choose Unraid. I'm pleased that I can still say the same today.
  2. Yes they both work now. Much appreciated. I wish I understood why! Thanks
  3. Mate, you're a legend! That got [2:0:0:0] working. I tried flying solo to get [6:0:0:0] going. I added the following just above the membaloon line </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </hostdev> but it returned the following error. "XML error: Attempted double use of PCI Address 0000:00:0a.0" Any idea what I should change to get this one going? Thanks again
  4. Please find attached. It's all working in this configuration just not the 2 DVD drives. Thanks I think its back to the original code before I started mucking around. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10</name> <uuid>04f4bb29-ff9b-a34e-3b84-113bebd8c6da</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>16252928</memory> <currentMemory unit='KiB'>16252928</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>6</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='4'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='5'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='6'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='3' threads='2'/> </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/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <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/Chris/Purchased Programs/Setup files/Windows 10.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/Chris/Purchased Programs/virtio-win-0.1.118-2.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='scsi' index='0' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </controller> <controller type='scsi' index='1' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/> </controller> <controller type='scsi' index='2' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/> </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> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <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'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <interface type='bridge'> <mac address='XX:XX:XX:XX:XX:XX'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <hostdev mode='subsystem' type='scsi' managed='no'> <source> <adapter name='scsi_host2'/> <address bus='0' target='0' unit='0'/> </source> <readonly/> <address type='drive' controller='1' bus='0' target='0' unit='0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <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='0x00' slot='0x1b' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain>
  5. Thanks mate, Tried that and get this error when I save: XML error: Multiple 'scsi' controllers with index '1'
  6. So I added the above code to the xml before </devices> and the DVD drive still did not appear in the VM. I changed the host number to "2" and tried setting the controller value to '0', '1' and '2' but still the DVD drive didn't register in the VM. I checked the device manager each time and the drive was not present. I also upgrade to the latest stable (6.8.2) which also did not resolve the issue. The drives do appear in the BIOS and are connected directly to the motherboard. There doesn't seem to be many threads about passing through a SATA connected optical drive to a VM leading me to think that I'm doing something wrong. I imagined that after connecting them I would be able to select them from the VM template but they don't appear there either. Does anyone else have a SATA connected optical drive passed through to their VM?
  7. Hi all, Trying to pass these two drives through to my VM. [2:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223C SB05 /dev/sr0 [6:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223B SB01 /dev/sr1 I see some threads where people have used the code below to get 1 drive going. Can anyone assist me by telling me where I need to copy this to and also how I edit it for two drives? I assume I need to change the host number for starters. Thanks <hostdev mode='subsystem' type='scsi' managed='no'> <source> <adapter name='scsi_host3'/> <address bus='0' target='0' unit='0'/> </source> <alias name='hostdev0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </hostdev>
  8. Just realised how old my HDDs are. Still running basically the same setup since first built but unraid has so many more features now. Good work all.
  9. HDMI over Ethernet is definitely a way to do it but in my case (as mentioned) it would be expensive. Especially for something that I don't really need - just really want! 😁 Maybe cheap android boxes using RDP??? I don't have any experience with RDP so can't say if that would be any good.
  10. Yeah will do. I already love how much my server does but for it to serve the whole house with Pc's would be awesome. Im in a similar boat - need time to develop a plan. Cheers
  11. Hi mate. Great read and build. How'd you go with running VM's in different rooms? I've not come across a solution that suits me yet.
  12. Apologies for bumping this back up to the top but I thought Id finalise this post with my experience with my Win 10 Unraid VM. Approximately 6 months ago I purchased an i7 2600 from ebay for a good price and some ram and an SSD. This ended being the cheapest way for me to upgrade my unraid server to something that might be able to serve both purposes - server/windows main computer. After a fair bit of tinkering and lots of visits to this forum I got it up and running. And its been running great. The Mrs doesn't even know the difference and I really like having everything in one case. The biggest issue I've had is that sometimes the VM does not boot up after a reboot. I found that this occurred quite a few times (with Windows updates) when I first got this up and running but I haven't experienced it recently. THe VM has been up for a good few months without it being stuck after reboot.That's not a problem for me because I never shut it down but that may not suit others. I have found that my motherboard and case probably don't have enough usb ports available and its been a but it a balancing act to choose which ones to dedicate to the server an which ones for the VM. This issue has some obvious solutions and is no game changer. Anyway, Ive managed to make the VM on unraid my main PC. Cheers
  13. All great suggestions above. I've been through days of troubleshooting Samba issues between various devices. In the end what resolved all my issues was a fully wired network. Not ideal and not possible for everyone but it sorted out my headache. My witchcraft was not up to scratch.
  14. Yeah. It's a real pain having to restart the whole system every time.
  15. Hi all, When I force stop my vm a frozen image remains on the monitor. Is that normal? Also after a force stop no image is passed through the graphics card until I reboot my server. I have come across this issue in the forums somewhere. I usually try and shutdown the vm cleanly and only force stop when necessary. Using: Seabios I440fx 2.5 Hyperv - no Nvidia 210 Most other defaults and the hardware in my signature. I've tried OVMF but it won't work for me. I can't remember why I started turning hyper v off Can anyone tell if this is a card issue or a settings issue? Thanks