Subscribe

CIFS: Mount share on SLES with SMB 2.x does not work

Hello,

we trying to mount a NetApp CIFS share on SLES 11 with SMB 2.1 as follows:

Mount -v -o auto, username = xxxxxx, password = xxxxxx, workgroup = XXXXXX, uid = hostftp, gid = users, vers = 2.1, noserverino // <server> / <shared name> / <local_folder> / <local_subserver>

Mount and access work, but the mount seems to be done with SMB 1 only:

CLUSTER ::> vserver cifs sessionshow -vserver SVM_XXXXXXX -fields shares, windows-user, idle-time, session-id, address, protocol-version, user-type, files
Node vserver session-id connection-id address windows-user shares files idle-time protocol-version user-type
-------- ------------ ------------------------------------------------ ------- --------------- ------ ----- --------- -------- -------- -----------
NodeXX SVM_XXXXXXX 1 932666088 NNN.18.121.131 DOMAIN \ hostftp 2 0 1m 29s SMB1 domain-user

:

NodeXX SVM_XXXXXXX 12261331460493166545 932952775 NNN.NN.1.187 DOMAIN \ VNNNN1 2 3 21m 47s SMB2_1 domain-user
NodeXX SVM_XXXXXXX 12261331460493203961 932990989 NNN.NN.187.108 DOMAIN \ VNNNN2 1 9 5s SMB2_1 domain-user
NodeXX SVM_XXXXXXX 12261331460493216289 933003440 NNN.NN.84.10 DOMAIN \ vNNNN3 1 9 1m 56s SMB2_1 domain-user
:

 

Mounting CIFS-shares using SMB 2.1  works well on Windows-Clients (see above - windows-user: DOMAIN \ VNNNNx )

(System FAS8040 running ONTAP 9.1P3)


Any idea?
Thanks and best regards

Michael

Re: CIFS: Mount share on SLES with SMB 2.x does not work

[ Edited ]

Hi Michael,

SLES11 does not support SMB2 because it's not supported in kernel 3.0.101.

You must use SLES12 in order to mount SMB2.1.

 

Here you can see current SLES linux kerner version:

https://www.novell.com/support/kb/doc.php?id=3594951

 

Here you can see CIFS support based on kernel version:

https://wiki.samba.org/index.php/LinuxCIFSKernel

 

Best regards