I would like to enable SMB2 on a FAS 2050 running Data ONTAP 7.3.2 as by default it is disabled.

I have discovered that to enable SMB2 the following option must be set:

options cifs.smb2.enable on

Does this require a restart of cifs to take affect or just does it start working magically? Also will this change persist across a reboot?

Update: As per James post below the following setting allows the filer to use SMB2 when talking to other servers.

options cifs.smb2.client.enable on
link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

Check na_options.

http://filer/na_admin/man/man1/na_options.1.html

cifs.smb2.enable This option enables SMB 2.0 support on the Filer. When this option is enabled, the Filer uses SMB 2.0 with a Windows client, if the client supports SMB 2.0. When this option is disabled, the Filer will not accept any new SMB 2.0 sessions; existing sessions are not terminated.

Default: off

Effective: Immediately

Persistence: Remains in effect across system reboots

cifs.smb2.client.enable This option enables SMB 2.0 client capability on the Filer. When this option is enabled, Filer-initiated connections to Windows servers use the SMB 2.0 protocol. If the Windows server does not support the SMB 2.0 protocol, the Filer uses SMB 1.0. If a session was established over SMB 2.0 and then this option is disabled, existing sessions are not terminated. The Filer continues to use SMB 2.0 for the existing sessions; new sessions do not use SMB 2.0.

Default: off

Effective: Immediately

Persistence: Remains in effect across system reboots

link|improve this answer
feedback

We enabled SMB2 today, and 'CIFS stat' gives me some information. Is there an easy way to see which sessions that uses SMB2, or other ways to track this?

-PAE

link|improve this answer
Try the command "cifs sessions -p smb2" From backdrift.org/man/netapp/man1/na_cifs_sessions.1.html "The -p option filters sessions based on the version of the SMB protocol used. When the -p option is used with smb' as the argument, only SMB 1.0 sessions are displayed. When the -p option is used with smb2' as the argument, only SMB 2.0 sessions are displayed. When the -p option is not used, both SMB 1.0 and SMB 2.0 sessions are displayed. The -p option can be used along with -c and -s options." – Sim Jan 11 '11 at 21:20
You should really ask this as a question in its own right. – Sim Jan 11 '11 at 21:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.