ubuntu client crash after cifs error

adahsuzixin

Dabbler
Joined
Mar 7, 2023
Messages
14
I mount the truenas shared disk as a client on different servers. The operating system version of the client is Ubuntu 22.04.2 LTS. The client will crash because of cifs error. The error message before the crash is as follows

- client A
```
[4849.421700] CIFS: VFS: Autodisabling the use of server inode numbers on 1110.144.66.137\storage
[4849.421751] CIFS: VFS: The seryer doesn't seem to support them properly or the files might be on different seryers (DFS)
[4849.421808] CIFS: VFS: Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message.
[78222.528898] CIFS: VFS:\\10.144.66.137\storage Close unmatched open for MID:6902072
[78222.531452] CIFS: VFS:\\10.144.66.137\storage Close unmatched open for MID:6902074
[78222.606611] CIFS: VFS:\\10.144.66.137\storage Close unmatched open for MID:6902222
```

- client B
```
[970.366636] FS-Cache: Duplicate cookie detected
[970.366685] FS-Cache:O-cookie c=00000014 [p=00000013 f1=222 nc=0 na=1]
[970.366737] FS-Cache: O-cookie d=00000000cc55a7a9{CIFS.super} n=000000002e017b12
[970.366795] FS-Cache:0-key=[7]'73746f72616765'
[970.366840] FS-Cache:N-cookie c=00000016[p=00000013 f1=2 nc=o na=1]
[970 366891] FS-Cache:N-cookie d=00000000cc55a7a9{CIFS.super} n=000000006ba61748
[970.366944] FS-Cache:N-key=[7]'73746f72616765'
[970.426165] FS-Cache:Duplicate cookie detected
[970.426211] FS-Cache:O-cookie c=00000014 [p=00000013 f1=222 nc=0 na=1]
[970.426265] FS-Cache:O-cookie d=00000000cc55a7a9{CIFS.super} n=000000002e017b12
[970.426325] FS-Cache: 0-key=[7]73746+72616765
[970.426350] FS-Cache:N-cookie c=00000017[p=00000013 f1=2 nc=0 na=11
[970.426376] FS-Cache:N-cookie d=00000000cc55a7a9{CIFS.super} n=000000002e106250
[970.426405] FS-Cache:N-key=[7]73746+72616765
[970.551584] FS-Cache:Duplicate cookie detected
[970.551608] FS-Cache:O-cookie c=00000015[p=00000013 f1=222 nc=0 na=1]
[970.551632] FS-Cache:O-cookie d=00000000cc55a7a{CIFS.super} n=00000000873cd560
[970.551657] FS-Cache:0-key=[5]6361636865
[970 551676] FS-Cache:N-cookiec=00000018[p=00000013 f1=2 nc=o na=1]
[970.551696] FS-Cache:N-cookied=00000000cc55a7a9{CIFS.super} n=000000004a2917ba
[970.551723] FS-Cache:N-key=[5]6361636865
[970.578558] FS-Cache:Duplicatecookie detected
[970.578586] FS-Cache:O-cookiec=00000014[p=00000013 f1=222 nc=0 na=1]
[970.578615] FS-Cache:O-cookie d=00000000cc55a7a{CIFS.super} n=000000002e017b12
[970.578646] FS-Cache: 0-keye[773746+72616765
[970.578670] FS-Cache:N-cookiec=00000019[p=00000013 f1=2nc= na=1]
[970.578695] FS-Cache: N-cookie d=00000000cc55a7a9{CIFS.super} n=0000000093d56fdd
[970.578725] FS-Cache: N-key=[7]73746+72616765
[23510.013229] Out of memory: Killed process 339142 (python3.8) total-ym:518010228kB, anon-rss:478444848kB, file-rss:0kB, shmem-rss:2543924k8UID:0 pgtables:943184kB oom_score_adj:0
[23513.379652] CIfS:VFS: \\10.144.66.137\\storage Close unmatched open for MID:3051886
[23513.393468] CIFS:VFS: \\10.144.66 137\\storage Close unmatched open for MID:3051888
[88890.113315] CIFS:VFS: Autodisabling the use of server inode numbers on \\10.144.66.137\\storage
[88890.113370] CIFS:VFS: The server doesn't seem to support them properly or the files might be on different servers (DFS)[88890.113414] CIFS:VFS: Hardlinks will not be recognized on this mount. Consider mounting with the "noseryerino" option to silence this message.
[112768.528864] CIFS: VFS: Autodisabling the use of server inode numbers on \\10.144.66.137\\storage
[112768.528954] CIFS:VFS: The server doesn't seem to support them properly or the files might be on different servers (DFS)
[112768.529035] CIFS:VFS: Hardlinks will not be recognized on this mount. Consider mounting with the "noseryerino" option to silence this message.
[115284.548629] CIFS:VFS: \\10.144.66.137\storage Close unmatched open for MID:18536996
[115300.308629] ixgbe 0000:01:00.1 eno2: Reset adapter
```
 

mzieba

Cadet
Joined
Aug 27, 2019
Messages
6
We are running an older version of FreeNAS-11.3-U2.1 and the client is a Rocky Linux 9.1 running cifs-utils-6.14-1.el9.x86_64 and we see the client crash as well. Complete lockup of the client requires a hard reset. Similar error as above. Did not see this issue on centos 8.5.2011.
CIFS: VFS: \\share\folder Close unmatched open for MID:1894749 or CIFS: VFS: Send error in write = -512
 
Top