You are not logged in.

#1 2015-06-15 11:48:23

davidsmit
Member
Registered: 2014-12-25
Posts: 11

cifs mount error(56): Invalid request code

I am trying to cifs mount my Arch server (called server) to an SMB disk on a router (experia). This keeps throwing me error messages. Invalid request code.

So I decided to test this on my Arch client (called kastje). Same issue:

[david@kastje ~]$ sudo mount -v -t cifs //experia/testshare /mnt/temp -o username=testuser,password=testpass
mount.cifs kernel mount options: ip=192.168.178.1,unc=\\experia\testshare,user=testuser,pass=********
mount error(56): Invalid request code
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

However, mounting through gvfs-smb (PCmanFM) works fine, so it seems that both my client and the router are configured correctly but I am failing at using mount.cifs. But I just cannot find out what. Searching for the mount error(56) turns up some result but none are really helpful, as they do not solve the issue tongue.

I hope someone can point me in the right direction.

Offline

#2 2015-06-16 12:00:45

davidsmit
Member
Registered: 2014-12-25
Posts: 11

Re: cifs mount error(56): Invalid request code

After many a headache gvfs-mount smb:// works from the command line. Not as robust as /etc/fstab but at least I can use the disk.
Remains a mystery why cifs mount would not work the same.

Offline

#3 2015-06-16 19:42:35

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: cifs mount error(56): Invalid request code

From my fstab:

//Server/Shares  /mnt/Shares       cifs  guest,uid=1000,x-systemd.automount,iocharset=utf8,file_mode=0777,dir_mode=0777      0  0
//Server/Homes   /home/pat/Server  cifs  credentials=/home/pat/.smbcredentials,x-systemd.automount,iocharset=utf8,sec=ntlm   0  0

Does your router have a smb.conf? Or, I should be asking, is a samba server running on your router? You may find that an NFS share might work better than samba, especially if you don't have a setup like mine.


An old man, trying to stay sane

Offline

Board footer

Powered by FluxBB