• 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 find other drives on Linux?

     
    • 0 Vote(s) - 0 Average

    How to find other drives on Linux?

    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #1
    2024-08-11, 06:19 PM
    So, I transitioned from Windows to Linux. I am going through the server setup again. When I am trying to add my one drive for movies-only, I don't see the drive name anywhere. When researching, a site said to use:

    Code:
    sudo setfacl -m user:jellyfin:rxw /media/YourMountedDrive/

    So, how do I do this? Do I change "YourMountedDrive" to the name of my drive? or the location of it (which says "/dev/sda1")? Confused. I also have another drive I'll need to give access to for shows/anime.
    34626
    Offline

    Member

    Posts: 172
    Threads: 36
    Joined: 2023 Jul
    Reputation: 0
    Country:Denmark
    #2
    2024-08-11, 07:03 PM
    Is Jellyfin running in docker?
    What Linux distro?
    What filesystem is the drive using? If NTFS, i would recommend you, to move data away and format the drive into ext4

    You can use "sudo fdisk -l" to see drives informations like /dev/sdb etc.
    You need to create a folder for the mount like:
    "sudo mkdir /mnt/ext1"
    then to mount a drive to that path:
    "sudo mount /dev/sdb /mnt/ext1/"

    For permissions of the drive, you can use:
    "sudo chmod -R 777 username:group /mnt/ext1/"
    -R will change permission on all files and folders on the drive.
    777 = all permissions
    username is the name of the user and group should be the same.
    /mnt/ext1/ is the path
    Serv: N5105 - 32GB RAM, 1 WD Red SA500 2TB, 2 8TB, 2 4TB WD Red Plus, LC-35U3-C-HUB
    OS: Debian
    Clients: Pi4 with LibreELEC + JellyCon and Jellyfin Media Player
    Network: 2 TP-Link AX23, OpenWRT mesh 802.11s and 1 Gbit
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #3
    2024-08-11, 07:13 PM (This post was last modified: 2024-08-11, 07:18 PM by 4r5hw45twh. Edited 2 times in total.)
    No, no docker. Just on my Linux install. POP!_OS, based on Ubuntu.
    Not sure how to find the filesystem. Pretty new to Linux in general, so a lot of this is gibberish to me.

    Using that fdisk command, I see the 2 drives I want are:
    /dev/sda2 (type: Microsoft basic data)
    /dev/sdb1 (type: HPFS/NTFS/exFAT)

    There's no simple way to just see my other drives on my File Explorer like in Windows on the left-hand side?

    In Linux, if I open my Files app, then go to "Other Locations" I do see my drives there. But they aren't showing as options on the JellyFin setup. On Windows, JellyFin just let me easily browse to the hard drive directories.

    EDIT: It appears on JellyFin, I had to select the "/media" directory and then my other hard drives showed up there. Which is nothing you said at all, so not sure what you were talking about.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-11, 08:27 PM (This post was last modified: 2024-08-11, 08:27 PM by TheDreadPirate. Edited 1 time in total.)
    Code:
    sudo fdisk -l

    That command will list out all the drives attached and any partitions and filesystems on them.

    Once you figure out what is where, you will need to mount them by providing mount parameters in /etc/fstab.

    https://askubuntu.com/questions/154180/h...on-startup
    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]
    « 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