Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

smb mount failed with steamdeck

Featured Replies

Hi,

I did mount unraid samba server with steamdeck and worked good.

 

But after update, smb mount failed.

(I don't know when exactly occur, And loopbak mount in unraid works good. mac client works good.

Event works in steam deck dolphin smb connection....)

 

I can't search this message (STATUS_NO_USER_SESSION_KEY) from google.

 

What's the matter?

 

Please help me.

 

 

 

[Client - SteamDeck]

* Mount Command

# /usr/bin/mount -t cifs -o user=xx,pass=yy //192.168.1.21/disk1 /media/
smb

* Message

mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
* dmesg

[11월 25일 (토) 21:18:21] CIFS: Attempting to mount \\192.168.1.21\disk1
[11월 25일 (토) 21:18:21] CIFS: Status code returned 0xc0000202 STATUS_NO_USER_SESSION_KEY
[11월 25일 (토) 21:18:21] CIFS: VFS: \\192.168.1.21 Send error in SessSetup = -5
[11월 25일 (토) 21:18:21] CIFS: VFS: cifs_mount failed w/return code = -5

 

[Server - unraid]

* Message /var/log/samba/log.smbd
[2023/11/25 21:18:22.118550,  0] ../../libcli/smb/smb2_signing.c:222(smb2_signing_key_create)
 smb2_signing_key_create: cipher_algo_id[2] without key

[Configuration]

* Disk share - disk1

[disk1]
       path = /mnt/disk1
       comment =  
       browseable = yes
       writeable = no
       read list =  
       write list = forumi0721
       valid users = forumi0721
       case sensitive = auto
       preserve case = yes
       short preserve case = yes
       vfs objects = catia fruit streams_xattr extd_audit recycle
       fruit:encoding = native
       recycle:repository = .Recycle.Bin
       recycle:directory_mode = 0777
       recycle:keeptree = Yes
       recycle:touch = Yes
       recycle:touch_mtime = No
       recycle:minsize = 1
       recycle:versions = Yes
       recycle:exclude = *.tmp
       recycle:exclude_dir = .Recycle.Bin
       veto files =

 

* extra config - /boot/config/smb-extras.conf

[global]
       lanman auth = no
       ntlm auth = yes
       client lanman auth = no
       raw NTLMv2 auth = Yes
       veto files = /._*/.DS_Store/
       strict sync = no
       #protocol = smb2
       client signing = disabled
       server signing = disabled

 

23 minutes ago, forumi0721 said:

But after update, smb mount failed.

What did you update from? 

 

What did you update to?

 

From what I am seeing in the snapshot of your SMB settings, you are requiring a login from Share User---    forumi0721      ---to be able to access files on disk1.   Have you setup a login procedure to do this? 

 

Also attach your diagnostics file to  a new post in this thread.

  • Author

Thanks.

Update means SteamDeck OS update.

Unraid 6.12.4 used and worked good before steamdeck update.

 

My ID can login to unraid server.

And samba works macOS, Windows, loopback (127.0.0.1) mount in unraid, other linux vm...

Only steamdeck not working.

(SteamDeck OS is arch linux and arch linux/alpine linux vm can mount disk1)

 

I think error caused by client problem, but I cannot found any other reference of STATUS_NO_USER_SESSION_KEY.

 

I use cifs-utils and smbclient on SteamDeck (arch linux).

I tested disable client / server signing on unraid,

I tested change mount option like sec=ntlmv2, vers=1.0 ... 3.0 but cannot mount.

 

 

 

stonecoldsvr-diagnostics-20231126-0058.zip

Sorry, but I have no experience with Linux smb client setup. 

 

Let me ask if you have checked on a forum that supports Steamdeck?  I would think that if the Steamdeck update caused a problem that you would be the only person affected. 

 

I did notice that this line has # in front of it. 

4 hours ago, forumi0721 said:

* Mount Command

# /usr/bin/mount -t cifs -o user=xx,pass=yy //192.168.1.21/disk1 /media/

 

You do realize that this # turns that line into a 'Comment' or a line of text.  If it is to be a command that is to executed, you will have to remove that #  !

OK, I have had a bit of time to look at your diagnostics file from your server and found this for the share (M...a)  that you are (apparently) using SMB to connect to:

image.png.48e32969461b0b31b73e47e72adb0015.png

 

The bracket port are the basic SMB settings.  You are exporting this share but it is 'Private' and you have not assigned any user to be able to 'read' from these shares.  

 

From the Info that you posted up, it appears that you are attempting to use a disk mount of disk1 on your Steamdeck rather than a User Share.  There is a similiar setup table for Disk Shares as there is for User Shares but those Disk Share settings are not reported in diagnostics file. If you using mounting disk1 on your streamdeck, you will have to go via Unraid GUI to       Shares    >>>   Disk Shares    >>>  disk1   and setup the SMB section to export that disk and setup the permissions for various users as required.  (Setting up a User Share for access will not allow access to that share on a specific disk via disk share!) 

 

This mount command that is commented out:

/usr/bin/mount -t cifs -o user=xx,pass=yy //192.168.1.21/disk1 /media/

 

It appears to be a model command line for what your mount line should look like.  It appears that the path to the Unraid share is correct--- (Since your server  has an IP address of 192.168.1.21).   However, you still need to add the Unraid server's User_Name and User_Password instead of the xx and yy placeholders.

 

EDIT:  One more thing, Realize that with Linux you have to do much of the low level setup that OS like Windows and Apple handle in the background for their users.   Steamdeck should have some documentation somewhere on their Website to give you some direction in setting things up. 

Edited by Frank1940

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.