this post was submitted on 19 Feb 2024
19 points (95.2% liked)

Selfhosted

38831 readers
186 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 an aging gaming desktop with a GTX 970 that I've previously used to let friends/family stream games. My area has a lot of fiber so it's surprisingly usable, even got VR working. Problem is, I'd prefer to use it as a NAS most the time as it has plenty of drive bays and I need somewhere better to run jellyfin than my desktop.

I'm somewhat aware of the options as I've used various hypervisors etc before, but I also want something as simple as possible. Because of that, I'm looking at TrueNAS. I'm aware my point of difficulty is gonna be the GPU. Is there any easy way to use it for a gaming VM at times and jellyfin encode others? If there's not some nifty feature in Proxmox or TrueNAS to solve my problem, how dumb would running a linux VM with both the games and Jellyfin be?

Forgive me if this is a more generic question than I realize. I'd be plenty happy to be pointed to some existing resources.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 6 months ago

I run the steam headless docker, using dockers you don't have to pass through a gpu so Jellyfin can still use it for transcoding aswell. Or like you said you can go the other way and put them both in a vm

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

I have a TrueNAS Scale NAS in my home network. Since they using k3s, your NVidia GPU should be picked up automatically: https://docs.k3s.io/advanced#nvidia-container-runtime-support If you have troubles, I guess a little tweak here and there and you should be fine. I generally recommend Truenas, it serves me several years until now.

[–] [email protected] 1 points 6 months ago

You could possibly also use proxmox and setup a VM for docker, games (use GPU passthrough), and TrueNAS. You also combine docker and games to same VM to use GPU for jellyfin. Only thing is I'm not quite sure how well your games will play (guess it depends on what games). Also keep in mind TrueNAS requires alot of memory (RAM). If you don't have enough for your games and TrueNAS you may have some performance issues.

You could also try running everything from within TrueNAS but personally I'm not a fan of it. I haven't tried TrueNAS scale yet but it does look promising.

[–] [email protected] -3 points 6 months ago (2 children)

I'd prefer to use it as a NAS most the time as it has plenty of drive bays and I need somewhere better to run jellyfin than my desktop.

I feel like "NAS" has simply lost all meaning.

[–] [email protected] 7 points 6 months ago (1 children)

Network attached storage? I don't see the issue with OPs usage of the term.

[–] [email protected] -1 points 6 months ago (1 children)
[–] [email protected] 5 points 6 months ago (1 children)

The storage for Jellyfin is a NAS. You can run it on a Synology NAS too. This is the same thing just DIY.

[–] [email protected] -1 points 6 months ago (1 children)

They're looking to run Jellyfin on the nas. And do a little gaming. That's not a NAS. It's a server/desktop that serves nfs shares.

[–] [email protected] 3 points 6 months ago (1 children)

I'm sure there are some folks who run a NAS simply for the joy of storing files. Most of us care primarily about what services can use those files, ideally with the same machine serving both functions.

[–] [email protected] -2 points 6 months ago (1 children)
[–] [email protected] 1 points 6 months ago

I feel like you are the one who is confusing a "NAS device" or "NAS appliance" as in a device that is specifically designed and primarily intended to provide NAS services (ie, its main attribute is large disks, with little design weight given to processing, RAM or other components except to the extent needed to provide NAS service), and a NAS service itself, which can be provided by any generic device simultaneously capable of both storage and networking, although often quite poorly.

You are asserting the term "NAS" in this thread refers exclusively to the former device/appliance, everyone else is assuming the latter. In fact, both are correct and context suggests the latter, although I'm sure given your behavior in this thread you will promptly reply that only your interpretation is correct and everyone else is wrong. If you want to assert that, go right ahead and make yourself look foolish.

[–] [email protected] 3 points 6 months ago

Please quiet