Outils pour utilisateurs

Outils du site


Panneau latéral

Menu tree

welcome:proxmox:nfs_shares

Setup for NFS shares

Install packages for server

Install the required packages:

apt-get install nfs-kernel-server nfs-common portmap 

Create the folder to share

mkdir /home/nfs

No need to change the permissions

Config shares

nano /etc/exports
/home/nfs     192.168.20.160(rw,no_root_squash,sync,no_subtree_check)     # for a remote machine
/home/nfs     192.168.20.150(rw,no_root_squash,sync,no_subtree_check)     # for the localhost itself
/etc/init.d/nfs-kernel-server reload

and

 service nfs-kernel-server status / stop / start 

to control and check the server NFS.

be carefull about the IPS's when eth0 and vmbr0 are not properly reconfigured: for the remote hosts the IP of the vmbr0 is required, for the localhost the IP of eth0 is needed into /etc/exports!
“service nfs-kernel-server status” can show which machine is trying to connect.
No need to modify any parameters of the firewall!
welcome/proxmox/nfs_shares.txt · Dernière modification: 2017/12/28 17:22 (modification externe)

DokuWiki Appliance - Powered by TurnKey Linux