I have an NFS server with folder permissions as follows. There are 50 clients who need to connect to this server on the same network. I would like to know which command to look for, which clients access this server from the server.
The NFS Server configuration file is as follows.
[root@server ~]
/home/guests *(rw,sync)
/india *(rw,sync)
Below is a list of shared folders
[root@server ~]
Export list for server.sanith.com:
/india *
/home/guests *
For testing purposes, I have now connected one client to the server. The output below is from the client2 machine.
[root@client2 ~]
Export list for 192.168.1.10:
/india *
/home/guests *
[root@client2 ~]
[root@client2 ~]
/dev/sda2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.10:/india on /test type nfs (rw,vers=4,addr=192.168.1.10,clientaddr=192.168.1.12)
I tried to use showmount -aand showmount -d, but I'm not sure what is missing to not list client computers.
[root@server ~]
All mount points on server.sanith.com:
[root@server ~]
[root@server ~]
Directories on server.sanith.com:
[root@server ~]
[root@server ~]
[root@server ~]
[root@server ~]
Note. The firewall is temporarily disabled on the server during this test. Please inform.