Al intentar acceder a un recurso cifs de NetApp desde un MS Windows 8 (o superior) nos podemos encontrar con el siguiente error:
Esto es producido porque Microsoft Windows 8 (y superiores) usan el protocolo SMB2 para compartir e intercambiar ficheros y por defecto NetApp lo tiene deshabilitado.
Comprobaremos el estado de smb2 en el sistema NetApp, para ello lanzamos el comando:
options cifs.smb2
Según la documentación de NetApp:
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
cifs.smb2.signing.required
This option decides whether the Filer forces the CIFS sessions over SMB 2.0 to be signed. Signing prevents the packets from being tampered with while being sent from the client to the server. When this option is off, either there is no signing, or the client can request for the session to be signed. If set to on, the session is signed.
Default: off
Effective: Immediately
Persistence: Remains in effect across system reboots
Para habilitar SMB2 ejecutaremos los siguientes comandos en NetApp:
options cifs.smb2.enable on
options cifs.smb2.signing.required on
options cifs.smb2.signing.required on
No es necesario reiniciar, además los efectos son efectivos inmediatamente. Si es necesario reiniciar cifs se puede realizar mediante los comandos:
cifs terminate
cifs restart
No hay comentarios:
Publicar un comentario