![CIFS VFS:关闭未匹配的打开客户端:Ubuntu 20.04.1 LTS 服务器:TrueNAS-12.0-U1.1 挂载](https://linux22.com/image/933875/CIFS%20VFS%EF%BC%9A%E5%85%B3%E9%97%AD%E6%9C%AA%E5%8C%B9%E9%85%8D%E7%9A%84%E6%89%93%E5%BC%80%E5%AE%A2%E6%88%B7%E7%AB%AF%EF%BC%9AUbuntu%2020.04.1%20LTS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%9ATrueNAS-12.0-U1.1%20%E6%8C%82%E8%BD%BD.png)
运行 Ubuntu 20.04.1 LTS,其中 cifs 挂载指向 TrueNAS-12.0-U1.1 服务器,有时我会在 dmesg 中收到以下错误:CIFS VFS:关闭不匹配的打开这通常与应用程序错误日志中的中断系统调用有关
at System.IO.FileStatus.EnsureStatInitialized (System.ReadOnlySpan`1[T] path, System.Boolean continueOnError) [0x00039] in <d13c8b563008422a8c5aaec0a74089cc>:0
at System.IO.FileStatus.GetAttributes (System.ReadOnlySpan`1[T] path, System.ReadOnlySpan`1[T] fileName) [0x00000] in <d13c8b563008422a8c5aaec0a74089cc>:0
at System.IO.FileSystemInfo.get_Attributes () [0x0001c] in <d13c8b563008422a8c5aaec0a74089cc>:0
at System.IO.FileInfo.get_Length () [0x00000] in <d13c8b563008422a8c5aaec0a74089cc>:0
at (wrapper remoting-invoke-with-check) System.IO.FileInfo.get_Length()
at NzbDrone.Common.Disk.DiskProviderBase.GetFileSize (System.String path) [0x00077] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Disk\DiskProviderBase.cs:174
at NzbDrone.Core.MediaFiles.EpisodeImport.Aggregation.AggregationService.Augment (NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.Boolean otherFiles) [0x0004b] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeImport\Aggregation\AggregationService.cs:53
at NzbDrone.Core.MediaFiles.EpisodeImport.Manual.ManualImportService.Execute (NzbDrone.Core.MediaFiles.EpisodeImport.Manual.ManualImportCommand message) [0x0017a] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeImport\Manual\ManualImportService.cs:284
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand] (TCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x000f6] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:95
at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel)
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1, T2 arg2) [0x00035] in <c5bd4c865d5d48d3b3ebe4d522fd6bd7>:0
at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel)
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommands () [0x00027] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:41
当这种情况发生时,我没有在 Truenas 端看到任何错误,但不确定我应该处于什么调试级别。
Cifs 卷已安装
//10.0.103.4/media on /mnt/media type cifs (rw,relatime,vers=3.0,cache=strict,username=downloads,uid=1005,forceuid,gid=1005,forcegid,addr=10.0.103.4,file_mode=0775,dir_mode=0775,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
我也尝试过 vers=2.1,但结果相同。
对于可能造成这种情况的原因有什么建议吗?