• 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 SMB disk sharing

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SMB disk sharing

    Freebox (french ISP server) SMB disk sharing
    Armentis
    Offline

    Junior Member

    Posts: 30
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    Country:France
    #11
    2024-05-09, 09:52 PM
    I tried with this :
    //server/share /pathto/mountpoint cifs credentials=/home/MYSUERNAME/.smbcredentials,uid=shareuser,gid=sharegroup 0 0

    and this :
    # Disque dur Freebox :
    //freebox-server.local/freebox /media/freebox cifs x-systemd.automount,x-systemd.device-timeout=3,_netdev,rw,users,credentials=/home/identifiant/.smbcredentials,iocharset=utf8,uid=1000,gid=1000,sec=ntlmv2,file_mode=0777,dir_mode=0777,vers=2.0,noauto 0 0

    And go this :
    mount: /pathto/mountpoint: failed to parse mount options 'rw,credentials=/home/armentis/.smbcredentials,uid=shareuser,gid=sharegroup': Argument invalide.
    mount: (hint) your fstab has been modified, but systemd still uses
          the old version; use 'systemctl daemon-reload' to reload.


    I can not create folder in /media/freebox
    Serveur : fedora 41 on Mac Mini M1 (asahi linux)

    Jellyfin version : 10.10.5
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-05-09, 09:57 PM
    (2024-05-09, 09:52 PM)Armentis Wrote: I tried with this :
    //server/share /pathto/mountpoint cifs credentials=/home/MYSUERNAME/.smbcredentials,uid=shareuser,gid=sharegroup 0 0


    This wouldn't work since it was just a generic example.

    (2024-05-09, 09:52 PM)Armentis Wrote: and this :
    # Disque dur Freebox :
    //freebox-server.local/freebox /media/freebox cifs x-systemd.automount,x-systemd.device-timeout=3,_netdev,rw,users,credentials=/home/identifiant/.smbcredentials,iocharset=utf8,uid=1000,gid=1000,sec=ntlmv2,file_mode=0777,dir_mode=0777,vers=2.0,noauto 0 0

    There's a lot of extra stuff in here.  Try this instead.  But first you have to make /media/freebox with "sudo mkdir -p /media/freebox" if that folder doesn't exist.

    Code:
    //freebox-server.local/freebox /media/freebox cifs credentials=/home/identifiant/.smbcredentials,iocharset=utf8,uid=1000,gid=1000 0 0

    Then "sudo systemctl daemon-reload".

    Also, the .smbcredentials file needs to have the correct username and password for your SMB share.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Armentis
    Offline

    Junior Member

    Posts: 30
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    Country:France
    #13
    2024-05-09, 10:23 PM
    Quote:mount /media/freebox
    mount.cifs: permission denied

    Quote: Also, the .smbcredentials file needs to have the correct username and password for your SMB share.

    I add Domain too, but always permission denied
    Serveur : fedora 41 on Mac Mini M1 (asahi linux)

    Jellyfin version : 10.10.5
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-05-09, 11:32 PM (This post was last modified: 2024-05-09, 11:33 PM by TheDreadPirate.)
    The username and password you are using is for the user on the server hosting the share, correct? Not the local user. Same with the UID and GID in the fstab config. It needs to match the UID/GID on the server for the authorized user.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Armentis
    Offline

    Junior Member

    Posts: 30
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    Country:France
    #15
    2024-05-09, 11:42 PM
    To recap with examples :

    The smb on my box (freebox) :
    Domain : WORKGROUP
    User : userbox
    Pass : passbox

    Into the .smbcredentials file :
    User : userbox
    Pass : passbox
    Serveur : fedora 41 on Mac Mini M1 (asahi linux)

    Jellyfin version : 10.10.5
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2024-05-10, 02:35 PM
    I don't know how much it matters, but .smbcredentials should also have DOMAIN.

    And, I'm not sure if this matters, but the syntax should be

    Code:
    user=userbox
    password=passbox
    domain=WORKGROUP

    Use = instead of :.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Armentis
    Offline

    Junior Member

    Posts: 30
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    Country:France
    #17
    2024-05-10, 08:04 PM (This post was last modified: 2024-05-10, 08:36 PM by Armentis. Edited 2 times in total.)
    Hi

    With the command : sudo dmesg | grep -i cifs

    Quote:[ 3889.900108] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers

    I changed the smb version to 1.0

    [ 3889.900119] CIFS: Attempting to mount //192.168.0.254/Freebox
    [ 3889.996413] CIFS: VFS: cifs_mount failed w/return code = -13

    The fstab line
    Quote://192.168.0.254/Freebox /media/freebox cifs _netdev,rw,users,credentials=/home/USERNAME/.smbcredentials,iocharset=utf8,uid=1000,sec=ntlmv2,file_mode=0777,dir_mode=0777,vers=1.0

    If I don't put some SMB version, I get this :
    Quote:mount error(2): No such file or directory
    Refer to the mount.cifs(Nerd-face manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

    I will try to post my problem on a friendly freebox user forum, maybe more details with this specific intenet box
    Serveur : fedora 41 on Mac Mini M1 (asahi linux)

    Jellyfin version : 10.10.5
    Armentis
    Offline

    Junior Member

    Posts: 30
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    Country:France
    #18
    2024-05-13, 11:41 AM
    That's working now ! I had incorrectly entered the path to the freebox disk from the start.

    In any case, thank you very much for your valuable help which allowed me to learn a little more about Linux
    Serveur : fedora 41 on Mac Mini M1 (asahi linux)

    Jellyfin version : 10.10.5
    Pages (2): « Previous 1 2

    « 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