You are not logged in.
I have a NAS box that exports a smb share via samba 3.0.25
I mount the share with:
mount -t cifs -o user=my_user,password=my_pass,rw //nas_box/my_user /media/nas_box/my_user
Which seems to be ok, but copy operations stall at the 32kB mark.
----
dmesg | grep -i error
gives 'CIFS VFS: Send error in read = -512'
----
/proc/fs/cifs/DebugData contains
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.74
Features: dfs fscache posix spnego xattr acl
Active VFS Requests: 0
Servers:
1) Name: nas_box Domain: my_workgroup Uses: 1 OS: Unix
NOS: Samba 3.0.25a Capability: 0xf3fd
SMB session status: 1 TCP status: 4
Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
Shares:
1) \\nas_box\my_user Mounts: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b
PathComponentMax: 255 Status: 0x1 type: 0 DISCONNECTED
MIDs:
I'm running a 3.0.0 liquorix kernel, but the same error is reported for the stock AL kernel
----
Now here's the annoying bit.. When I mount the share -- using the same options -- under Ubuntu 11.04 I have no issues
I also have no problems under Windows (2000)
Also worth mentioning.. I have no issues accessing SMB shares exported from the Windows box.
Last edited by culyun (2011-11-08 10:47:25)
Offline
Ok, this is not a CIFS problem.
I tried both nfs and ftp with the nas box and experienced the same very slow throughput.
This made me suspicious...
For some reason the ethernet mtu had be set to 576 bytes. I had a dig around and found that
/etc/dhcpcd.conf
had a setting for disabling the hook scripts
I edited the nohook line to read
nohook lookup-hostname, mtu
This seems to have fixed the transfer rate
Offline