Sto cercando di configurare NFStra due nodi RHEL7:
primo nodo:
[root@ip-10-164-175-246 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@ip-10-164-175-246 ~]# rpm -q nfs-utils
nfs-utils-1.3.0-0.el7.x86_64
[root@ip-10-164-175-246 ~]# cat /etc/exports
/var/www/html/ ip-10-184-161-46.ec2.internal(rw)
[root@ip-10-164-175-246 ~]#
secondo nodo:
[root@ip-10-184-161-46 ~]# mount ip-10-164-175-246.ec2.internal:/var/www/html/ /mnt/
[root@ip-10-184-161-46 ~]# touch /mnt/$$
touch: cannot touch ‘/mnt/3326’: Permission denied
[root@ip-10-184-161-46 ~]#
Perché non riesco a scrivere nulla /mnt/su NFS?
(rw)in/etc/exportsa(rw,no_root_squash), facendo unexportfs -avsul server, quindi rimontare il filesystem sul client e riprovare.