2024-10-14, 06:28 PM
Hi wbravin,
we're getting closer now
First of all you should take care that you mount the remote filesystems within the LXC shell and not on PVE host.
Sometimes you post screenshots where you use "root@pve" and sometimes from "root@jellyfin". If "jellyfin" is your Jellyfin LXC then the following commands only have to be performed on that host, NOT on the PVE host.
first parameter in /etc/fstab describes the remote filesystem. So you can use everyting that "smbclient -L 192.168.1.124" shows. In your case:
//192.168.1.124/Movies
//192.168.1.124/Music
//192.168.1.124/Shows
second parameter in /etc/fstab matches directories on the local filesystem. You must create these local directories manually before mounting. In your case:
/mnt/Movies
/mnt/Shows
/mnt/Music
So /etc/fstab in your case could be something like (in the jellyfin LXC, not the PVE host!):
we're getting closer now
First of all you should take care that you mount the remote filesystems within the LXC shell and not on PVE host.
Sometimes you post screenshots where you use "root@pve" and sometimes from "root@jellyfin". If "jellyfin" is your Jellyfin LXC then the following commands only have to be performed on that host, NOT on the PVE host.
first parameter in /etc/fstab describes the remote filesystem. So you can use everyting that "smbclient -L 192.168.1.124" shows. In your case:
//192.168.1.124/Movies
//192.168.1.124/Music
//192.168.1.124/Shows
second parameter in /etc/fstab matches directories on the local filesystem. You must create these local directories manually before mounting. In your case:
/mnt/Movies
/mnt/Shows
/mnt/Music
So /etc/fstab in your case could be something like (in the jellyfin LXC, not the PVE host!):
Code:
//192.168.1.124/Movies /mnt/Movies cifs credentials=/.smbcred,x-systemd.automount,iocharset=utf8,rw,file_mode=0777,dir_mode=0777,vers=3 0 0
//192.168.1.124/Music /mnt/Music cifs credentials=/.smbcred,x-systemd.automount,iocharset=utf8,rw,file_mode=0777,dir_mode=0777,vers=3 0 0
//192.168.1.124/Shows /mnt/Shows cifs credentials=/.smbcred,x-systemd.automount,iocharset=utf8,rw,file_mode=0777,dir_mode=0777,vers=3 0 0