I have a server with 8 network interfaces configured. From it, I share some directories and export nfs mounts to other servers. My question is how do I figure out which of the 8 interfaces is used by NFS? I want to disable one of them and I wouldn't want anything to happen to the mounts.I am using Solaris 10.
How to figure out which network interface is used by NFS on Solaris 10?
solaris;nfs;network interface
from NFS server, trynetstat -an | grep 2049you should see something like      *.2049               *.*                0      0 49152      0 LISTEN10.12.13.97.2049      10.12.13.90.914       49640      0 49640      0 ESTABLISHEDfirst line saysthat  nfsd (service number  2049) is listening on all interfaces  *.2049 LISTENnext line says there is a connection from distant host 10.12.13.90so connection goes on 10.12.13.X networkyou will connect with network using netstat -inName  Mtu  Net/Dest      Address        Ipkts  Ierrs Opkts  Oerrs Collis Queuelo0   8232 127.0.0.0     127.0.0.1      711988047 0     711988047 0     0      0aggr1 1500 10.12.13.0     10.12.13.97     102780417 0     171623103 0     0      0aggr2 1500 10.22.33.0     10.22.33.97     2944376600 0     2272441510 0     0      0hence nfs is using aggr1.