Mounting CIFS share from NetApp fails when specific getinfo 'SMB2_FILE_ALL_INFO' call is made
Issue
When mounting a share from the NetApp filer using SMB version 2.0, 2.1 or 3.0 the mount fails attempt fails.
mount -t cifs //NetAPP_File_name/Share /mountpoint -o credentials=/file_containing _credentials -o vers=2.1
mount error(95): Operation not supported
messages logs can contain one or more of the following errors:
kernel: CIFS VFS: cifs_read_super: get root inode failed
kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE
kernel: CIFS VFS: Send error in SessSetup = -13
kernel: CIFS VFS: cifs_mount failed w/return code = -13
kernel: CIFS VFS: cifs_read_super: get root inode failed
kernel: CIFS VFS: Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
kernel: CIFS VFS: cifs_mount failed w/return code = -95
Trying to mount the same share by specifying vers=1.0
completes successfully.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- NetApp storage with DataONTAP 7-mode 8.x.x version (confirmed on 8.2.5)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.