Cannot cd or ls to a NFS mounted directory with Norwegian characters.

Solution Verified - Updated -

Issue

  • Getting errors while trying to access nfs share:
# cd /project_be/RMS/roxar/henrik/Visund/pp03gg01gf01sf01.rms2010.1.3_part2/structuralmodels/horizonmodel/smfaultmodelcomp/n2n7ø
-bash: cd: /project_be/RMS/roxar/henrik/Visund/pp03gg01gf01sf01.rms2010.1.3_part2/structuralmodels/horizonmodel/smfaultmodelcomp/n2n7ø: Input/output error
# ls -l /project_be/RMS/roxar/henrik/Visund/pp03gg01gf01sf01.rms2010.1.3_part2/structuralmodels/horizonmodel/smfaultmodelcomp/n2n7ø
ls: cannot access /project_be/RMS/roxar/henrik/Visund/pp03gg01gf01sf01.rms2010.1.3_part2/structuralmodels/horizonmodel/smfaultmodelcomp/n2n7ø: Input/output error
  • Also cd to the directory with special character by going to sub directories manually one level up , it starts working :
# cd /project_be/RMS/roxar/henrik/Visund/pp03gg01gf01sf01.rms2010.1.3_part2/structuralmodels/horizonmodel/smfaultmodelcomp/
# ls -l | grep n2n7
drwxrwxrwx 2 21601 openworks   54 Sep  7  2011 n2n7ø
drwxrwxrwx 2 21601 openworks   54 Sep  7  2011 n2n7w
# cd n2n7ø
]# ls -l
total 98
-rwxrwxrwx 1 21601 openworks 25129 Sep  7  2011 realisation
  • Now it started working:
# cd /
[root@be-nfsbck01 /]# ls -l /project_be/RMS/roxar/henrik/Visund/pp03gg01gf01sf01.rms2010.1.3_part2/structuralmodels/horizonmodel/smfaultmodelcomp/n2n7ø
total 98
-rwxrwxrwx 1 21601 openworks 25129 Sep  7  2011 realisation

Environment

  • Red Hat Enterprise Linux 7.5
  • NFS
  • NAS Server
  • Special Characters

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In