Data Domain: NFS mount: ls results in error: reading directory '.': Stale file handle total 0

Summary: Edit NFS mount: ls results in error: reading directory '.': Stale file handle total 0 One cause of this error is broken symbolic link with the directory.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Clients can successfully mount to NFS export (Example: /ddvar

Running the command: "ls" results in the message:
Stale file handle 

Clients can cd to directories under /ddvar/ like releases or log and then ls returns results. 
    "cd releases" or "cd log" then "ls" succeeds.

Cause

One potential cause for this behavior is a broken symbolic link.

Resolution

The steps below help you confirm if this behavior is due to a broken symbolic link within the NFS export (Example: /ddvar)

1) Enter SE mode and run ls to the export path. Example:
ddvar #se ls -al /ddr/var/

NOTE:  ddvar is a special path. /ddvar is internally translated to /ddr/var and must be used as /ddr/var when using internal commands.
2) Look for symbolic links:  (Example below, note the "l" on the left-most character and also the "->"   These indicate that you have a symbolic link.)
lrwxrwxrwx 1 root    root    36    Nov 27    2020    link_to_new_rpmfile.rpm -> /ddr/var/ext/link_to_new_rpmfile.rpm

3) If you find a suspect link, check that the original file exists.
#se ls -al /ddr/var/ext/link_to_new_rpmfile.rpm
ls: cannot access /ddr/var/ext/link_to_new_rpmfile.rpm

  4) If you get an error that the file does not exist, this confirms that you have a broken symbolic link. It must be corrected, or the link must be deleted.

5) To correct a broken link, open a case with Dell Support. Supply the evidence already collected and mention this KB article.

Affected Products

Data Domain
Article Properties
Article Number: 000214782
Article Type: Solution
Last Modified: 02 Oct 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.