Available in VPC
You can add a large-scale NAS storage to Cloud Hadoop cluster nodes.
For more information about NAS, see the NAS user guide.
To mount NAS on the cluster server:
1. Create NAS volume
To create a NAS Volume:
- From the NAVER Cloud Platform console's VPC environment, navigate to
> Services > Storage > NAS > Volume. - Click the [Create NAS Volume].
- Set the NAS Volume creation information and complete NAS Volume creation.
- For more information on creating a NAS Volume, see Create NAS Volume.

- You can set ACL (Network Access Control) during the NFS access control configuration step when creating a NAS Volume.

- For more information on creating a NAS Volume, see Create NAS Volume.
2. Register NAS Volume ACL
Before mounting a NAS Volume, you must first add ACL settings for the relevant cluster.
ACL can be set when creating a NAS Volume or through the NFS access control menu in the console after creating the NAS.
-
When creating a NAS Volume
Select a cluster server during the NFS access control configuration step and move it with the < > buttons to complete ACL (Network Access Control) setup. See 1. Create NAS Volume. -
If you already have a NAS Volume
To set up ACL if the NAS Volume has already been created:
- From the NAVER Cloud Platform console's VPC environment, navigate to
> Services > Storage > NAS > Volume. - From the NAS Volume list, select the NAS Volume for which you want to set ACL, then click [Volume settings].
- Click NFS access control.
- In the settings popup, select the cluster server, move it with the < > buttons, and then click [OK].

3. Mount NAS
This guide applies to the basic environment of Cloud Hadoop. (CentOS 7.x or higher)
For more information about NAS, see the NAS user guide.
- After launching PuTTY, use SSH to access the cluster server where you want to mount the NAS. (See the Connect cluster nodes via SSH guide.)
- Enter the
sudo su -command to convert to the root account.
$ sudo su -
-
Refer to the following example to install NFS-related packages, run the RPC daemon, and create a mount point.
$ yum -y install nfs-utils $ systemctl start rpcbind.service $ mkdir /mnt/nfs_diryum -y install nfs-utils: Installs NFS-related packages (basic).systemctl start rpcbind.service: Runs the RPC daemon.mkdir /mnt/nfs_dir: Creates a mount point (directory) called/mnt/nfs_dirusing the mkdir command.
-
Mount using the volume name received from the NAS console and the mount point created.
$ mount -t nfs {Mount info} {Mount point} $ mount -t nfs 10.250.53.85:/n2536315_test /mnt/nfs_dir -
Use the
dfcommand to check that the NAS has been mounted correctly.$ df
To automatically mount the NAS when the server boots, add the volume information to /etc/fstab.