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

Selfhosted

44937 readers
473 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
[–] ikidd@lemmy.world 2 points 2 days ago (1 children)

You're doing it fine. You can overprovision your zpool that way for other VMs with datasets on the pool, and it only uses what it needs for each set. And you can exclude the media pool from backups and repllications if you like. There's no performance hit the way you'r doing it.

I sure wouldn't bother with any sort of NAS intermediary, you can share out the media pool via the Jellyfin VM if you really need to, but I can't see why you would if you're using Arr stack components already.

[–] Matty_r@programming.dev 1 points 2 days ago (1 children)

OK, sweet thanks. I just thought having the media files directly in the ZFS pool (zfs pool > files) instead of ZFS Pool > Qemu img > Files would be smarter

[–] ikidd@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

Then you'd have to share them back from the host to the guest using NFS or samba, and there's no reason to have them on the host. No, you're fine. That's what I would consider the right way to do it for what you describe as your purpose. Putting more layers in there isn't serving a useful purpose, which is why I say to not bother with a NAS to store them, if your primary use of them is via the Arr stack VM.