this post was submitted on 15 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
9 users here now

Rules

founded 1 year ago
MODERATORS
 

I've been dreading doing it, however, it wasn't too bad. I had 4 LXC's to convert to VM's in total.

The biggest difference is that the LXC I had which hosted CodeProject.AI for my Blue Iris server went from using 120GB down to 19GB to for the same containers. I'm guessing it's due to being able to change from using vfs in the LXC to overlay2 in the VM.

Having docker-compose yml files to recreate all containers on the VM helped a TON as well as using rsync to move everything over to the new VM that the containers needed.

Has anyone else made the move?

I got the kick in the pants to do it after trying to restore the 120GB LXC from PBS, giving up after 2 hours, and restoring it in totality from a standard Proxmox backup instead which only took 15 minutes.

you are viewing a single comment's thread
view the rest of the comments
[–] alestrix@alien.top 1 points 1 year ago (1 children)

Did you see a performance improvement going from vfs to overlay2?

I'm still stuck on vfs as I don't want to mount my storage to the VM via NFS. Passing it into the lxc is so much more flexible and it doesn't come with the problems when dealing with database files.

[–] Firestarter321@alien.top 1 points 1 year ago

I can’t say that I’ve noticed anything, however, my containers aren’t IO intensive either.

I agree completely about the LXC being much more flexible when using bind mounts rather than fstab.