Sharing NAS in Jellyfin on Proxmox

WickedKing

New Member
Jun 4, 2025
2
0
1
I have been trying to get this working for over a week now. I've watched countless videos and read dozens of webpages and still I'm at a loss. I believe it comes down to permissions but I'm still having trouble.

My Fstab entry is below:
/dev/pve/root / ext4 errors=remount-ro 0 1
UUID=36D2-611E /boot/efi vfat defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
//192.168.1.251/movies /mnt/wickednas/movies cifs vers=3.0,_netdev,x-systemd.automount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=12345 0>

NAS IP address: 192.168.1.251
NAS Share: 192.168.1.251/Movies
Mount location: /mnt/wickednas/movies
User: jellyfin
Pass: 12345

I save the fstab file and attempt to mount it and this is what I get:
root@Proxmox-Server:/mnt/wickednas/movies# mount -a
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload.

Trying to identify the issue, I run "dmesg | tail".
root@Proxmox-Server:/mnt/wickednas/movies# dmesg | tail
[63866.260686] CIFS: enabling forceuid mount option implicitly because uid= option is specified
[63866.260699] CIFS: enabling forcegid mount option implicitly because gid= option is specified
[63866.260701] CIFS: Attempting to mount //192.168.1.251/movies
[63866.267285] CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
[63866.267300] CIFS: VFS: \\192.168.1.251 Send error in SessSetup = -13
[63866.267321] CIFS: VFS: cifs_mount failed w/return code = -13
[64274.074106] CIFS: enabling forceuid mount option implicitly because uid= option is specified
[64274.074112] CIFS: enabling forcegid mount option implicitly because gid= option is specified
[64274.074114] CIFS: Attempting to mount //192.168.1.251/movies
[64274.121447] CIFS: VFS: cifs_mount failed w/return code = -13

As far as I can tell, I've created user jellyfin on proxmox and truenas with the same password. I'm just totally stumped at this point.
 
I actually figured out the solution to my issues soon after posting. Here's what I did:

In the LCX:
root@jellyfin:~# groupadd -g 10000 media
root@jellyfin:~# usermod -aG media jellyfin
root@jellyfin:~# mkdir -p /mnt/wickednas/movies/
root@jellyfin:~# mkdir -p /mnt/wickednas/audiobooks/
root@jellyfin:~# mkdir -p /mnt/wickednas/e-books/
root@jellyfin:~# mkdir -p /mnt/wickednas/music/
root@jellyfin:~# mkdir -p /mnt/wickednas/personal_videos/
root@jellyfin:~# mkdir -p /mnt/wickednas/tv_shows/
root@jellyfin:~# mkdir -p /mnt/wickednas/videos/
Shutdown the LXC



On the PVE Host:
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/movies/
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/audiobooks/
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/e-books/
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/music/
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/personal_videos/
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/tv_shows/
root@Proxmox-Server:~# mkdir -p /mnt/wickednas/videos/
root@Proxmox-Server:~# nano /etc/fstab

Fstab Entry:
/dev/pve/root / ext4 errors=remount-ro 0 1
UUID=36D2-611E /boot/efi vfat defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
//192.168.1.251/Movies /mnt/wickednas/movies cifs vers=3.0,_netdev,x-systemd.automount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=12345 0>
//192.168.1.251/AudioBooks /mnt/wickednas/audiobooks cifs vers=3.0,_netdev,x-systemd.autoount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=>
//192.168.1.251/E-Books /mnt/wickednas/e-books cifs vers=3.0,_netdev,x-systemd.autoount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=12345 >
//192.168.1.251/Music /mnt/wickednas/music cifs vers=3.0,_netdev,x-systemd.autoount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=12345 0 0
//192.168.1.251/Personal_Videos /mnt/wickednas/personal_videos cifs vers=3.0,_netdev,x-systemd.autoount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jell>
//192.168.1.251/TV_Shows /mnt/wickednas/tv_shows cifs vers=3.0,_netdev,x-systemd.autoount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=1234>
//192.168.1.251/Videos /mnt/wickednas/videos cifs vers=3.0,_netdev,x-systemd.autoount,noatime,uid=100000,gid=110000,dir_mode=0770,file_mode=0770,user=jellyfin,pass=12345 0 0


On the PVE Host:
root@Proxmox-Server:~# mount -a
root@Proxmox-Server:~# systemctl daemon-reload
root@Proxmox-Server:~# cd /etc/pve/lxc
root@Proxmox-Server:~# nano 252.conf

252.conf Entry:
mp0: /mnt/wickednas/movies/,mp=/mnt/wickednas/movies/,ro=1
mp1: /mnt/wickednas/music/,mp=/mnt/wickednas/music/,ro=1
mp2: /mnt/wickednas/audiobooks/,mp=/mnt/wickednas/audiobooks/,ro=1
mp3: /mnt/wickednas/e-books/,mp=/mnt/wickednas/e-books/,ro=1
mp4: /mnt/wickednas/personal_videos/,mp=/mnt/wickednas/personal_videos/,ro=1
mp5: /mnt/wickednas/tv_shows/,mp=/mnt/wickednas/tv_shows/,ro=1
mp6: /mnt/wickednas/videos/,mp=/mnt/wickednas/videos/,ro=1


Start up the LXC.
Sign into Jellyfin GUI.
Go to Dashboard, Libraries, Libraries, Add Media Library.
Make sure Content Type, Display Name, and Folders all match info.
For example:
Content Type: Movies
Display Name: Movies
Folders: /mnt/wickednas/music
Press OK and let the files populate.
If you have a lot of files, come back in a little while to check.
Click on the Jellyfin logo in the upper left corner. Then you will be able to select the new folder that you just added.

Good Luck to whoever needed this information.