No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

The N8300 was shared to the LINUX host via the NFS, then there appeared the garbled characters, how to settle it

Publication Date:  2012-11-05 Views:  49 Downloads:  0
Issue Description
At the site of an American client, the N8300 was shared to the LINUX operating system server via the NFS, then uploaded files to the N8300 storage through the FTP server, we found the files whose name were Chinese became the garbled characters.
Alarm Information
None
Handling Process
1. Confirm the file format which the customer usually uses, if it’s not the UTF-8 mode, check if it needs to modify the character code in the storage.
2. After the customer confirming to modify the character code, execute as the following steps (take the GBK mode as an example):
1). Login in the N8300 via the “support” account, the password is: “symantec”.
2). Open the “/opt/VRTSnasgw/conf/smbglobal.conf” file via the “vi” command, add the “unix charset = GBK” at the front of the “log level = 2 passdb:3 auth:3 winbind:3” line.
Execute the “:wq!” command to exit.
4). Execute the “” command, restart the “” service.
5). The above three steps need to executed at the entire nodes of the system, then take care the difference added into the file between the “smbglobal.conf” and the “smb.conf”.
Root Cause
The Operating System in the N8300 NAS head is the operating system of the Huawei’s own research and development, its built-in character code is UTF-8, the character code of the customer’s file is GBK mode, when these files transmitted to the N8300 storage, they are compelled to change as to the UTF-8 mode. Then the customer read the files again, the Chinese names are all garbled characters.
Suggestions
None

END