I am completely new to TrueNAS, Linux, FreeBDS, etc. Recently I started my homelab and have TrueNAS as a VM in Proxmox.
Now I am looking for how to install Qemu Guest Agent in TrueNAS. Could someone tell me with which commands to do that? So please with some additional explanation so I can understand and learn.
Thanks in advance for the effort taken!
p.s. I saw this scripts but it has an outdated link for the download so it doesn’t work. And my knowledge does not reach so far yet that I know how to change this and still be able to run it.
What is it that you “know is a matter of installing Qemu Guest Agent”? Because, as I already said, SCALE has the guest agent installed by default, so you don’t need to install it.
If you’re using TrueNAS SCALE, as I (and iX) recommended and as you’ve said you now are, TrueNAS isn’t FreeBSD; it’s Linux. And for at least the third time, the guest agent is already installed in SCALE.
What is the problem that you think you need to install the guest agent in order to solve?
I’ve been using TrueNAS, and FreeNAS before it, for 15 years or more; I don’t need to search Wikipedia to answer this question. If you’re using TrueNAS SCALE, as I recommended, as iX recommends for new deployments, and as you’ve said you now are, it’s based on Linux, not FreeBSD. Now answer mine:
From simple things like shutdown to more “extreme” things like flush the write buffer buffer and freeze and writes.
TrueNAS CORE is based on FreeBSD . TrueNAS SCALE is a Linux version of TrueNAS which brings additional features such as Linux containers and clustering.
In your second Post you stated that now scale is running, and scale is based on debian Linux and, as dan has already told you multiple times has guest agent already installed.
And you’re using TrueNAS SCALE, right? Like I recommended you do? Like iX has been recommending for new deployments for over a year? Like you said above you were?
I’d also note that if you’ve passed through the disk controller to the VM, as you should (and as is the only safe way to run TrueNAS virtualized), you won’t be able to do these things regardless of whether you have the guest agent installed or not, as Proxmox won’t be handling the disk I/O. If you’ve created virtual disks, you’re in for a world of hurt.
I am running CORE. I think QEMU functionality will help me make a VM backup more smoothly. To stop the VM, for example. Now the VM might be stopped abruptly and with QEMU it would be better on Proxmox. Also read somewhere that without QEMU the TrueNAS VM sometimes crashes. But of course I am open to suggestions and experiences.
iX have been recommending SCALE for new deployments for some time now (well over a year)
CORE is effectively EOL–it isn’t receiving any new development, features, or releases, other than possibly to address security issues
As stated repeatedly above, SCALE includes the guest agent
If, as you said in your OP (unless that was another lie typo), you’re a newbie to TrueNAS, you should be using SCALE for many reasons. The guest agent is pretty low on the list, but it solves that problem too.