I'm now practicing some labs for RHCE exam, in the "NFS" section, I find something strange when check the exporting shares by "showmount -a". Here's the output:
(nfs server ip: 192.168.123.8)
[root@Test ~]# showmount -a
All mount points on Test:
As "man showmount" says, showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine. "-a or --all": List both the client hostname and mounted directory in host:dir format.
While 192.168.123.68 did not mount any share from 192.168.123.8, yet the entry "192.168.123.68:*" is still listed by "showmount -a". Hmmm, does nfs deamon need time to update for its database? I try to "showmount -a" in 10 minutes, the result is same as prior.
Then, I log in 192.168.123.68 and really mount 192.168.123.8:/build. go back to "192.168.123.8", and check "showmount -a", nothing changes.
How does showmount work in the background, which database it querys?
Thanks in advance.