Announcement

Collapse
No announcement yet.

Error trying to mount NAS permanently.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error trying to mount NAS permanently.

    I'm trying to permanently add my 3 shares from my NAS to Dolphin. The NAS is running TrueNAS 12.

    I have edited my /etc/fstab like so:

    Code:
    [FONT=monospace][COLOR=#000000]# TrueNAS SHARES [/COLOR]
    //192.168.1.68/MEDIA /home/ricefield/MEDIA cifs credentials=/home/ricefield/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 
    
    //192.168.1.68/SAM /home/ricefield/SAM cifs credentials=/home/ricefield/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 
    
    //192.168.1.68/FAM /home/ricefield/FAM cifs credentials=/home/ricefield/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
    [/FONT]
    Trying to do a sudo mount -a returns the error:
    Code:
    [FONT=monospace][COLOR=#000000]mount error(2): No such file or directory [/COLOR]
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) 
    mount error(2): No such file or directory 
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) 
    mount error(2): No such file or directory 
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
    [/FONT]
    What I tried so far is:
    Install the package keyutils.
    Specify vers=1.0 or vers=2.0, prehaps I wrote it in the wrong location? (iocharset=utf8,vers=1.0,sec=ntlm 0 0)
    Type in the hostname "freenas.local" instead of the IP.

    This is what I guess is relevant from the current dmsg but if you need the whole thing let me know.
    Code:
    [FONT=monospace][COLOR=#b21818]
    [FONT=monospace][COLOR=#18b218][87392.801156] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][87392.801178] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To[/B][/COLOR]
    use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][87392.817023] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][87392.817024] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][87392.817034] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][101672.275309] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][101672.275333] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][101672.326561] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][101672.326562] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][101672.326576] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][101672.327913] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][101672.327934] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][101672.358474] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][101672.358475] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][101672.358484] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][101672.359896] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM [/COLOR]
    [COLOR=#18b218][101672.359917] [/COLOR][COLOR=#000000][B]No dialect specified on mount.
    
    Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][101672.387529] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][101672.387531] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][101672.387543] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][101864.403176] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][101864.403200] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][101864.449379] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][101864.449381] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][101864.449393] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][103354.387847] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][103354.387870] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][103354.416495] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][103354.416497] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][103354.416510] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][103354.417876] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][103354.417900] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g.
    
    SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][103354.435094] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][103354.435096] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][103354.435108] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][103354.436465] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM [/COLOR]
    [COLOR=#18b218][103354.436486] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). 
    
    T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][103354.450386] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][103354.450388] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][103354.450401] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][103511.955834] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][103511.955859] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#b21818]: Unknown mount option "vers1.0"[/COLOR]
    [COLOR=#18b218][103511.957158] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][103512.001797] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][103512.003136] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM [/COLOR]
    [COLOR=#18b218][103512.034312] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][103548.371782] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][103548.400786] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][103548.402136] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][103548.417591] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][103548.418964] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM[/COLOR]
    [COLOR=#18b218][103548.438159] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][105379.239050] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][105379.293269] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][105379.294616] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][105379.310018] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][105379.311347] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM[/COLOR]
    [COLOR=#18b218][105379.330009] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][105482.371821] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][105482.371844] [/COLOR][COLOR=#000000][B]No dialect specified on mount.
    
    Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][105482.387448] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][105482.387451] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][105482.387464] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][105482.388782] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][105482.388805] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][105482.400984] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][105482.400986] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][105482.400998] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][105482.402329] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM[/COLOR]
    [COLOR=#18b218][105482.402350] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). 
    
    T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][105482.430771] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][105482.430773] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][105482.430790] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][113916.742594] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][113916.788268] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][113916.789665] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][113916.817476] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][113916.818753] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM [/COLOR]
    [COLOR=#18b218][113916.833934] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -95[/COLOR]
    [COLOR=#18b218][114679.350967] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][114679.383084] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][114679.383086] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][114679.383099] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][114679.384434] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][114679.400053] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][114679.400055] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][114679.400066] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][114679.401330] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM [/COLOR]
    [COLOR=#18b218][114679.417598] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][114679.417599] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][114679.417610] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][114878.454807] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/MEDIA [/COLOR]
    [COLOR=#18b218][114878.454830] [/COLOR][COLOR=#000000][B]No dialect specified on mount.
    
    Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][114878.486841] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][114878.486843] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][114878.486856] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][114878.488109] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/SAM [/COLOR]
    [COLOR=#18b218][114878.488128] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][114878.517382] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][114878.517383] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][114878.517399] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [COLOR=#18b218][114878.518746] [/COLOR][COLOR=#b26818]CIFS[/COLOR][COLOR=#000000]: Attempting to mount //192.168.1.68/FAM [/COLOR]
    [COLOR=#18b218][114878.518768] [/COLOR][COLOR=#000000][B]No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). T[/B][/COLOR]
    o use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
    [COLOR=#18b218][114878.534346] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: Unable to select appropriate authentication method![/COLOR]
    [COLOR=#18b218][114878.534348] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: \\192.168.1.68 Send error in SessSetup = -22[/COLOR]
    [COLOR=#18b218][114878.534359] [/COLOR][COLOR=#b26818]CIFS VFS[/COLOR][COLOR=#b21818]: cifs_mount failed w/return code = -2[/COLOR]
    [/FONT][/COLOR][/FONT]
    Any help is appreciated.

    #2
    Seems like the error is giving you the answer. Did you try mounting using the vers=1.0 option? Or alternately try sec=ntlmssp instead of sec=ntlm.

    The typical way to suss this out is to mount from the command line until you find the right combo, then duplicate that on fstab.

    Also, I guessing from your description you actually mean you are trying to permanently mount these shares at boot, which really has nothing to do with Dolphin. Dolphin supports samba shares directly without them being in fstab and should remember your credentials if you log into the share from Dolphin. Although, this doesn't give you as much control over mounting options. One potential problem with mounting network shares is fstab is that if the share is unavailable at boot it can really delay your boot time. If this becomes an issue, you might consider mounting a different way, like with a script after booting or a systemd unit.

    Please Read Me

    Comment


      #3
      You probably can just delete the sec option and it will use the default. Also, I believe truenas supports NFS shares - always a better option if you're mounting linux-to-linux IMO.

      Please Read Me

      Comment


        #4
        So I went with NFS shares instead of samba.

        I can mount my 3 shares individually, but they wont mount using sudo mount -a and I'm not receiving any error messages.

        my fstab looks like this
        Code:
        #NFS SHARES
        192.168.1.68/mnt/share/media /mnt/media nfs noauto,defaults 0 0
        192.168.1.68/mnt/share/ricefield /mnt/ricefield nfs noauto,defaults 0 0
        192.168.1.68/mnt/share/family /mnt/family nfs noauto,defaults 0 0

        Comment


          #5
          Originally posted by Ricefield View Post
          I can mount my 3 shares individually, but they wont mount using sudo mount -a and I'm not receiving any error messages.
          This is because you're using the "noauto" mount option.

          From 'man mount':
          noauto Can only be mounted explicitly (i.e., the -a option will not cause the filesystem to be mounted).

          Comment


            #6
            Originally posted by kubicle View Post
            This is because you're using the "noauto" mount option.

            From 'man mount':
            noauto Can only be mounted explicitly (i.e., the -a option will not cause the filesystem to be mounted).
            I see. I looked through "man mount" but it's a bit overwhelming as a end user.

            I'm on a laptop and the shares will not always be available. From what I understood talking with others I would get errors during boot when I'm out and about, that's why the noauto option.

            Would replacing noauto with nobootwait be the best option in my case?

            Comment

            Working...
            X