Data Domain: NFS mount: ls results in error: reading directory '.': Stale file handle total 0
Riepilogo: 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.
Questo articolo si applica a
Questo articolo non si applica a
Questo articolo non è legato a un prodotto specifico.
Non tutte le versioni del prodotto sono identificate in questo articolo.
Sintomi
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.
Causa
One potential cause for this behavior is a broken symbolic link.
Risoluzione
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.
Prodotti interessati
Data DomainProprietà dell'articolo
Numero articolo: 000214782
Tipo di articolo: Solution
Ultima modifica: 02 ott 2023
Versione: 3
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.