ghik/kubernetes-the-harder-way

NFS configuration needs to be corrected for [ Linux/AMD64 ] - Chapter 7

Closed this issue · 1 comments

On Ubuntu the NFS service is provided by nfs-kernel-server. To update the exports configuration the command should be exportfs -a , I believe.

The instructions seem correct only for MacOS.

Getting the below error when I run exportfs -a

# exportfs -a
exportfs: No options for /root/kubenet/nfs-pvs 192.168.1.0/255.255.255.0: suggest 192.168.1.0/255.255.255.0(sync) to avoid warning
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.1.0/255.255.255.0:/root/kubenet/nfs-pvs".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: /etc/exports:1: unknown keyword "maproot=root"
ghik commented

Thanks, fixed