When you create a cluster, specify the NAS mount point and remote directory.
Assume that the user configuration is as follows:
ClusterId=ehpc-mrZSoWfz8M # E-HPC cluster ID
VolumeMountpoint=045324a6dd-meb81.cn-hangzhou.nas.aliyuncs.com # NAS mount point
RemotePath=/pbs/home # Remote directory
On the nodes (such as computing nodes) of the newly created cluster, the mount logic is as follows:
Create level-2 and level-3 directories in the remote directory based on the cluster name.
The following mount operations are performed:
Mount /pbs/home to /ehpcdata
Mount /pbs/home/ehpc-mrZSoWfz8M/home to /home
Mount /pbs/home/ehpc-mrZSoWfz8M/opt to /opt
Note: Create the remote directory for NAS in advance, so it usually sets as the default root directory.
The preceding configuration using a non-root directory is only for reference.