Summary
This article discuss why network filesystems may be excluded from inventory on UNIX-like operating systems, and how can they be included.
Question
Why are network drives excluded from inventory even when I haven't set the ExcludeDirectory preference, for example as shown in the following sample logging:
File tracking looking for files in directories '/w001/nfs' ... File tracking of files on mount point '/w001/nfs/domains' of type 'nfs' will be excluded
I added an IncludeDirectory=/w001/nfs preference setting, and it includes and then excludes it, why is this?
Answer
The exclude comes from it being a network file system. The inventory gathering process will start its filesystem scan in the /w001/nfs directory, but it will not recurse into the sub-directory /w001/nfs/domains. This is because the default configuration is to not scan network-based filesystems.
This behavior is controlled using the following preferences:
IncludeNetworkDrives (default: false)
IncludeFileSystemType (default: "ufs,zfs,lofs")
ExcludeFileSystemType (default: "")
All of this is done to prevent the inventory gathering process from operating over a network connection. This behavior can be overridden by altering the above preferences. For example:
IncludeNetworkDrives=true
IncludeFileSystemType="nfs,ufs,zfs,lofs"
For example, edit /var/opt/managesoft/etc/config.ini file under the section
[ManageSoft\Tracker\CurrentVersion] IncludeNetworkDrives=true
This setting is affected by others like IncludeDirectory which can alter the directory to be scanned in conjunction with this setting. In order for a scan against a network drive to occur, IncludeNetworkDrives has to be set to true even if IncludeDirectory points to such a location.
For more on these preferences information, see the Preferences section in the Gathering FlexNet Inventory guide.
Related Articles
Calling stat() system function on network filesystems to gather space data during inventory gathering may hang 1Number of Views Directories which contain a network share mounted within them may be incorrectly excluded from scanning during inventory g… 1Number of Views C:\ProgramData\Microsoft\Windows\Containers directory should be excluded from inventory gathering by default by the FlexNe… 1Number of Views ndtrack/flxfsscan processes may consume a lot of CPU, memory and storage I/O resources, particularly when scanning large f… 1Number of Views Large number of automounted filesystems may get mounted when gathering inventory details about mvfs file systems that poin… 2Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago