Jump to content

(6.11) mounting/accessing smb shares not possible


Recommended Posts

Hi,

while transferring my old diy NAS to unraid i do mount the smb-shares of the old server with unraid (smb-client) to access the data. 

With unraid 6.11 I cannot do this anymore. The smb-share is listed as 'mounted' (Main tab) but when trying to cd into this directory that isn't possible and the shown size of the smb-shares changes to '0'. 

The log is showing this error:

 

Oct  1 08:07:52 HalutNAS unassigned.devices: Mounting Remote Share '//10.246.37.221/Multimedia'...
Oct  1 08:07:52 HalutNAS unassigned.devices: Mount SMB share '//10.246.37.221/Multimedia' using SMB default protocol.
Oct  1 08:07:52 HalutNAS unassigned.devices: Mount SMB command: /sbin/mount -t 'cifs' -o rw,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,credentials='/tmp/unassigned.devices/credentials_Multimedia' '//10.246.37.221/Multimedia' '/mnt/remotes/10.246.37.221_Multimedia'
Oct  1 08:07:52 HalutNAS kernel: CIFS: Attempting to mount \\10.246.37.221\Multimedia
Oct  1 08:07:52 HalutNAS unassigned.devices: Successfully mounted '//10.246.37.221/Multimedia' on '/mnt/remotes/10.246.37.221_Multimedia'.
Oct  1 08:07:52 HalutNAS unassigned.devices: Adding SMB share '10.246.37.221_Multimedia'.
Oct  1 08:08:56 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!
Oct  1 08:08:56 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!
Oct  1 08:08:58 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!
Oct  1 08:10:34 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!
Oct  1 08:10:37 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!
Oct  1 08:11:04 HalutNAS kernel: CIFS: VFS: \\10.246.37.221 has not responded in 180 seconds. Reconnecting...
Oct  1 08:11:04 HalutNAS kernel: traps: lsof[6898] general protection fault ip:153d7d2674ee sp:1af0db41885cd5a7 error:0 in libc-2.36.so[153d7d24f000+16b000]
Oct  1 08:12:13 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!
Oct  1 08:12:16 HalutNAS unassigned.devices: Warning: shell_exec(/bin/df '/mnt/remotes/10.246.37.221_Multimedia' --output=size,used,avail | /bin/grep -v '1K-blocks' 2>/dev/null) took longer than 5s!

Oct  1 08:14:10 HalutNAS kernel: traps: lsof[21205] general protection fault ip:14d242edd4ee sp:df3ba12d92893e88 error:0 in libc-2.36.so[14d242ec5000+16b000]

 

Is there someone willling to let me know what is going wrong as I don't know what to do to get this fixed? 

Kind regards,

 

 

 

 

 

 

Link to comment
2 hours ago, dlandon said:

The log entries indicate your remote NAS is dropping off-line.

 

The funny thing is that this smb-shares can be accessed perfectly with another machine (Win11)!? 

 

 

6 hours ago, JorgeB said:

I recommend riposting the existing UD support thread:

 

 

 

 

The smb-share seems to be mounted just fine (vers=3.1.1):

//10.246.37.221/Multimedia on /mnt/remotes/10.246.37.221_Multimedia type cifs (rw,relatime,vers=3.1.1,cache=strict,username=XXX,uid=99,noforceuid,gid=100,noforcegid,addr=10.246.37.221,file_mode=0777,dir_mode=0777,iocharset=utf8,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)

 

I added this two lines to my smb.conf also, to make sure ntmlv2 is used:

 

ntlm auth = yes
client NTLMv2 auth = yes

 

What am I missing?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...