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>Search

Reminder

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

upgrade

Failed to Display Shared Files of OceanStor 9000 by Using Some Tools

Publication Date:  2019-04-10 Views:  34 Downloads:  0
Issue Description

1. After the user uses OceanStor 9000 to mount a partition (the osdata1 directory in the figure) to the Linux system through NFS, the user can use the ls command or file browsers provided by the Linux GUI to view folders and files in the directory.


2. However, when the user uses professional Java development software (for example, JRE) to view the mounted NFS directory, no information is displayed (as shown in the following figure). But when the user enters the absolute path of the NFS directory, the path can be accessed and opened (but cannot be displayed).

3. When the user uses the IBM storage to partition the space, mounts the partition to the same Linux system using the NFS, and then use the Java development software to open the directory, files in the directory can be viewed.

Handling Process

Linux natively supports 64-bit file identifiers (FIDs), so users can use the ls command to view the files and directories properly.

If the JRE version of application software is earlier than 1.42, the JRE cannot identify 64-bit FIDs. As a result, some files and directories cannot be displayed. This issue occurs only when the value of an FID is larger than the maximum value of a 32-bit FID (4294967295). In such cases, if the file quantity in a single file system on the IBM storage is small, values of the FIDs may be smaller than the maximum value.
However, OceanStor 9000 is distributed NAS storage. A cluster may contain over 1 billion files. An FID value has a comparatively high probability to be larger than the 32-bit maximum value, causing the FID to be unrecognizable for the JRE of an earlier version.

Root Cause

The JRE version on the application software is outdated (earlier than 1.42) and a higher version is required.

Solution
Install Java development software of a higher version.

END