[linux-cifs-client] Re: Can't mount NAS device
Dominik Strasser
dominik at die-strassers.de
Mon Mar 26 19:24:03 GMT 2007
Steve French (smfltc) schrieb:
Hi Steve,
>> I've sent the message below some months ago, but haven't received any
>> answer. Was the question inappropriate ? Wrong list ? Can somebody
>> here on the list help me ?
>>
>> Thanks
>>
>> Can you help? I tried to do some experiments playing with the command
>> length which seems to be off, but apart from hangs I didn't produce
>> anything usable.
>>
>>
> I don't see the actual error in the log (my guess is that you turned
> /proc/fs/cifs/cifsFYI to 1 instead of 7 so
> we don't see some of the higher level errors). Looks like the server
> is an older version of Samba
> that supports the early CIFS Unix Extensions but does not support
> SetFSInfo (for
> negotiating unix capabilities). After the server fails the
> SetFSInfo I see a read_inode so it
> looks like this older cifs code, as with current cifs code, can handle
> the server returning an error on this.
> Basically it looks like mount succeeded if it made it this far.
>
> Perhaps the read_inode on the root directory of the mount succeeds but
> the server returned that it is not
> a directory?
>
> You can force a different path to this type of server by turning off
> the Unix/Linux extensions before mount:
>
> "echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled"
>
> that will force the Linux CIFS client to treat the server more like
> Windows (and try older levels
> of the same calls - but it will mean that you will not get the owner
> and mode
> information of the files from the server but will get default values
> for those)
Thank you very much, this one did the trick!
Do you want me to send more info, is there anything that you want to
track down ?
Regards
Dominik
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>
>
More information about the linux-cifs-client
mailing list