• 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 SOLVED: Mount several NAS folders

     
    • 0 Vote(s) - 0 Average

    SOLVED: Mount several NAS folders

    Infectftw
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #1
    2024-08-08, 12:45 PM (This post was last modified: 2024-08-09, 07:19 AM by Infectftw. Edited 1 time in total.)
    Hi guys,

    my hardware:
    Homeserver: HP Elitedesk 800 G5 Mini with Proxmox
    NAS: Synology DS418 with 2 HDDs (one for movies and one for series)

    I installed Jellyfin with the official bash script in a proxmox container.
    I created a folder jellyfin with mkdir
    I installed cifs-utils
    I edited the /etc/fstab file with my mounts:
    //192.168.178.3/ds418-filme /jellyfin cifs credentials=/home/.smbcredentials,uid=1000,gid=1000 0 0
    //192.168.178.3/ds418-media /jellyfin cifs credentials=/home/.smbcredentials,uid=1000,gid=1000 0 0

    Unfortunately it only works for one of the mounts.
    When the movie mount is working, than the series (418-media) does not work and vice versa.

    I think the problem is, that both folders are mounted in the same /jellyfin folder.
    Could this be?

    Can you help me to fix the two mount commands?
    I assume the easiest way would be to have both folders (movies and media) on one HDD, but the HDDs are too small, so this is not a solution for me.

    Thanks!
    tepsys
    Offline

    Junior Member

    Posts: 18
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #2
    2024-08-08, 02:56 PM (This post was last modified: 2024-08-08, 02:58 PM by tepsys. Edited 2 times in total.)
    Your fstab is mounting both drives to /jellyfin so you have one mounted on top of the other. You need to provide separate mount points in your fstab. e.g.
    Code:
    //192.168.178.3/ds418-filme /jellyfin/Movies cifs credentials=/home/.smbcredentials,uid=1000,gid=1000 0 0

    //192.168.178.3/ds418-media /jellyfin/Shows cifs credentials=/home/.smbcredentials,uid=1000,gid=1000 0 0
    Edited for clarity
    1
    Infectftw
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #3
    2024-08-09, 06:43 AM
    (2024-08-08, 02:56 PM)tepsys Wrote: Your fstab is mounting both drives to /jellyfin so you have one mounted on top of the other. You need to provide separate mount points in your fstab. e.g.

    Thanks for your reply, this is what I thought.

    I edited the fstab like you suggested.
    Additionally I created two folders (movies/shows) in the jellyfin folder and tried to mount them.
    Unfortunetaly I got an error message:
    Code:
    root@Jellyfin:/jellyfin# mkdir /movies
    mkdir: cannot create directory '/movies': File exists
    root@Jellyfin:/jellyfin# mkdir /shows
    root@Jellyfin:/jellyfin# cd /shows/
    root@Jellyfin:/shows# cd
    root@Jellyfin:~# ls
    root@Jellyfin:~# cd /shows/
    root@Jellyfin:/shows# ls
    root@Jellyfin:/shows# mount -a
    Couldn't chdir to /jellyfin/movies: No such file or directory
    Couldn't chdir to /jellyfin/shows: No such file or directory

    Do you have any ideas what exactly the problem is?
    tepsys
    Offline

    Junior Member

    Posts: 18
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #4
    2024-08-09, 06:57 AM (This post was last modified: 2024-08-09, 07:00 AM by tepsys. Edited 2 times in total.)
    "/" indicates the "root" of your filesystem, so

    Code:
    mkdir /movies

    is creating folders at the very root of your filesystem, not within any other folder.

    Also, I notice from your prompt you are running as ROOT user! I would highly recommend creating a regular user and giving that user admin privileges. You risk breaking your system very easily running as root

    Edit:

    If you are in the directory in which you want to create another directory, just remove the leading slash, e.g.
    Code:
     mkdir Movies
    1
    Infectftw
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Aug
    Reputation: 0
    #5
    2024-08-09, 07:18 AM
    (2024-08-09, 06:57 AM)tepsys Wrote: "/" indicates the "root" of your filesystem, so

    Code:
    mkdir /movies

    is creating folders at the very root of your filesystem, not within any other folder.

    great, thanks, that was the solution Smiling-face

    also thank you for the hint with the root user, I will change it.
    tepsys
    Offline

    Junior Member

    Posts: 18
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #6
    2024-08-09, 07:24 AM
    No problem. Glad I could help Smiling-face
    « 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