this post was submitted on 23 Mar 2025
30 points (87.5% liked)

Selfhosted

44984 readers
428 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 2 years ago
MODERATORS
 

Hey all, I've got ZFS pool created and just create a VM drive in that pool like normal, then Jellyfin just has that drive mounted. I think I'm losing the best parts of ZFS through this manner.

How should I set this up properly? Create a media pool or something and have VMs accessing the pool directly?

you are viewing a single comment's thread
view the rest of the comments
[–] Oisteink@feddit.nl 2 points 2 days ago (1 children)

So you mount the pool to each vm that needs the shared data? Afaik zfs is not made for concurrency

[–] non_burglar@lemmy.world 0 points 1 day ago (1 children)

Zfs (and most modern filesystems) are fine with concurrency.

I mount the same data store into several instances, it works well. Just needs some planning for permissions.

[–] Oisteink@feddit.nl 1 points 1 day ago (1 children)

Could you explain further with a bit more detail? I havnt looked at this in a while but back then the options where virtiofs or nfs

[–] non_burglar@lemmy.world 1 points 1 day ago (1 children)

Each cgroup container mounts a host path. That's it.

[–] Oisteink@feddit.nl 2 points 1 day ago (1 children)

So lxc containers and not vm’s

[–] non_burglar@lemmy.world 1 points 1 day ago (1 children)

Yes, Lxc, docker, whatever cgroup2 isolation environment, but not VMS, true.

Vms can achieve the same thing through shares

[–] Oisteink@feddit.nl 1 points 1 day ago

Thanks. My setup is way over complicated with 3 hosts in a cluster and shared storage, so local storage on the hosts stay unused. But i have been thinking about redoing it with separate hosts. This solution looks promising for sharing data, even if just on one host