2020-02-23 01:53:18

by L Walsh

[permalink] [raw]
Subject: Regression -- linux 5.5.3: can no longer mount with unix extentions using cifs 2.1 (Win10-only client additions)

hard links and serverino numbers, among other things used to work when
mounting a win7 client using a linux cifs client

I tried this today, and am getting:

[701913.978407] CIFS VFS: Autodisabling the use of server inode numbers
on \\Athenae\C.
[701913.986151] CIFS VFS: The server doesn't seem to support them
properly or the files might be on different servers (DFS).
[701913.997116] CIFS VFS: Hardlinks will not be recognized on this
mount. Consider mounting with the "noserverino" option to silence this
message.
[703793.287615] CIFS VFS: Server does not support mounting with posix
SMB3.11 extensions.
[703793.295810] CIFS VFS: cifs_mount failed w/return code = -95

The win7 workstation in question is running 1 hard disk, no DFS.

Unix extensions worked long before SMB3.x. It seems there is ongoing work
to disable SMB2.1 support and replace it with only latest SMB from MS
compatible with Win10.

If MS wants to backport SMB3.x to Win7, that would be fine, but I
doubt that is going to happen. NTL, if they keep breaking 2.1 compatibility
that would be one option.




2020-02-24 11:05:53

by Aurélien Aptel

[permalink] [raw]
Subject: Re: Regression -- linux 5.5.3: can no longer mount with unix extentions using cifs 2.1 (Win10-only client additions)

Hi,

L Walsh <[email protected]> writes:
> Unix extensions worked long before SMB3.x. It seems there is ongoing work
> to disable SMB2.1 support and replace it with only latest SMB from MS
> compatible with Win10.

* UNIX extension are smb1 only and are only implemented by the Samba
server (not windows).
* POSIX extensions are for smb2+ and are still experimental.

The fact that serverino gets disabled looks like a bug. As Steve said,
the problem seems to be related to ACL.

You should open a bug and provide dmesg and network capture as
documented here:

https://wiki.samba.org/index.php/Bug_Reporting#cifs.ko

Cheers,
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)