NFS troubleshooting

Restart not mandatory. Infact its not allowed. You will comeup with message

" the machine cannot be rebooted. you can finish the task once you are done with the steps"

Task succeeded with the below steps.

storage server @ root

systemctl enable nfs-server
systemctl enable rpcbind

chkconfig rpcbind on
chkconfig nfs-server on

systemctl start nfs-server
systemctl start rpcbind

vi /etc/exports

/webdata 172.16.238.10(rw,sync,no_root_squash)
/webdata 172.16.238.11(rw,sync,no_root_squash)
/webdata 172.16.238.12(rw,sync,no_root_squash)

exportfs -a

showmount -e ststor01

[it should reflect entries in /etc/exports]
[it may still show old entries, i ignored and proceed further]

on App servers @ root

systemctl enable nfs-server
systemctl enable rpcbind

chkconfig rpcbind on
chkconfig nfs-server on

systemctl start nfs-server
systemctl start rpcbind

mount -t nfs ststor01:/webdata /var/www/html

df -h

mount | grep nfs

2 Likes

Here is the solution: NFS Troubleshooting Kodekloud

1 Like

i am also facing the same issue