I have just installed Proxmox 8.0.2 on my fanless PC over two identical 2TB SSDs and set-up ZFS RAID1 during install. Now I want to install homeassistant as a VM. I have created the VM, downloaded the Home Assistant qcow2 and transferred the qcow2 image to the /root of the Proxmox but don’t know how I can link it to my HA VM. I saw that it is not a good idea to have qcow2 over ZFS especially in the case of SSD due to the higher wear of the SSDs so I was wondering what my options are.
I am also open to re-install Proxmox and change the drive setup. What’s the best path ahead of me?
Sorry I can’t help with the proxmox stuff but it is absolutely fine to have a qcow2 image on an SSD pool. Modern SSD write endurance is so high as to be a non issue especially in the relatively tiny work loads that HA will put on it
I think the problem is that ZFS expects zvols and qcow2 is adding an additional layer on top and this is increasing the wear and tear of the disks especially SSDs and eventually it is not recommended. Plus qcow2 I think is better for virtualisation.
I did something similar a while back and this tutorial helped me: https://kb.vander.host/operating-systems/how-to-import-a-qcow2-file-to-proxmox/
I think the import command it has you run allows you to import it however you want. It’s my understanding that after you import it, it’s no longer using the qcow2 file as the backing drive.
Thanks a lot for the link, will check it out.
Proxmox has kinda install template for HA, so you don’t need to download things. Just tell it to create your HA.
Here is a tutorial
https://www.wundertech.net/how-to-set-up-home-assistant-on-proxmox/
I used Tteck’s Proxmox Helper Scripts to get haos up on my proxmox setup. They make installation very easy.
Thanks will get a look at it.