[linux-cifs-client] Re: Can't mount NAS device

Steve French (smfltc) smfltc at us.ibm.com
Thu Mar 29 19:42:25 GMT 2007


Could you do two (hopefully easy) debug steps:

1) strace -f mount -t cifs etc. (to see if I can catch the presumded bad 
return code coming back from fstat64() immediately after the call to the 
kernel's do_mount)
(remember to remove any important password from the trace before you 
send it)

2) get a wireshark (ethereal) trace of the failing mount.  Although it 
is possible to translate by hand the smb information dumped to the dmesg 
log,
it is very time consuming (compared with simply loading a network trace 
file to view in wireshark).  In particular I want to confirm whether your
Samba server version returned that the top of the mount was either a) 
not a directory (e.g. type=file) or b) not readable (e.g. mode=0222)


More information about the linux-cifs-client mailing list