Ubuntu CIFS 客户端无法通过 DFS 命名空间访问 / 挂载 SMB 共享
适用场景
ONTAP 9
问题描述
Ubuntu 18.04 CIFS 客户端无法将 ONTAP 作为 DFS 目标查找或遍历子挂载
user@Ubuntu:~$ findmnt -t cifs TARGET SOURCE FSTYPE OPTIONS /smbfs/podsdata //podsdata/pods cifs ro,relatime,vers=3.0,cache=strict,username=user,domain=domain,uid=123456, forceuid,gid=123456,forcegid,addr=10.1.2.3,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304, wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1 user@Ubuntu:~$ ls -la /cifs/folder1/folder2/folder3 ls: cannot access '/cifs/folder1/folder2/folder3': No such file or directory dmesg: [Tue Jun 15 13:54:09 2021] CIFS: Attempting to mount //CIFS-SERVER/Share1 [Tue Jun 15 13:54:10 2021] FS-Cache: Duplicate cookie detected [Tue Jun 15 13:54:10 2021] FS-Cache: O-cookie c=00000000380786ab [p=00000000a88edd8c fl=222 nc=0 na=1] [Tue Jun 15 13:54:10 2021] FS-Cache: O-cookie d=00000000eb8258ce n=000000006e0f268a [Tue Jun 15 13:54:10 2021] FS-Cache: O-key=[4] '706f6473' [Tue Jun 15 13:54:10 2021] FS-Cache: N-cookie c=000000003d7326d7 [p=00000000a88edd8c fl=2 nc=0 na=1] [Tue Jun 15 13:54:10 2021] FS-Cache: N-cookie d=00000000eb8258ce n=00000000e0eef6bf [Tue Jun 15 13:54:10 2021] FS-Cache: N-key=[4] '706f6473' [Tue Jun 15 13:54:10 2021] FS-Cache: Duplicate cookie detected [Tue Jun 15 13:54:10 2021] FS-Cache: O-cookie c=00000000380786ab [p=00000000a88edd8c fl=222 nc=0 na=1] [Tue Jun 15 13:54:10 2021] FS-Cache: O-cookie d=00000000eb8258ce n=000000006e0f268a [Tue Jun 15 13:54:10 2021] FS-Cache: O-key=[4] '706f6473' [Tue Jun 15 13:54:10 2021] FS-Cache: N-cookie c=000000003d7326d7 [p=00000000a88edd8c fl=2 nc=0 na=1] [Tue Jun 15 13:54:10 2021] FS-Cache: N-cookie d=00000000eb8258ce n=00000000e0eef6bf [Tue Jun 15 13:54:10 2021] FS-Cache: N-key=[4] '706f6473' [Tue Jun 15 13:54:10 2021] CIFS VFS: Autodisabling the use of server inode numbers on new server. [Tue Jun 15 13:54:10 2021] CIFS VFS: The server doesn't seem to support them properly or the files might be on different servers (DFS). [Tue Jun 15 13:54:10 2021] CIFS VFS: Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message. [Tue Jun 15 13:54:10 2021] CIFS VFS: cifs_read_super: get root inode failed