Mounting NAS
    • PDF

    Mounting NAS

    • PDF

    Article Summary

    Available in Classic

    You can add NAS, which is a large-volume storage, to a Cloud Hadoop cluster node.
    Please refer to NAS Guide for more information about NAS.

    To mount NAS on a cluster server, proceed with the following steps in order.

    1. Create NAS volume

    The following describes how to create a NAS volume.

    1. Please connect to the NAVER Cloud Platform console.
    2. Click Classic from the Platform menu to switch to the Classic environment.
    3. Click the Services > Storage > NAS > NAS Volume menus, in that order.
    4. Click the [Create NAS volume] button.
    5. Set the NAS volume creation information, and complete creating the NAS volume.
      • Please refer to Create NAS volume (Classic) for more information about creating a NAS volume.
      • When you create a NAS volume, you can set ACL (network access control list) in the NFS access control settings stage.
        /cloudhadoop-nas-mount1_en
    6. In the selection, move to the selectable item < > button. NAVER CLOUD PLATFORM Add to User Defined Server IP, Add Address Click the [Next] button.
      cloudhadoop-nas-mount2_C_en.png

    2. Add NAS volume to ACL

    Before mounting the NAS volume, you should add the ACL settings about the cluster first.
    ACL can be set when you create the NAS volume, or through the console's NFS access control menu after creating the NAS.

    • When creating a NAS volume
      Select a cluster server in the NFS access control settings stage and move with the < > buttons, or manually enter the private IP to complete the ACL (network access control list) settings. Please refer to 1. Create NAS volume above.

    Please refer to Create NAS volume (Classic)#NAS볼륨생성Classic) for more information about creating a NAS volume.

    • If you already have a NAS volume
      The following describes how to set ACL in the case a NAS volume has already been created.
    1. Please connect to the NAVER Cloud Platform console.
    2. Click Classic from the Platform menu to switch to the Classic environment.
    3. Click the Services > Storage > NAS > NAS Volume menus, in that order.
    4. Select the NAS volume to set ACL from the NAS volume list, and then click the [Set volume] button.
    5. Click NFS access control.
    6. In the setting pop-up window, select the cluster server, move it to the < > button, and click the [OK] button.
      • To add a server from another account within NAVER CLOUD PLATFORM to the NAS volume, enter the private IP in the Custom Server IP section at the bottom and click the [OK] button.
        cloudhadoop-nas-mount2-1_C_en

    3. Mount NAS

    A guide for the default environment of the Cloud Hadoop is provided. (CentOS 6.x or later)
    Please refer to NAS Guide for more information about NAS.

    1. Run PuTTY, and access the cluster server to mount the NAS through SSH. (Refer to Connecting to cluster nodes through SSH)

    2. Use the sudo su - command to switch to the root account.

      $ sudo su -
      
    3. Refer to the following example to install the NFS-related package, run the RPC daemon, and create a mount point.

      $ yum -y install nfs-utils
      $ systemctl start rpcbind.service
      $ mkdir /mnt/nfs_dir
      
      • yum -y install nfs-utils: Install NFS-related package (basic)
      • systemctl start rpcbind.service: Start the RPC daemon
      • mkdir /mnt/nfs_dir: Use the mkdir command to create a mount point (directory) called /mnt/nfs_dir
    4. Mount the NAS using the volume name received from the NAS console and the mount point you created.

      $ mount -t nfs {mount info} {mount point}
      $ mount -t nfs 10.250.53.85:/n2536315_test /mnt/nfs_dir
      
    5. Confirm that the NAS is mounted correctly by using the df command.

      $ df
      
    Note

    To mount the NAS automatically when the server boots up, add volume information to /etc/fstab.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.