Data Domain: NFS mount: ls results in error: reading directory '.': Stale file handle total 0
摘要: 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.
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
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.
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.
原因
One potential cause for this behavior is a broken symbolic link.
解析度
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:
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.)
3) If you find a suspect link, check that the original file exists.
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.
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.
受影響的產品
Data Domain文章屬性
文章編號: 000214782
文章類型: Solution
上次修改時間: 02 10月 2023
版本: 3
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。