Enable moving location of jellyfin.db #7673

Open
opened 2025-12-22 06:16:52 +01:00 by backuprepo · 3 comments
Owner

Originally created by @twsouthwick on GitHub (Nov 2, 2025).

I run jellyfin in a k3s cluster and use iscsi for the database. However, everything else I prefer to use nfs stores to go to my NAS. Currently, the data directory for jellyfin is where the database is as well as things like trickplay, subtitles, etc. Since iscsi shares need to be provisioned to a specific size, I've hit out of memory as trickplays get generated. To fix this, I'd like to move the database to its own directory so I can have a specific store for just the db.

Originally created by @twsouthwick on GitHub (Nov 2, 2025). I run jellyfin in a k3s cluster and use iscsi for the database. However, everything else I prefer to use nfs stores to go to my NAS. Currently, the data directory for jellyfin is where the database is as well as things like trickplay, subtitles, etc. Since iscsi shares need to be provisioned to a specific size, I've hit out of memory as trickplays get generated. To fix this, I'd like to move the database to its own directory so I can have a specific store for just the db.
backuprepo added the
feature
label 2025-12-22 06:16:52 +01:00
Author
Owner

@anultravioletaurora commented on GitHub (Nov 3, 2025):

@twsouthwick just out of curiosity are you using Longhorn for your iSCSI distributed storage? I only ask because Longhorn supports expanding persistent volumes after creation

@anultravioletaurora commented on GitHub (Nov 3, 2025): @twsouthwick just out of curiosity are you using [Longhorn](https://longhorn.io/) for your iSCSI distributed storage? I only ask because Longhorn supports expanding persistent volumes after creation
Author
Owner

@twsouthwick commented on GitHub (Nov 3, 2025):

Not right now - I currently use https://github.com/hpe-storage/truenas-csp. It supports expanding, but it grows quite large and I'd rather have the non-db files (i.e. trickplay, subtitles, etc) stored on my NFS shares

@twsouthwick commented on GitHub (Nov 3, 2025): Not right now - I currently use https://github.com/hpe-storage/truenas-csp. It supports expanding, but it grows quite large and I'd rather have the non-db files (i.e. trickplay, subtitles, etc) stored on my NFS shares
Author
Owner

@IgorAngelini commented on GitHub (Dec 3, 2025):

I would also like this, I'm running on ZFS and would be nice if I could create a dataset with recordsize of 64K and set the sqlite page size to 65536. Not nearly as damaging as OP's issue, but I thought it would add to the case.

@IgorAngelini commented on GitHub (Dec 3, 2025): I would also like this, I'm running on ZFS and would be nice if I could create a dataset with recordsize of 64K and set the sqlite page size to 65536. Not nearly as damaging as OP's issue, but I thought it would add to the case.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#7673
No description provided.