Nfs mount task failed

Hello Team/ @Inderpreet ,

As mentioned in the question i made changes in the /etc/exports file started the nfs service on storage server and mounted the shared directory on all app server but still the task failed. Can you please check and let me know?

showmount -e 172.16.238.15

Export list for 172.16.238.15:
/webapp 172.16.238.10,172.16.238.12,172.16.238.11

On app01

thor@jump_host /$ ssh root@172.16.238.10
root@172.16.238.10’s password:
Last login: Thu Apr 9 02:18:35 2020
[root@stapp01 ~]# df -h -F nfs
Filesystem Size Used Avail Use% Mounted on
172.16.238.15:/webapp 45G 10G 32G 24% /mnt
[root@stapp01 ~]# exit
logout
Connection to 172.16.238.10 closed.

On app02
thor@jump_host /$ ssh root@172.16.238.11
root@172.16.238.11’s password:
Last login: Thu Apr 9 02:23:12 2020
[root@stapp02 ~]# df -h -F nfs
Filesystem Size Used Avail Use% Mounted on
172.16.238.15:/webapp 45G 10G 32G 24% /mnt
[root@stapp02 ~]# exit
logout
Connection to 172.16.238.11 closed.

On app03
thor@jump_host /$ ssh root@172.16.238.12
root@172.16.238.12’s password:
Last login: Thu Apr 9 02:24:18 2020 from jump_host.linuxnfstroubleshooting_app_net
[root@stapp03 ~]# df -h -F nfs
Filesystem Size Used Avail Use% Mounted on
172.16.238.15:/webapp 45G 10G 32G 24% /mnt

Thanks,
Mohamed

Hi @mohamedsheeraz1

On app servers the nfs share was supposed to be mounted at some directory inside /var/www rather than /mnt , that is the reason I think you task failed.

1 Like