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?

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/

Bradley Nelson
link
fedilink
English
31Y

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

@filister@lemmy.world
creator
link
fedilink
English
11Y

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.

@filister@lemmy.world
creator
link
fedilink
English
11Y

Thanks a lot for the link, will check it out.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 30 users / day
  • 79 users / week
  • 215 users / month
  • 844 users / 6 months
  • 1 subscriber
  • 1.42K Posts
  • 8.13K Comments
  • Modlog