Jump to content

bastl

Members
  • Content Count

    1069
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by bastl

  1. You don't have to install the inf files manually. During the windows install only point to the viostor drivers as you said for the disk to show up. After the you have installed windows, go to the device manager, right click each device with missing drivers and simply point to the virtio iso and tick the box for also search the subfolders and it will find the depending drivers.
  2. Use the Q35-2.6 machine type and try to manual edit the xml with the following CPU section. You only have to adjust the amount of cores you're giving to the VM. <cpu mode='custom' match='exact' check='full'> <model fallback='forbid'>Skylake-Client</model> <topology sockets='1' cores='2' threads='1'/> <feature policy='require' name='hypervisor'/> <feature policy='disable' name='pcid'/> <feature policy='disable' name='hle'/> <feature policy='disable' name='erms'/> <feature policy='disable' name='invpcid'/> <feature policy='disable' name='rtm'/> <feature policy='disable' name='mpx'/> <feature policy='disable' name='spec-ctrl'/> </cpu>
  3. @hrubak Each drive gets it's own unique label with the following scheme. Example of one of my 3 x 3TB WD Red drives: ata-WDC_WD30EFRX-68EUZN0_WD-<serial-number> The serial number for each drive is different in my case and as long as you don't patch the firmware of your drives you'll always have a unique id.
  4. @VI510N If you see the horizontal lines, enter your encryption key and the login screen should come up. Some distros with disc encryption enabled show this behaviour that you can't see the screen to enter your passphrase for the disk encryption via vnc
  5. @johnnie.black I've asked because I have my VMs also on a BTRFS subvol with daily snapshots to a UD device. No problems with that so far and only 1 VM is always powered on and sometimes up to 3 are running. COW on the VM share is also set to auto. But in my case the VMs aren't producing the constant writes. Sure they do some writing, but not that much. My Appdata share also is set to Auto, but the System share with the docker and libvirt images are set to COW off. Not sure when I set it to off, or if it was default off back when I installed Unraid a couple years ago. Even with all dockers turned off, I see the writes. As soon as I disable Docker itself, the writes go down. So I asume for me it has something to do with the combination of Docker + System Share COW NO + BTRFS subvol
  6. @johnnie.black Quick question, how is copy-on-write set for your appdata and system share?
  7. I use a single btrfs drive unencrypted and have the same issue. Earlier I already reported my findings. For me it doesn't matter which docker is up and running or if all dockers are stopped. As soon as I enable docker in Unraid I see that increased writes. Dissabling docker itself, Boom, problem disapears. Enabling it with no container running, tada, writes from loop2 are back with 2-5mb/s. Most docker containers people are reported, for myself I don't even use. No Plex, no download managers. Sure, you can reduce the amount of writes by disabling a docker, but it doesn't change the behaviour. Containers like unifi, netdata or nextcloud for example will always produce writes if some monitoring is enabled or mobile devices randomly connecting and checking for new files. Let's hope someone will figure this out. Maybe the next Unraid with a newer docker engine will already have a fix for this. Who knows.
  8. @Dijk21 Looks kinda ok even if the GPU and it's audio are on different slots. What you can try is to put them on the same bus, same slot with different function. So it looks like the following: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/domains/vbios/msi1070ti.rom'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </hostdev> Also machine type Q35 is a option to play around with. Create a new template for Q35 if you wanna play around with it.
  9. You don't need a dedicated GPU for Unraid itself. On some setups it works on some not. Hard to predict. It's different for every user. Is your GPU in it's own IOMMU group?
  10. @dubbly There is na guaranty that PCIe passthrough always is possible. Every controller, board or BIOS revision behaves differently. Some controllers are stable, some show random issues, some aren't able to be reset and some aren't working at all. Did you tried the group 12 for passthrough? IOMMU group 12: [1b21:1242] 03:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
  11. Good question. I'am not an apple user and can't tell whats included in it. If it's only user data you should be safe to restore it. If application data and settings are also stored this might be a risc factor to restore them. Also depends on the configuration and the model itself. Lot's of consumer routers have old firmwares on it, often with dozens of vulnerabilities. If not faced to the public and "clean" Lan devices not that big of a deal. But there are a lot of malware around searching for that vulns and exploiting such devices. The question is if a reset helps. Some "router malware" are persistent and survives a normal reset. Maybe check your routers firmware/model and search the web for possible vulnerabilities to get an idea if there is an risk factor.
  12. @marcusone1 Have a look into the the Netdata Docker. You can get the required infos you want for each docker or VM you're running. You can find it in the Community Applications.
  13. @cdn_bacon Uploading your diagnostics could help if someone is willing to dig deeper into what happened to you. But on default Unraid didn't record file access or which files are exfiltrated. If that intruder really had root access to your box, he had access to all files and settings on your server. Any not encrypted file could be accessed by him. So if you had sensitive login data stored to whatever account in plain text, you better quickly change passwords for any platform that might be affected. Also make sure you change logins for every self hosted applications like Bitwarden, Nextcloud, Plex etc. Make sure for every service you use no extra users are been created that might have access to your data. How other devices on your network might be affected is the next question? Are there any devices with old software running on your network with possible security flaws? Hard to say and difficult to provide help with no deeper look in your whole network setup. The safest way in my opinion is to start over with a fresh unraid setup to get rid of a maybe persistant access to your server has been added that dials back home. I know it's a lot of work to reconfigure everything if you for example have setup a couple of dockers. But I would feel better to start fresh. Hopefully some other users have a opinion on that and also have a couple tips for you.
  14. No one with a little bit of knowledge will advice you to put your server on the DMZ. Sry to hear what happened to you, but NEVER EVER put a server on a DMZ especially if you're not tech savy. DMZ on most routers has NO limits for access, no port rules, no malicious traffic detection, no firewall rules at all. You basically facing your server directly to the internet WITHOUT any extra security layers a router provides.
  15. I have the same issue and not using a single one of these containers. Even with all my containers turned of I see the same 3-5mb/s writes to the cache. The only thing helps is to completely dissable docker to stop it.
  16. Thats not possible. Always think of a real PC. Except from plug'n play storage devices, you can't rip out a device of your PC without causing damage. Most hardware has to be powered down to safely been removed. Sure in the enterprise segment are ways to even add "virtual" gpus to a vm which on hardware are multiple physical GPUs in one device or on another physical server but thats not possible on mainstream GPUs. At least now now, maybe in 10-20 yrs. Adding a external GPU to a running system you have to restart the PC to have full access to that device. A disconnect will force you into an reboot. So forget that idea 😂 Maybe someone can correct me, but thats the quirks of external GPUs since day one they've been released.
  17. @AnhedonicNeko How about you passthrough a USB controller to the VM. This way you have plug'n play support.
  18. For a maxed out CPU with prime95 these temps are pretty low.
  19. The multifunction option is kinda a workaround in certain cases, like some AMD GPUs need it. In most cases it isn't needed and most setups work without. If you kinda understand the basics and know how to fix small things, Unraid is pretty easy to get to work, but every setup is different and kinda every user has it's own small quirks.
  20. Exactly way to go, usually. If you define them as multifunction, they have to be on the same bus. 05:00.01 isn't on the same bus as 05:00.0. Either try to put it also on bus 1 (bus='0x01') with function 1 (function='0x1') <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </hostdev> Or remove the multifunction completly and put both devices on different buses <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </hostdev> EDIT I should've noticed this on your initial xml posted that the addressing of the bus is wrong. Device configured as multifunctional but not on the same bus. 😒
  21. Are both nics still configured as multifunction in the XML? Please post your XML.
  22. @DaveDoesStuff Wait what? You can't access it over the network? Is one of the Intel Network Controllers your managing interface?
  23. Forgot to mention, if you switch around physical devices always make sure to adjust the entries in theat file. Removing, adding or switching a PCI device in your server might change the addressing of the devices.