![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Problem Resolution Sure Solution 1573589.1 : Sun Storage 7000 Unified Storage System: Filenames containing non-ASCII Characters are garbled or incorrect after NFS copy
In this Document
Created from <SR 3-7226609071> Applies to:Sun Storage 7410 Unified Storage System - Version All Versions to All Versions [Release All Releases]Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7120 - Version All Versions to All Versions [Release All Releases] Sun Storage 7210 Unified Storage System - Version All Versions to All Versions [Release All Releases] 7000 Appliance OS (Fishworks) SymptomsTo discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Disk Storage ZFS Storage Appliance Community
Files with non-ASCII characters in their filenames copied via NFS appear to have corrupt filenames. Example: [root@zfssa]# ls
:089RV00 Adobe Creative Suite 5.5 Design Premium :AKSS900 English Français :L79RV00 Nederlands Polski Svenska :TK0B800 :0L0B800 Adobe Creative Suite 5_5 Web Premium Deutsch Español Italiano Magyar :P79RV00 Português :T79RV00 Türkçe The non-ASCII characters are most commonly found in international names or certain punctuation. CauseThe ZFS Storage Appliance uses UTF-8 (8-bit Unicode Transformation Format) for directory and file name storage. By default, the ZFSSA assumes that all file name and directory name data received from NFS clients is already UTF-8 encoded, i.e. using a UTF-8 locale. In cases where the filenames are encoded with a different method, they will be unreadable in a similar way to the example above. Solution1) Use ls or a similar tool to ensure that the client used to copy the files can properly read the filenames. Of course, the client must be able to read the filenames to successfully write them. This step is absolutely critical and commonly missed. Be sure you are specifically checking the data with the extended characters. If the data is not readable, find a client that is using a different encoding method, or work directly from the source where possible. 2) Determine the locale of your client. On Solaris and Linux, use the "locale" command from the shell. If the locale is listed as "C", use ISO8859-1 for the following steps. Example: user@client$ locale
LANG="en_US.utf-8" LC_COLLATE="en_US.utf-8" LC_CTYPE="en_US.utf-8" LC_MESSAGES="en_US.utf-8" LC_MONETARY="en_US.utf-8" LC_NUMERIC="en_US.utf-8" LC_TIME="en_US.utf-8" LC_ALL= In this example, since the data is already written in a UTF-8 format, no further configuration or workaround is needed. Assuming this is not the case, proceed to step 3. For detailed instructions on defining NFS exceptions, see this section of the ZFSSA admin guide. Note: Do not attempt to change the locale setting on the client. This will not work, because the data has already been written using a particular encoding, and this could cause problems reading local data.
Attachments This solution has no attachment |
||||||||||||||||
|