Some countries, most notably China (GB-2312) and Japan (EUC and Shift JIS), adopted UTF-8 after other countries did. As a result, they still have a lot of unstructured data that use older character sets. InfiniBox 5.0 allows you to use data encoded in non-UTF-8 character sets.
It is strongly recommended not to mix character sets in a single filesystem. Each filesystem should have its own character encoding.
Preparing for data migration
Before the data migration begins, the administrator must take the character encoding into consideration before creating the filesystem and the NFS exports that will contain the data.
To prepare the data for migration:
- Assign the character set to the NFS exports before migrating the data to the new filesystems.
- Use the correct NFS export when migrating files based on the character set of the application that generated the data.
- If this is not done, then the imported file names might not be recognized.
To ensure that the data migration is managed in an optimal manner, the existing NAS filesystems must be mapped, and the character set of the files stored in each filesystem must be identified. This will allow the system to use the correct NFS client and exports during the migration process.
Related InfiniShell commands
For more information, refer to the InfiniShell Commands Reference, Chapter 6 - Filesystem Export commands.
These operations are not available in the GUI.
fs.export.create fs=fs1 export_path=/fs1 charset=CHARSET - create a new filesystem export
fs.export.modify fs=fs1 export_path=/fs1 - modify an existing filesystem export
fs.export.query fs=fs1 --columns=charset - list existing filesystem exports