• 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 General Questions How to add new hard drives to jellyfin using ubuntu

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    How to add new hard drives to jellyfin using ubuntu

    Vikas Nanda
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #1
    2023-11-16, 07:13 PM
    Hi

    How can I add additional hard drives to my Jellyfin server. I am using ubuntu. When I open the files app in ubuntu the drive appears mounted but when I go into the dashboard and libraries section in jellyfin I cannot find them anywhere.

    Would really help if this was added to the main site so that users can get this to work, surprised it isn't!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-11-16, 07:15 PM
    Does the Jellyfin user have permissions to access to the path the new hard drive is mounted to?
    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]
    Vikas Nanda
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #3
    2023-11-16, 09:03 PM
    (2023-11-16, 07:15 PM)TheDreadPirate Wrote: Does the Jellyfin user have permissions to access to the path the new hard drive is mounted to?

    Hi 

    How can I do this. I am a complete novice when it comes to ubuntu/Linux. 

    Thanks in advance
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-11-16, 09:39 PM
    You will have to use the command line

    Code:
    sudo ls -l /path/to/new/harddrive

    The jellyfin user probably doesn't have permission to read anything on that drive

    Code:
    sudo chgrp -R jellyfin /path/to/new/harddrive
    sudo chmod g+rwx /path/to/new/hardrive
    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]
    Vikas Nanda
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #5
    2023-11-16, 09:43 PM
    (2023-11-16, 09:39 PM)TheDreadPirate Wrote: You will have to use the command line

    Code:
    sudo ls -l /path/to/new/harddrive

    The jellyfin user probably doesn't have permission to read anything on that drive

    Code:
    sudo chgrp -R jellyfin /path/to/new/harddrive
    sudo chmod g+rwx /path/to/new/hardrive

    Thanks I will give this a go later. Do I need to run these commands every time the server restarts?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-11-16, 10:01 PM
    No. If you add new files or directories you will need to do this again.
    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]
    Vikas Nanda
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #7
    2023-11-17, 03:51 PM (This post was last modified: 2023-11-17, 03:52 PM by Vikas Nanda. Edited 1 time in total.)
    Hi

    I have executed these commands for one of the drives and the commands have executed ok. When I go back into jellyfin however I still cannot navigate to the actual drive. Any idea what is going wrong?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-11-17, 04:22 PM
    What is the path to your new hard drive?
    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]
    Vikas Nanda
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #9
    2023-11-17, 04:40 PM
    (2023-11-17, 04:22 PM)TheDreadPirate Wrote: What is the path to your new hard drive?

    Under files it has /dev/sdd2 and drive name is seagate

    Once I open it is currently has a plex folder structure which I know I will need to some what change
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #10
    2023-11-17, 05:04 PM (This post was last modified: 2023-11-17, 05:06 PM by tmsrxzar. Edited 1 time in total.)
    i am guessing you are new to linux

    the 'path to your new drive' would be the 'mount path', the device tree path /dev/sdd* is not a mount path (it's a device tree)

    if not already done make sure there is an fstab entry for the new drive, best practice is to mount by uuid so that device tree identifiers changing do not alter mounts - https://www.cyberciti.biz/faq/linux-find...date-fstab

    once you have it auto mounting to a location (mount -a or restart), typically to a path under /mnt/, then you can add that path to Jellyfin


    from what i am gathering you are just opening the file explorer and now see your drive, this is not the proper way to set up a mount
    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