I'm trying to create an NFS share drive between two Ubuntu 20.04 VMs -- so far unsuccessful -- help will be highly appreciated
VM1 (Server)
Add NFS share drive to Proxmox in Datacenter, exports autofilled nfs-share so I assume VM1 share drive was setup successfully.
VM2 (Client)
when a running 'mount -a' I get: NFS mount.nfs: access denied by server while mounting.... am I missing some permissions settings anywhere or is it something else?
VM1 (Server)
- Install NFS srvr package: sudo apt-get install nfs-kernel-server
- Create share list
- add to /etc/exports:
- /mnt/nfs-share 192.168.1.0/24(rw,sync,root_squash,subtree_check)
- start NFS: sudo service nfs-kernel-server start
- Did not see Ubuntu complain thus far
Add NFS share drive to Proxmox in Datacenter, exports autofilled nfs-share so I assume VM1 share drive was setup successfully.
VM2 (Client)
- Install NFS client package: sudo apt-get install nfs-common
- Create share directory & and mount nfs drive
- sudo mkdir /mnt/nfs-share-mount
- edit /etc/fstab:
- 192.168.1.100:/mnt/nfs-share /mnt/nfs-share-mount nfs rw,soft,intr,noatime,timeo=100,rsize=32768,wsize=32768 0 2
when a running 'mount -a' I get: NFS mount.nfs: access denied by server while mounting.... am I missing some permissions settings anywhere or is it something else?
Last edited: