johngc

Members
  • Posts

    26
  • Joined

  • Last visited

About johngc

  • Birthday 01/26/1976

Converted

  • Gender
    Male
  • Location
    Manchester

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

johngc's Achievements

Noob

Noob (1/14)

0

Reputation

  1. I hadn't seen this! You developers keep raising the bar and I can't keep up sometimes 🙂 Thank you - I will have a look. I had previously been using he Libvert HotPlug USB plugin but that needed me to physically add the devices each time which caused me a few issues when I was at work and the kids needed the computer! Could save me buying a new MB. Thank you
  2. I currently have a B450 Tomahawk Max with a Ryzen 7 3700x and have successfully been running two VMs (MacOS and Win 10) that can be used simultaneously with two graphics cards, monitors keyboards etc. My use situation is the two monitors / keyboards are used to dock work laptops but then I have a keyboard switch on each to allow the same keyboard / mouse to be used on a VM under Unraid. As the VM's don't really cope with hot plugging of USB devices properly I need the USB controller passed through to each machine. Recently I got an Oculus Rift and a PCIe USB card which was passed through to the Windows 10 using the VFIO PCI config options. The size of the graphics cards and PCI slot locations means that I can't plug anymore cards in. I need most USB ports for the Windows 10 machine so have passed through the PCI USB3 card as above and then pass through individual devices for each VM machine. The actual motherboard seems to only have two USB groups available to split out and pass through. I keep one for the Unraid USB and this groups also has most of the other USB ports attached so individual peripherals devices which I can pass through and the second, smaller one which if I try and pass through ends up crashing my system and causing all sorts of corruption issues! I need to pass through a group to each VM so the keyboard switch can be used on each (and cope with hot plugging). Can any one suggest a motherboard that either can accept more PCI cards (and so another USB3 controller card) or preferably that is more configurable in terms of VFIO PCI groups. I hope that makes sense!
  3. I am a Mac user and have restored my flash drive a couple of times from backups on my Mac but it is a location being offered by unraid not a file as below in the image. I will have a look at the flash drive and see if it is shown on there somehow ?
  4. I was swapping over my graphics cards and may have knocked something in the case but after a couple of reboots (changing vfio settings), my system died. A HDD failed, which I am in the process of rebuilding onto a new matched drive so that part is ok.. My cache drive also seemed to drop out of existence. After checking cables etc it seems to have reappeared as an unmounted drive. If I stop the array I have the option of selecting it as the '._cache' or 'cache' drive. I have not noticed the '._cache' option before.... Either one tells me that the drive does not have a file system and so needs to be formatted. My app data is backed up so it is not the end of the world, but I am confused about the two locations and if there is anyway to recover what was on the cache it would be appreciated. Google doesn't really bring anything up for ._cache so here I am 🙂
  5. I am running an OSX VM on an SSD under UnRaid. I would like to back up some of my files (not the whole VM) to the array and then on to a Synology NAS as a sort of three location backup (icloud / OS X, array, Synology NAS). The array to NAS is fine - there are plenty of options and I am happy with that part. Initially I was looking at mounting the array into the VM and then using something like chronosync to back up the files but it seems to put quite a load on the VM.... then I thought about time machine but backing up a time machine image to the NAS makes me nervous as if it corrupts, I wouldn't know..... similar thoughts with Duplicati as it creates encrypted files So, I am just wondering what the most efficient process would be. The VM is on 24/7 as is UnRaid so I don't really have to worry about how long the backups take.
  6. I'd not thought about going to 6Gb. For some reason my mind works 2, 4, 8, 16, 32 for RAM! Thanks - I will give it a go. Mind you, I am not kidding myself and realise that there will be an update in the not too distant future...
  7. I am at a bit of a cross roads and would appreciate some advice. I currently run unraid on an i7 3770 Cpu and 16gb RAM. I have one OS X VM and a few dockers of which Plex is the heaviest used. I have found my memory is close to saturation point now (8gb allocated to the VM) so would like to add some more. However my mb only supports 16gb and i think the 3770 is possibly up there at the top of the compatibility list for the mb. So it is time to upgrade, but I am torn between finding a board that takes 32gb RAM and keeping everything else the same or taking the plunge on a cpu with more cores which will also mean a new board and some more RAM. I am not sure how beneficial the extra cores will be. I probably have at most three concurrent streams with plex and have seen it max out and hang but I think that is more down to the lack of RAM causing data to be written to disk. Of course If I do upgrade everything.... I then have to decide Intel v AMD!
  8. And that seems to be what it was! Thank you - I was becoming code blind staring at my XML trying to work out which but I had forgotten to change. Sent from my iPhone using Tapatalk
  9. Hi, I did yes and was under the impression that it was just the bottom 'devices' section that needed to be added back in having watched a couple of his videos. I will go and do a bit more reading on his topic and see if I have missed something. Thank you
  10. Please could someone try and point me in the right direction with this - I am pulling what little hair I have left out 😞 My system is: Unraid 6.8.2 M/B: ASUSTeK COMPUTER INC. CM6330_CM6630_CM6730_CM6830_M11AA Version Rev x.0x BIOS: American Megatrends Inc. Version 0704. Dated: 04/17/2013 CPU: Intel® Core™ i7-3770 CPU @ 3.40GHz HVM: Enabled IOMMU: Enabled Memory: 16 GiB DDR3 (max. installable capacity 16 GiB) Kernel: Linux 4.19.98-Unraid x86_64 GPU: Sapphire AMD Radeon RX 470 Diagnostics file is attached. Problem: I can install OSX as a VM using Spacinvaders great MacInABox docker. I can boot into the OS via VNC and then via Splashtop. If I then select the graphics card to pass through, the VM does not seem to boot properly. It has the little green play icon to indicate it has started but neither VNC or Splashtop work and there is no output on the external monitor. The graphics card works and Unraid can and has booted with it as the primary monitor. I have changed the BIOS settings to allow both the onboard GPU and the Radeon and set the onboard as primary (tried the other way round as well but it still didnt work). It seems like the VM is getting stuck but I can't see where and there are no meaningful logs that I can see. The VM log is: 2020-02-03 09:29:04.188+0000: starting up libvirt version: 5.10.0, qemu version: 4.2.0, kernel: 4.19.98-Unraid, hostname: LH1 LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME=/var/lib/libvirt/qemu/domain-2-MacinaboxCatalina \ XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-2-MacinaboxCatalina/.local/share \ XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-2-MacinaboxCatalina/.cache \ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-2-MacinaboxCatalina/.config \ QEMU_AUDIO_DRV=none \ /usr/local/sbin/qemu \ -name guest=MacinaboxCatalina,debug-threads=on \ -S \ -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-MacinaboxCatalina/master-key.aes \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/988cac7a-49bb-4a9e-844a-f791ce1ffb0d_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-q35-3.1,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -cpu host \ -m 4096 \ -overcommit mem-lock=off \ -smp 2,sockets=1,cores=1,threads=2 \ -uuid 988cac7a-49bb-4a9e-844a-f791ce1ffb0d \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=33,server,nowait \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=utc,driftfix=slew \ -global kvm-pit.lost_tick_policy=delay \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \ -device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \ -device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \ -device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \ -device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \ -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \ -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,multifunction=on,addr=0x7.0x1 \ -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \ -blockdev '{"driver":"file","filename":"/mnt/disks/VMs/MacinaboxCatalina/Clover.qcow2","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \ -device ide-hd,bus=ide.2,drive=libvirt-3-format,id=sata0-0-2,bootindex=1,write-cache=on \ -blockdev '{"driver":"file","filename":"/mnt/disks/VMs/MacinaboxCatalina/Catalina-install.img","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \ -device ide-hd,bus=ide.3,drive=libvirt-2-format,id=sata0-0-3,write-cache=on \ -blockdev '{"driver":"file","filename":"/mnt/disks/VMs/MacinaboxCatalina/macos_disk.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \ -device ide-hd,bus=ide.4,drive=libvirt-1-format,id=sata0-0-4,write-cache=on \ -netdev tap,fd=35,id=hostnet0 \ -device e1000-82545em,netdev=hostnet0,id=net0,mac=52:54:00:c1:b1:ad,bus=pci.1,addr=0x0 \ -chardev pty,id=charserial0 \ -device isa-serial,chardev=charserial0,id=serial0 \ -chardev socket,id=charchannel0,fd=36,server,nowait \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \ -device usb-tablet,id=input0,bus=usb.0,port=1 \ -device vfio-pci,host=0000:01:00.0,id=hostdev0,bus=pci.3,addr=0x0,romfile=/mnt/cache/ISOs/Sapphire.RX470.4096.161012.rom \ -device vfio-pci,host=0000:01:00.1,id=hostdev1,bus=pci.4,addr=0x0 \ -usb \ -device usb-kbd,bus=usb-bus.0 \ -device 'isa-applesmc,osk=BLAHBLAHBLAHBLAH' \ -smbios type=2 \ -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on 2020-02-03 09:29:04.188+0000: Domain id=2 is tainted: high-privileges 2020-02-03 09:29:04.188+0000: Domain id=2 is tainted: custom-argv 2020-02-03 09:29:04.188+0000: Domain id=2 is tainted: host-cpu char device redirected to /dev/pts/0 (label charserial0) and my XML is: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>MacinaboxCatalina</name> <uuid>988cac7a-49bb-4a9e-844a-f791ce1ffb0d</uuid> <description>MacOS Catalina</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="default.png" os="Catalina"/> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>2</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-3.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/988cac7a-49bb-4a9e-844a-f791ce1ffb0d_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='1' threads='2'/> </cpu> <clock offset='utc'> <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='qcow2' cache='writeback'/> <source file='/mnt/disks/VMs/MacinaboxCatalina/Clover.qcow2' index='3'/> <backingStore/> <target dev='hdc' bus='sata'/> <boot order='1'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disks/VMs/MacinaboxCatalina/Catalina-install.img' index='2'/> <backingStore/> <target dev='hdd' bus='sata'/> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disks/VMs/MacinaboxCatalina/macos_disk.img' index='1'/> <backingStore/> <target dev='hde' bus='sata'/> <alias name='sata0-0-4'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </disk> <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' multifunction='on'/> </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='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x8'/> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x9'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x12'/> <alias name='pci.3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <alias name='pci.4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:c1:b1:ad'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='e1000-82545em'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/0'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <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-2-MacinaboxCatalina/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> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/cache/ISOs/Sapphire.RX470.4096.161012.rom'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' 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='0x04' slot='0x00' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> <qemu:commandline> <qemu:arg value='-usb'/> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd,bus=usb-bus.0'/> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=BLAHBLAHBLAH'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/> </qemu:commandline> </domain> I have tried to google but it seems that most people say that the AMD GPU should just work and that it is Nvidia that needs tweaking. Thank you lh1-diagnostics-20200203-0914.zip
  11. Did you ever get to the bottom of this - I am in the same position. I set up an OSX VM using VNC and it worked. Installed an AMD RX470 card and passed it through and get a blank screen. Switch back to VNC and I get the above "Guest has not...." error. The OSX VM will not boot - I have splash top installed and it never gets that far 😞 VM logs show the same last four lines as above...
  12. I am running the LetsEncrypt docker and access a couple of dockers on my UNRAID server using https. I have now set up a Raspberry Pi with HomeAssistant on it and would like to be able to access it securely but am a bit confused about the whole ssl thing. Can I just copy the certificate across to the RPi from my UNRAID Server and then port forward on my router or do I need to run another instance of LetsEncrypt on the RPi? If I can copy it, is there an easy way to automate it every time the UNRAID docker upgrades? I have tired a bit of googlefu but I am not sure what I am actually asking!
  13. It really depends how many cameras you have and what sort of settings you use. I don't use the docker (I had a few problems getting it set up) but use a VM running Ubuntu Server 16.04 and a clean install of ZoneMinder 1.30. I have an AMD Phenom II X4 945 CPU and have allocated 1 core and 1GB RAM to the VM. My ZM has two IP cameras running at 1280 x 720 as Modect with a couple of zones each. My load very rarely goes over 0.6 (shown in ZM and reflected by the core use on the UnRaid dashboard). I would assume you will get similar results with a docker (but probably a lower load if it is sharing the CPU resources you have) I also run a Plex server and have had a couple of transcodes running at the same time without seeing any problems. Best thing to do is just give it a go - there are so many variables in ZM that can impact on how resource intensive it is and if it goes wrong, just delete the docker / VM and try again - thats the beauty of Unraid as far as I am concerned :-)
  14. My current unRAID box consists of an ASUSTeK M3N78-VM motherboard with 8GB RAM and an AMD Phenom II X4 945 @ 3000. I run 9 dockers - Plex, a couple of downloaders etc , crashplan and OpenVPN and also run a Ubuntu VM dedicated to Zoneminder. Most of the time, everything seems to run fine, and upgrading my cache disk to an SSD made quite a difference to the snappiness of Plex. Occasionally the CPU maxes out but I think that has been when plex has been streaming to one device and transcoding / syncing to another which is pretty rare. It seems to cope with two streams at once seems ok. I would like to start playing around with VM's and would really like to get OSX up and running so I can retire my dying MBP. However, every guide I have followed fails for one reason or another and I think a lot of it has to do with RAM. If I allocate the machine 4GB or more the VM fails and it just won't run with any less. (I need to keep the Ubuntu VM running as well which has one core and 1GB RAM allocated) My MB won't take any more RAM so I am trying to decide whether to: 1 - Upgrade to the best MB I can afford which is compatible with the AM3 socket chip I have and then gradually replace the RAM / CPU to better as and when I can afford it? 2 - Sell the lot on eBay and go for an Intel setup in which case do I go the a) Xeon or b) i5 / i7 route? I don't currently have the cash to blow on a top of the range box but could probably go £500 - £600 now or save for a couple more months and look around the £1000 to £1500 budget. My gut tells me that the intel route is the more sensible one but I don't really know why! I have been out of the PC chip world and reading about what is good and not for a few years and things really have moved on a pace!
  15. Can I just say I had very little sleep last night...... At least you have saved me trying for hours to work out what the conflict was