On the client server the NFS mount on /oracle/r12/inst/apps/database1
works as expected, but /oracle/r12/apps
does not. For example if I touch test
in /oracle/r12/inst/apps/database1
the file test
appears on both the client and the server, this is not the case with /oracle/r12/apps
.
NFS Server /etc/exports
[root@nfs-server apps]# cat /etc/exports
/oracle/ x.x.x.x(rw,fsid=0,sync,nohide,no_subtree_check,no_wdelay,no_root_squash)
/oracle/r12/ x.x.x.x(rw,sync,no_wdelay,nohide,no_subtree_check,no_root_squash)
/oracle/r12/apps/ x.x.x.x(rw,sync,no_wdelay,nohide,no_subtree_check,no_root_squash)
/oracle/r12/inst/apps/ x.x.x.x(rw,sync,no_wdelay,nohide,no_subtree_check,no_root_squash)
NFS Client /etc/fstab
[root@nfs-client ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
x.x.x.x:/oracle/r12/inst/apps/database1 /oracle/r12/inst/apps/database1 nfs defaults 1 2
x.x.x.x:/oracle/r12/apps /oracle/r12/apps nfs defaults 1 2
NFS Client output of df -h
[root@erl-ora-apps1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
274G 16G 244G 7% /
/dev/sda1 99M 61M 34M 65% /boot
tmpfs 7.9G 0 7.9G 0% /dev/shm
x.x.x.x:/oracle/r12/apps
3.1T 2.5T 441G 86% /oracle/r12/apps
x.x.x.x:/oracle/r12/inst/apps/database1
3.1T 2.5T 441G 86% /oracle/r12/inst/apps/database1
Thank you for all of the comments everyone.
Here is what I did to fix the issue.
Started ntp service on both servers and synchronized the time.
Changed
/etc/fstab
on the NFS client toChanged
/etc/exports
on NFS server toRan
exportfs -av
on NFS ServerManually unmounted drives on the NFS client and issued
mount -a
to re-read /etc/fstab and mount file systems.Now it's working properly.