What is the meaning of 'On-Demand scan failed to set the scan status for the file. Reason: Stale NFS file handle'?
Applies to
ONTAP 9.X
Answer
After On-Demand vscan, the following Internal Error is recorded on the scan report.
- But this is the expected behavior.
- If you encounter the same error messages after On-demand vscan, ignore it.
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
===============================================================================
In vscan process, these are the steps if vscan has checked out the file is infected.
- Scanning the file just once.
/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".
- Next step is trying to set the scan-status to inode for quarantine of infected file.
/vol/Test/Test99/virus_test.zip: On-Demand scan failed to set the scan status for the file. Reason: Stale NFS file handle.
Additional Information