fsociety3765
Explorer
- Joined
- Feb 2, 2021
- Messages
- 61
Hi all,
I run TrueNAS in a Proxmox virtual machine.
While I do not plan on utilizing TrueNAS for virtual machines, for reasons that are irrelevant, I needed to set up an Ubuntu Server VM directly on TrueNAS as I needed a Linux host to have direct access to the storage within TrueNAS.
I have Proxmox set up correctly to allow nested hardware-assisted virtualization with the TrueNAS guest CPU type set to "host". I ran through the wizard to create the virtual machine in TrueNAS. Linux, Ubuntu Server 20.04, 1 core, 2GB RAM, 1TB hard disk, DHCP for the network. It created the virtual machine. However, as soon as I tried to start it up, TrueNAS froze and became unresponsive. I waited a bit but it was clear it wasn't going to recover. I could no longer access the web UI, SSH, and it wouldn't respond to pings. In Proxmox, instead of the green play icon on the VM, I had a yellow warning icon with a message that said "internal error". I wasn't able to gracefully reboot or shutdown TrueNAS. I had to force stop it. Tried to boot up again and it ran through the boot sequence but shortly afterward it froze again and I had to force stop the VM again. I decided at that point it wasn't worth any further risk and I turned the CPU type back to the Proxmox default which TrueNAS will not allow virtual machines to run with. TrueNAS then booted with the nested VM in a stopped state and I was able to delete it.
All a bit scary... Haha.
Is there something I may have done wrong? While I fully understand that running TrueNAS in a VM is not highly recommended, as well as nested virtualization in general, should this have worked in theory?
Thanks,
FS
I run TrueNAS in a Proxmox virtual machine.
While I do not plan on utilizing TrueNAS for virtual machines, for reasons that are irrelevant, I needed to set up an Ubuntu Server VM directly on TrueNAS as I needed a Linux host to have direct access to the storage within TrueNAS.
I have Proxmox set up correctly to allow nested hardware-assisted virtualization with the TrueNAS guest CPU type set to "host". I ran through the wizard to create the virtual machine in TrueNAS. Linux, Ubuntu Server 20.04, 1 core, 2GB RAM, 1TB hard disk, DHCP for the network. It created the virtual machine. However, as soon as I tried to start it up, TrueNAS froze and became unresponsive. I waited a bit but it was clear it wasn't going to recover. I could no longer access the web UI, SSH, and it wouldn't respond to pings. In Proxmox, instead of the green play icon on the VM, I had a yellow warning icon with a message that said "internal error". I wasn't able to gracefully reboot or shutdown TrueNAS. I had to force stop it. Tried to boot up again and it ran through the boot sequence but shortly afterward it froze again and I had to force stop the VM again. I decided at that point it wasn't worth any further risk and I turned the CPU type back to the Proxmox default which TrueNAS will not allow virtual machines to run with. TrueNAS then booted with the nested VM in a stopped state and I was able to delete it.
All a bit scary... Haha.
Is there something I may have done wrong? While I fully understand that running TrueNAS in a VM is not highly recommended, as well as nested virtualization in general, should this have worked in theory?
Thanks,
FS