--- title: "NFS volume mount (Linux)" slug: "nas-use-linux-classic" tags: ["nfs", "NAS", "Linux", "vpc"] updated: 2026-09-17T09:18:23Z published: 2026-09-17T09:18:23Z canonical: "guide.ncloud-docs.com/nas-use-linux-classic" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # NFS volume mount (Linux) Available in Classic. You can mount the NFS protocol-based NAS volume that was created in NAVER Cloud Platform on the Linux server and use it. The following describes the procedure of mounting the NAS volume on the Linux server. [1.Accessing the server](/docs/en/nas-use-linux-classic#1%EC%84%9C%EB%B2%84%EC%A0%91%EC%86%8D) [2.Installing the NFS-related package](/docs/en/nas-use-linux-classic#2NFS%EA%B4%80%EB%A0%A8%ED%8C%A8%ED%82%A4%EC%A7%80%EC%84%A4%EC%B9%98) [3.Start NFS-related daemon](/docs/en/nas-use-linux-classic#3NFS%EA%B4%80%EB%A0%A8%EB%8D%B0%EB%AA%AC%EA%B8%B0%EB%8F%99) [4.Execute mounting](/docs/en/nas-use-linux-classic#4%EB%A7%88%EC%9A%B4%ED%8A%B8%EC%8B%A4%ED%96%89) [5.Mount information retention settings (fstab settings)](/docs/en/nas-use-linux-classic#5%EB%A7%88%EC%9A%B4%ED%8A%B8%EC%A0%95%EB%B3%B4%EC%9C%A0%EC%A7%80%EC%84%A4%EC%A0%95fstab%EC%84%A4%EC%A0%95) ## 1. Access the server Before accessing the server, check server access preparations by referring to [Prepare for server access](/docs/en/nas-start-classic#%EC%84%9C%EB%B2%84%EC%A0%91%EC%86%8D%ED%99%98%EA%B2%BD%EC%84%A4%EC%A0%95). Once you complete the preparations for accessing the server, access the Linux server using the terminal program. Note - This guide explains how to access the server using PuTTY client software. - How to access the server may differ depending on the type and version of terminal connection software in use. For more information on the usage, refer to the guide provided with software. 1. Run the PuTTY. 2. Enter or select the following information and click the **[Open]** button. - **Host Name (or IP address)**: enter the public IP of the server or the fort forwarding IP for server connection (refer to the **public IP** and **port forwarding** information items in [Server details](/docs/en/compute-server-manage#%EC%84%9C%EB%B2%84%EC%83%81%EC%84%B8%EC%A0%95%EB%B3%B4%ED%99%95%EC%9D%B8)). - **Port**: SSH access port (default set value: 22) or the external port set for port forwarding(refer to [Set port forwarding](/docs/en/nas-start-classic#%ED%8F%AC%ED%8A%B8%ED%8F%AC%EC%9B%8C%EB%94%A9%EC%84%A4%EC%A0%95)). - **Connection type**: **SSH**, **Telnet** optional (default set value) 3. When the **PuTTY Security Alert** pop-up window appears, click the **[Accept]** button. 4. When the log-in screen is displayed, enter the account name (`root`) and password that were checked in the **Get Admin password** menu in the server (See [Get Admin password](/docs/en/nas-start-classic#%EA%B4%80%EB%A6%AC%EC%9E%90%EB%B9%84%EB%B0%80%EB%B2%88%ED%98%B8%ED%99%95%EC%9D%B8)). ## 2. Installing the NFS-related package The following describes how to install the NFS-related package. Note Use the commands suitable for the OS type and version of the server. The installation commands differ depending on the OS type and version. - CentOS 6.x and above: Download `nfs-utils` package ``` yum install nfs-utils ``` - Ubuntu server: Download `nfs-common` package ``` apt-get install nfs-common ``` ## 3. Start NFS-related daemon The following describes how to start the RPC daemon by entering the NFS start command. Note - Use the commands suitable for the OS type and version of the server. The start commands differ depending on the OS type and version. 1. Start the RPC daemon by entering the following command. - CentOS 6.x and above: Start `rpcbind` ``` /etc/rc.d/init.d/rpcbind start ``` - CentOS 7.x and above: Start `rpcbind` ``` service rpcbind start ``` or ``` systemctl start rpcbind.service ``` 2. Register the service so that `rpcbind` is automatically started when booting. - CentOS 6.x and above ``` chkconfig rpcbind on ``` - CentOS 7.x and above ``` systemctl enable rpcbind.service ``` ## 4. Mounting Take the following steps to mount the NFS volume after starting the NFS-related daemon. 1. Enter the following command to create a mounting point (`/mnt/nas`). ``` mkdir /mnt/nas ``` 2. Mount the volume on the mount point with NFS v3 (`/mnt/nas`) using the mount information( `10.00.00.00:/n0000000_volume1`) given at the time of volume creation (Refer to the **Mount information** item of the [Detailed NAS volume page](/docs/en/nas-use-nasvolume-classic#NAS%EB%B3%BC%EB%A5%A8%EB%AA%A9%EB%A1%9D%ED%99%95%EC%9D%B8)). ``` mount -t nfs -o vers=3 10.00.00.00:/n0000000_volume1 /mnt/nas ``` Note - When mounting NFS volume, you can do it by using NFS v3 by the below method as well. 1. In the Editor, open the `/etc/nfsmount.conf` file, and release the annotation and set the version value to be 3 for the volume mount version settings (Nfsvers) as below. ``` Nfsvers=3 ``` 1. Mount by using mount commands. ``` mount -t nfs 10.00.00.00:/n0000000_volume1 /mnt/nas ``` ## 5. Mount information retention settings (fstab settings) To make the Linux server maintain the mount information after rebooting the server, add the volume information to the `/etc/fstab` file. Note The `/etc/fstab` file stores the volume information to be mounted when the server boots up. When mounting NFS volume, you must set to NFS v3. When the mount information of the NFS NAS volume is `10.00.00.00:/n0000000_volume1` and the server mount point is `/mnt/nas`, take the following steps to add the mount information to the `/etc/fstab` file. 1. Open the `/etc/fstab` file in the editor. ``` vi /etc/fstab ``` 2. Press the **[a]** key in the editing page to enter `INSERT` mode and add the mount information of the volume. ``` 10.00.00.00:/n0000000_volume1 /mnt/nas nfs vers=3,defaults 0 0 ``` - Editing page example ``` # /etc/fstab # Created by anaconda on Mon Oct 12 19:30:22 2020 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=79ec23f4-ea9a-4f2c-a2da-xxxxxxxxxxx / xfs defaults 0 0 # Add volume mount information ---------------------------------------- 10.00.00.00:/n0000000_volume1 /mnt/nas nfs vers=3,defaults 0 0 # ------------------------------------------------------------- -- INSERT -- ``` 3. Press the **[Esc]** key to stop `INSERT` mode and enter `:wq` to save changes, and then close the editor. Note - You can set for mounting also by NFS v3 by the below method as well. 1. In the Editor, open the `/etc/nfsmount.conf` file, and release the annotation and set the version value to be 3 for the volume mount version settings (Nfsvers) as below. ``` Nfsvers=3 ``` 1. In the Editor, open the `/etc/fstab` file to add volume mount information. ``` 10.00.00.00:/n0000000_volume1 /mnt/nas nfs defaults 0 0 ``` Note The following section describes each setting value of the volume mount information in detail. ``` (1)10.00.00.00:/n0000000_volume1 (2)/mnt/nas (3)nfs (4)defaults (5)0 (6)0 ``` | Number | Settings | Description | | --- | --- | --- | | (1) | `10.00.00.00:/n0000000_volume1` | Volume mount information | | (2) | `/mnt/nas` | Server mount point | | (3) | `nfs` | File system type `ext4`: CentOS 6.x, Ubuntu Server `xfs`: CentOS 7.x | | (4) | `defaults` | Optional features `defaults`: Apply all 5 options below `auto`: Mount automatically when booting `rw`: Mount with read and write support `nouser`: Enable only the root account to mount `exec`: Allow file execution `suid`: Allow SetUID and SetGID | | (5) | `0` | Dump settings `0`: File system that does not support dumping `1`: File system that supports dumping | | (6) | `0` | `fsck` Settings `0`: when booting, `fsck` is not conducted. `1`: when booting, `root` file system is checked first `2`: when booting, file systems other than `root` are checked first | - Editing page example ``` # /etc/fstab # Created by anaconda on Mon Oct 12 19:30:22 2020 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=79ec23f4-ea9a-4f2c-a2da-xxxxxxxxxxx / xfs defaults 0 0 10.00.00.00:/n0000000_volume1 /mnt/nas nfs defaults 0 0 :wq ```