Jellyfin Forum
SMB disk sharing - 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: SMB disk sharing (/t-smb-disk-sharing)

Pages: 1 2


SMB disk sharing - Armentis - 2024-05-09

Hi everyone.


I'm looking to share my freebox server smb disk. Jellyfin is running in Linux Fedora 39 (asahi linux on mac mini M1)

I cannot reach this disk from the web interface.

French speaking.

Thanks for help


RE: SMB disk sharing - TheDreadPirate - 2024-05-09

You should mount the SMB share to the OS. It will work much reliably than trying to access SMB directly from Jellyfin's library.

https://askubuntu.com/questions/157128/proper-fstab-entry-to-mount-a-samba-share-on-boot


RE: SMB disk sharing - Armentis - 2024-05-09

Thanks for the reactivity.

I see the disk on my os, but don't find it in the web interface choice

I see it like this on fedora : smb: //freebox-servver.local/nasarm/
or /run/user/1000/gvvfs/smb-share:servver=freebox-server.local,share=nasarm


RE: SMB disk sharing - TheDreadPirate - 2024-05-09

How did you mount the SMB share? In /etc/fstab? What are the mount parameters?


RE: SMB disk sharing - Armentis - 2024-05-09

[Image: Capture-d-cran-du-2024-05-09-18-12-34.png]


RE: SMB disk sharing - TheDreadPirate - 2024-05-09

So it is not mounted to your file system, you are seeing it as a direct network share. I'm assuming you have permission to read and write from the network share, but Jellyfin does not.

Read the link I posted in my first response. It details how you mount a network share to a local directory so that it appears as a local directory to Jellyfin, including how to allow other users (jellyfin) to access that share.


RE: SMB disk sharing - Armentis - 2024-05-09

Thanks for help, I try to understand the procedure but I'm not familiar enough with Linux. 

The smb/cifs is already insalled
Code:
sudo dnf install cifs-utils

What should I change in this command ?

Code:
//server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentials,uid=shareuser,gid=sharegroup 0 0



RE: SMB disk sharing - TheDreadPirate - 2024-05-09

That is not a command. That is what you are putting in /etc/fstab. And you need to put in the correct server name, share name, provide an empty directory to mount to. The .smbcredentials files needs to be created and you need to provide the username, password, and workgroup for the remote SMB user. Its all detailed in that link.


RE: SMB disk sharing - Armentis - 2024-05-09

When i want to mount with this command : mount /media/freebox

I have this :
Quote:mount /media/freebox
mount error(13): Permission denied
Refer to the mount.cifs(Nerd-face 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.



RE: SMB disk sharing - TheDreadPirate - 2024-05-09

After you add the correct parameters in /etc/fstab you would use "sudo systemctl daemon-reload" and "sudo mount -a".