I know I am chiming in her rather late, but I have had problems in the past mounting my Buffalo NAS from Linux. This is what I have in my fstab -
//
192.168.25.3/USB_Storage /mnt/readyshare cifs rw,nounix,dom=PMI,user=xxxxxxx,password=xxxxxxxxx,uid=mark,gid=mark,file_mode=0644,dir_mode=0755 0 0
Check your syslog and/or dmesg when you mount. I had errors in the logs even though I could read and write the NAS drive. I found that I needed the nounix command to get rid of some of the errors.
This error:
[2480664.321842] CIFS VFS: Send error in SETFSUnixInfo = -5
[2480664.321870] CIFS VFS: Negotiating Unix capabilities with the server failed. Consider mounting with the Unix Extensions
[2480664.321873] disabled, if problems are found, by specifying the nounix mount option.
needed nounix to stop this error.
I still get lots of these after using nounix (note the time stamps)
[Fri Aug 23 08:42:20 2013] CIFS VFS: Received no data, expecting 4
[Fri Aug 23 08:44:20 2013] CIFS VFS: Received no data, expecting 4
[Fri Aug 23 08:46:20 2013] CIFS VFS: Received no data, expecting 4
From what I have read on Google searches for this error, I have to wait for Linux 3.2 to remove these errors. I am using Linux version 3.1.0-1-amd64 (Debian 3.1.8-2) (
) (gcc version 4.6.2 (Debian 4.6.2-11) on one machine and Linux version 2.6.32-5-686 (Debian 2.6.32-48squeeze3) (
) (gcc version 4.3.5 (Debian 4.3.5-4) ) on another machine and both exhibit this error. But transferring files works.