SOLVED: Mount several NAS folders - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: Mount several NAS folders (/t-solved-mount-several-nas-folders) |
Mount several NAS folders - Infectftw - 2024-08-08 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! RE: Mount several NAS folders - tepsys - 2024-08-08 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 RE: Mount several NAS folders - Infectftw - 2024-08-09 (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 Do you have any ideas what exactly the problem is? RE: Mount several NAS folders - tepsys - 2024-08-09 "/" 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 RE: Mount several NAS folders - Infectftw - 2024-08-09 (2024-08-09, 06:57 AM)tepsys Wrote: "/" indicates the "root" of your filesystem, so great, thanks, that was the solution also thank you for the hint with the root user, I will change it. RE: Mount several NAS folders - tepsys - 2024-08-09 No problem. Glad I could help |