Jump to content

gelmi

Members
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by gelmi

  1. Hi, Currently with a ZFS plugin I have created ZFS pool mirror from 2 x SSD (I guess I would be able to import that as native ZFS pool after 6.12). I have another server (main) with TrueNas Scale in other location and running there couple of VMs. TrueNas creates their VM disks as ZVOL as far as I know. I am creating daily snapshots independently for each VM (snapshots of the whole zvols). I would like to use 'zfs send | zfs recv' to replicate these snapshots as backup from TrueNas to Unraid. I think there should be no issue with that with a plugin installed (correct me if I am wrong). Since, both Unraid and TrueNas Scale uses KVM, I was wondering if I could use Unraid VMs as temporary/backup VMs in case when there is some hardware failure on the main server - probably just for couple of hours? ZVOLs are block storages and I can see that they are being added as virtual block storage in /dev/zd(x). I can check which one is which by running 'ls -l /dev/zvol/<poolname>'. I have briefly tested that I could just add that block storage to the Ubuntu VM as: <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/zd0'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> I would also add similar RAM/CPU resources as on TrueNas machine and I would already have a reverse-proxy in place to match CloudFlare/Domains (DNS) setup. Couple of question here: 1. Should I use cache='writeback' or cache='none'? 2. Should I use bus='sata' or virtio? After TrueNas VMs are operational again, I would manually move changes in databases (only timeseries data) from Unraid to TrueNas VM databases, so everything is up to date and I do not lose any data between the snapshot and the time when TrueNas machine failed. That way I do not have to deal with transferring snapshots from Unraid to TrueNas. Is everything OK with this idea or should I be worried about something? The alternative would be to have an additional TrueNas server as fallback or some cloud hosting fallback architecture.
  2. @baby0nboardInSg I got my RX550 working after upgrade from 6.9.2 to 6.11.5 with these steps. Not ideal, but a good bandaid
  3. I am still not sure what is the core issue here, but I have a workaround (not a complete fix though). After upgrade from 6.9.2 to 6.11.5 all of my VMs that had RX550 passed through got: - black screen - 1 core stuck at 100% and nothing was happening. To have them running again I did the following things: 1. Backup both VM disks and XML files. 2. Deleted VMs and created them again with only one GPU - virtual. I use SeaBIOS in all of them and I switched to Q35 (7.1) for both my Ubuntu and W10 based VMs (I had issues with i440fx). 3. Added the same VM disks to each VM. 4. Run them and via VNC, I deleted all the GPU drivers (AMD Cleanup Utility for Windows and followed removal procedure for Ubuntu here). 5. Reboot and then shutdown. 6. Added RX550 as a second GPU (+audio) and started VM. 7. Installed the newest drivers from the AMD website (followed by step by step installation instructions for Ubuntu). At some point (both W10 and Ubuntu) of driver installation I could see a second display via RX550 GPU - that was really good Reboot. 8. Set the monitor as my main display in display settings and virtual 'monitor' as a secondary and I set the displays layout in a way that the virtual one is in the top-right corner of the main one. 9. Reboot. 10. Backup After that I always have GPU passthrough running perfectly. This is not ideal, since the second 'screen' is still there are using some of the resources, but I never got it working when using only one GPU (external, passthrough), without the virtual one. When I did that I always ended up with black screen again and when doing Force Shutdown of the VM, something was breaking my VM and I ended up with 'No Bootable Disk' text when starting VM again (I needed to create a fresh VM with the same disks). As I said, this is not ideal, but hopefully would allow some of you (and me) to stay with the latest Unraid version and still have their GPU passthrough in VMs without getting black screen.
  4. Guys, any progress on that? I have the same issue with passing through RX550 into VMs (SeaBIOS, both i440fx/Windows10 and Q35/Ubuntu). Everything working fine on 6.9.2, but not when I upgrade to 6.11.5. I had to downgrade. Something is breaking KVMs. When this will be fixed?
×
×
  • Create New...