this post was submitted on 17 Sep 2023
10 points (81.2% liked)

Selfhosted

40183 readers
485 users here now

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!

founded 1 year ago
MODERATORS
 

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?

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago

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/

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] [email protected] 0 points 1 year ago

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

[–] [email protected] 2 points 1 year ago (1 children)

I used Tteck's Proxmox Helper Scripts to get haos up on my proxmox setup. They make installation very easy.

[–] [email protected] 0 points 1 year ago

Thanks will get a look at it.