• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to add NFS Storage on Proxmox VE

{{postValue.id}}

To add NFS Storage on Proxmox VE

Proxmox VE allows you to configure Local Storage and also some of the Network Storages like NFS, ISCSI, GlusterFS and etc for storing guest virtual machines disk image, iso files, and templates etc. Here let’ s see how to set up an NFS Storage for Proxmox VE.

Additionally, we require an NFS Server for configuring NFS Storage. Login to your NFS server and follow the below steps to configure NFS


Adding NFS Storage

You need to install the packages for NFS service by making use of the following command.

[root@localhost ~]# yum install nfs* -y
Loaded plugins: fastestmirror, langpacks
base                                                                                                                                                               | 3.6 kB  00:00:00     
extras                                                                                                                                                             | 3.4 kB  00:00:00     
updates                                                                                                                                                            | 3.4 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                                                                                                                      | 156 kB  00:00:01     
(2/4): extras/7/x86_64/primary_db                                                                                                                                  | 145 kB  00:00:01     
(3/4): updates/7/x86_64/primary_db                                                                                                                                 | 5.2 MB  00:00:16     
(4/4): base/7/x86_64/primary_db                                                                                                                                    | 5.7 MB  00:00:16     
Determining fastest mirrors
 * base: mirror.xeonbd.com
 * extras: mirror.xeonbd.com
 * updates: mirror.xeonbd.com
Resolving Dependencies
-->  Running transaction check
--->  Package nfs-utils.x86_64 1:1.3.0-0.48.el7 will be updated
--->  Package nfs-utils.x86_64 1:1.3.0-0.48.el7_4 will be an update
--->  Package nfs4-acl-tools.x86_64 0:0.3.3-15.el7 will be installed
--->  Package nfsometer.noarch 0:1.7-1.el7 will be installed
-->  Processing Dependency: python-matplotlib for package: nfsometer-1.7-1.el7.noarch
-->  Processing Dependency: python-mako for package: nfsometer-1.7-1.el7.noarch
.
.
.
  python-paste.noarch 0:1.7.5.1-9.20111221hg1498.el7   python-tempita.noarch 0:0.5.1-6.el7                               t1lib.x86_64 0:5.1.2-14.el7                                    
  texlive-base.noarch 2:2012-38.20130427_r30134.el7    texlive-dvipng.noarch 2:svn26689.1.14-38.el7                      texlive-dvipng-bin.x86_64 2:svn26509.0-38.20130427_r30134.el7  
  texlive-kpathsea.noarch 2:svn28792.0-38.el7          texlive-kpathsea-bin.x86_64 2:svn27347.0-38.20130427_r30134.el7   texlive-kpathsea-lib.x86_64 2:2012-38.20130427_r30134.el7      
Updated:
  nfs-utils.x86_64 1:1.3.0-0.48.el7_4                                                                                                                                                     
Complete!

Once it is done, you need to create a storage directory by making use of the following command.

[root@localhost ~]# mkdir /pve 

After that, you need to configure your NFS share in exports file as follows.

[root@localhost ~]# vim /etc/exports
/pve        192.168.7.223{rw,sync}

Later, you need to update your NFS Configuration to Kernel.

[root@localhost ~]# exportfs -r
[root@localhost ~]# exportfs &ndash a


Start and enable NFS Service by making use of the following commands.

[root@localhost ~]# systemctl start nfs-server
[root@localhost ~]# systemctl enable nfs-serve


Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to /usr/lib/systemd/system/nfs-server.service.

After that, you need to configure your firewall to allow NFS service for all remote hosts.

[root@localhost ~]# firewall-cmd --permanent --add-service=nfs
success
[root@localhost ~]# firewall-cmd --reload
Success

Once NFS server is configured, you need to login to your Proxmox interface through browser, and then click Datacenter Storage NFS.

NFS

Once it is done, you need to fill the details of your NFS server like ID, Server IP, export path then click Add.

Server

Now, your NFS storage is added.
NFS storage

With this, the method to add NFS storage comes to an end.

Tags:
jayce
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to install Cinnamon desktop on Proxmox?

A

You can use the tasksel command to install a cinnamon desktop before that make sure you have installed tasksel on your system, then you can run the below command to install cinnamon desktop
# tasksel install cinnamon

Q

Can I run NFS across the TCP/IP Transport Protocol?

A

Client support for NFS over TCP is integrated into all 2.4 and later kernels.

Server support for TCP appears in 2.4.19 and later 2.4 kernels, and in 2.6 and later kernels. Not all 2.4-based

Q

What distribution is Proxmox VE based on?

A

Proxmox VE is based on Debian GNU/Linux.

Q

How to Adding NFS Datastore?

A

Use the following steps:
First, you need to log into vcenter Web client.
Next, you need to select vcenter inventory lists as follows.
After that, you need to select the hosts menu as follows.
Later, click on the datastore option and select related objects
And then click the datastore menu to create NFS datastore and follow the below steps to create NFS datastore.
You should select the type of datastore now.

Q

How to list exported NFS shares in proxmox?

A

You can get a list of exported NFS shares with:

# pvesm nfsscan

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.