Ownership Reports Display User as 'Unknown' for NFS Shares

Ownership Reports Display User as 'Unknown' for NFS Shares

Article: 100048129
Last Published: 2020-07-31
Ratings: 1 0
Product(s): Data Insight

Problem

The included ownership reports display the user as 'Unknown' for NFS shares with no centralized user management (LDAP, NIS, etc.)

Error Message

N/A

Cause

Data Insight does not capture user information from clients that connect to NFS shares, only the UID from the file metadata on the filer

Solution

Data Insight provides a framework to ingest user generated files to define the client users and groups that can be linked with the UID's from the file metadata.

This functionality is included in HF1 for 6.1.5 and newer releases

1. Generate users.txt and groups.txt files from the client systems accessing the NFS shares on a filer

> cat /etc/passwd >> /tmp/users.txt

> cat /etc/group >> /tmp/groups.txt

2. Identify the device ID of the filer in Data Insight

In the UI - Settings -> Filers

Hover the mouse over the title bar of the list of filers and select the down arrow when it appears

Choose Columns and then select the box for ID

3, On the Collector node for the filer, create the following directory

<DATADIR>\DataInsight\data\GenericNFS_<FILER_ID>

For example:

E:\DataInsight\data\GenericNFS_3

4. Combine each of the users.txt files from the client systems into a single users.txt file

NOTE: Each line must be a unique UID, there can be no duplicate UID's in the consolidated file

Remove any comment lines from the file (lines that begin with #)

5. Combine each of the groups.txt from the client systems into a single groups.txt file

NOTE: Each line must be a unique GID, there can be no duplicate GID's in the consolidated file

Remove any comment lines from the file (lines that begin with #)

6. Copy the consolidated users.txt and groups.txt files to the GenericNFS_<FILER_ID> folder on the Collector created in step 3

7. Run the LocalUserScanJob on the Collector Node

In the UI, Settings - Data Insight Servers - <Collector> - Jobs

Locate the LocalUserScanJob and use the Select Action drop down to execute

8. Once the LocalUserScan completes on the Collector, run the ADScanJob on the Management Server

In the UI, Settings - Data Insight Servers - <MS> - Jobs

Locate the ADScanJob and use the Select Action drop down to execute

You should now see users instead of 'Unknown' in the reports and Workspace

Was this content helpful?