跳转到主内容

Coming soon...New Support-Specific categorization of Knowledge Articles in the NetApp Knowledge Base site to improve navigation, searchability and your self-service journey.

"按需扫描无法设置文件的扫描状态"的含义是什么。原因:NFS文件句柄陈旧?

Views:
6
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

适用场景

ONTAP 9.x

问题解答

按需vscan后、扫描报告中会记录以下内部错误。

  • 但这是预期行为。
  • 如果在按需vscan后遇到相同的错误消息、 请忽略它。


Sample: avod_XXX.log
===============================================================================
Vserver : XXXXXX
Task Name: XXXX
===============================================================================

********************************************************
Traversing path: /vol/XXXXXXXXX
********************************************************

/vol/Test/Test99/virus_test.txt: File scanned successfully by Vscanner: "XXX", Scan result: "File is infected", Vendor: "trendmicro", Version: "15.19580", Serviced by node: "XXX", Scan duration in ms: "126", Extended-status: "222200002".
/vol/Test/Test99/virus_test.txt.txt: On-Demand scan failed to set the scan status for the file. Reason: Stale NFS file handle.

/vol/Test/Test99/virus_test.com: File scanned successfully by Vscanner: "XXX", Scan result: "File is infected", Vendor: "trendmicro", Version: "15.19580", Serviced by node: "XXX", Scan duration in ms: "138", Extended-status: "222200002".
/vol/Test/Test99/virus_test.txt.com: On-Demand scan failed to set the scan status for the file. Reason: Stale NFS file handle.

/vol/Test/Test99/virus_test.zip: File scanned successfully by Vscanner: "XXX", Scan result: "File is infected", Vendor: "trendmicro", Version: "15.19580", Serviced by node: "XXX", Scan duration in ms: "123", Extended-status: "222200002".
/vol/Test/Test99/virus_test.zip: On-Demand scan failed to set the scan status for the file. Reason: Stale NFS file handle.

===============================================================================
Summary:
Number of Attempted Scans: 7
Number of Files Skipped from Scanning: 0
Number of Already Scanned Files: 0
Number of Successful Scans: 7
Number of Failed Scans: 0
Number of Timeout Scans: 0
Number of Clean Files: 4
Number of Infected Files: 3
Number of Internal Error: 3
===============================================================================

在vscan过程中、如果vscan已签出文件已被感染、请执行以下步骤。

  1. 只扫描一次文件。
扫描程序报告文件已被感染、ONTAP 将记录扫描结果以报告如下内容:

/vol/Test/Test99/virus_test.txt: File scanned successfully by Vscanner: "XXX", Scan result: "File is infected", Vendor: "trendmicro", Version: "15.19580", Serviced by node: "XXX", Scan duration in ms: "126", Extended-status: "222200002".
  1. 下一步是尝试将scan-status设置为inode以隔离受感染文件。
由于此文件已被Vscan软件删除、因此ONTAP 无法将scan-status设置为该文件的索引节点、并在报告中记录以下错误。

/vol/Test/Test99/virus_test.zip: On-Demand scan failed to set the scan status for the file. Reason: Stale NFS file handle.

追加信息

 

 

Scan to view the article on your device