• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Metadata keeps filling up /var/ partition

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Metadata keeps filling up /var/ partition

    As title
    Huecuva
    Offline

    Junior Member

    Posts: 20
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    #1
    2024-07-21, 08:33 PM
    I'm running Jellyfin on a headless Debian VM in Proxmox and it has a separate 4GB /var partition. Unfortunately, it seems that Jellyfin keeps filling it up with /var/lilb/jellyfin/metadata. I've restored backups of my server several times to points prior to the partition becoming full in attempts to temporarily mitigate this problem, but...as I stated, it is temporary and quickly becoming annoying. Is there some way to solve this problem permanently? A way to perhaps migrate the metadata to a different partition or something?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-07-21, 08:34 PM
    Do you have trickplay generation enabled for any libraries? That's the location where the trickplay files are stored.

    Also, chapter images are also stored there too.
    Huecuva
    Offline

    Junior Member

    Posts: 20
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    #3
    2024-07-21, 08:35 PM (This post was last modified: 2024-07-21, 08:56 PM by Huecuva. Edited 3 times in total.)
    I don't know what trickplay is. How do I check whether it's enabled? I currently can't even get to the Jellyfin webgui as the /var partition is 100% full. I'm in the process of again restoring an older backup of the server in an effort to gain access to the webgui and do whatever configuration I need to do.

    EDIT: After some googling, it seems that Trickplay is disabled by default. I didn't even know it was a thing so I have definitely never enabled it. However, chapter images may be contributing to my problem. How do I a) purge existing chapter images and b) store them elsewhere?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-21, 09:18 PM
    You could symlink /var/lib/jellyfin to another, larger, partition.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Huecuva
    Offline

    Junior Member

    Posts: 20
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    #5
    2024-07-21, 09:21 PM (This post was last modified: 2024-07-21, 09:36 PM by Huecuva. Edited 2 times in total.)
    How would I go about that?

    EDIT: I think I figured out how to create the symlink itself: sudo ln -s ~/Storage/var /var/lib/jellyfin. However, the original /var directory is still really full. Does everything get moved automatically and the du command just includes what's in the symlinked directory or is there more to be done?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #6
    2024-07-21, 09:42 PM (This post was last modified: 2024-07-21, 09:46 PM by Efficient_Good_5784. Edited 1 time in total.)
    On the topic of space, 4GB is a bit small for your needs.

    From what I understand, your server is acting normally and this doesn't sound like a bug.
    The only real solution is for you to either shrink the size of your libraries (delete media), or increase the size of the /var partition.
    Or figure out how to get the symlinks to work.

    It will grow as your library grows, there's no way around that.
    Huecuva
    Offline

    Junior Member

    Posts: 20
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    #7
    2024-07-21, 09:48 PM (This post was last modified: 2024-07-21, 09:49 PM by Huecuva. Edited 2 times in total.)
    Yeah, I've already symlinked the /var/lib/jellyfin directory to a directory on my NAS which has ample space (the NAS is the same server as the Jellyfin host, just a much bigger attached drive. The same drive where all my media is stored). I'm just wonder now if more needs to be done since /var still seems to be pretty big. Does the du command include what's in the symlinked directory and everything just gets moved automatically when the symlink is created or is there something else I need to do after creating the symlink?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #8
    2024-07-21, 10:00 PM
    (2024-07-21, 09:48 PM)Huecuva Wrote: Yeah, I've already symlinked the /var/lib/jellyfin directory to a directory on my NAS which has ample space (the NAS is the same server as the Jellyfin host, just a much bigger attached drive. The same drive where all my media is stored). I'm just wonder now if more needs to be done since /var still seems to be pretty big. Does the du command include what's in the symlinked directory and everything just gets moved automatically when the symlink is created or is there something else I need to do after creating the symlink?
    Try reading this and see if it helps answer your question: https://unix.stackexchange.com/questions...disk-usage
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-07-21, 10:16 PM
    Having /var/lib/jellyfin on a NAS is not ideal since that also means that database queries, which have a lot of small and random accesses, would massively slow down Jellyfin's responsiveness.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Huecuva
    Offline

    Junior Member

    Posts: 20
    Threads: 5
    Joined: 2024 May
    Reputation: 0
    #10
    2024-07-21, 10:37 PM (This post was last modified: 2024-07-21, 10:39 PM by Huecuva. Edited 1 time in total.)
    The NAS is not actually network attached to the jellyfin server. ~/Storage is a mounted 18TB RAIDZ attached to the server itself that is hosting jellyfin. It is only NAS to the rest of the LAN. Is that still not good? I suppose I could make a directory in ~/ which is 45GB and symlink to that instead. Would that be better?

    Regarding the link Efficient_Good posted above: after messing around with du a bit, it seems like when I du -L /var it now says it's 6GB and du -L ~/Storage/var is 3GB and du /var is 3GB. so it looks like I might have duplicate metadata after simply creating the symlink, since I copied everything from /var/lib/jellyfin/ to ~/Storage/var before creating the symlink. Do I not need to copy? Should I copy first, then delete from /var before creating the symlink? I'm not sure how to fix this. Though, I think if I create a directory in ~/ I can start over.
    Jellyfin 10.9.11
    Debian 11 Bullseye (Proxmox qemu VM)
    4 cores, 1 socket
    8GB RAM
    OS Drive: 64GB
    GPU passthrough: GTX1070
    Storage SATA passthrough: 2x18TB HDD RAIDZ
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode