Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1920051.1
Update Date:2017-10-05
Keywords:

Solution Type  Problem Resolution Sure

Solution  1920051.1 :   Oracle ZFS Storage Appliance: Control Character in Name may Prevent Directory or File Access  


Related Items
  • Sun ZFS Storage 7420
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Sun Storage 7210 Unified Storage System
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun ZFS Storage 7320
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: 7xxx NAS
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-9511165675>

Applies to:

Sun Storage 7310 Unified Storage System - Version All Versions and later
Sun Storage 7210 Unified Storage System - Version All Versions and later
Sun ZFS Storage 7120 - Version All Versions and later
Sun Storage 7410 Unified Storage System - Version All Versions and later
Sun ZFS Storage 7320 - Version All Versions and later
7000 Appliance OS (Fishworks)

Symptoms

When attempting to change directory or open a file which is affected by this issue, the client system may indicate that the given directory or file does not exist.

But when listing using the "ls" command, we can clearly see that the directory/file exists and we have permission as well.

Adding to the confusion is the fact that two directories or files, with the same name, at the same place in the filesystem hierarchy,  may be displayed.

Cause

This issue is seen because the directory or file name contains a control character.

The control character is not visible by just listing using "ls" command.

To confirm if there is control character in the directory/file name customer can run the following commands :

# printf "[%s]\n" *
[data]
]data       >>>

# printf "%s\n" * | cat -vte
data$
data^M$     >>>>> Control Character ^M


# ls -lb
total 2339664
drwxr-xr-x 2 1000 1000 3879 Aug 22 10:03 data
drwxr-xr-x 2 1000 1000 826 Aug 22 08:37 data\015  >>>>

We can see in above output that two directories with the same name exists.

But one contains a control character - which could have been caused by a typing mistake while creating or renaming.

 

Solution

Rename the directory/file so that it does not contain control character.

 

Note: To type correct name with control character you may use "Ctrl + v" then "Ctrl + m" depending on the control character.
         To auto complete name you may use bash shell TAB key as well.

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback