Code:
/my/filesystem host1(sync,ro,fsid=1) host2.domain.com(sync,ro,fsid=1) 127.0.0.10(sync,ro,fsid=1)
/other 192.168.1.1(sync,rw,fsid=2) host1(sync,rw,fsid=2) hosta(sync,rw,fsid=2)
/junk 192.168.1.2(sync,ro,fsid=3) hostc.domain.com(sync,rw,fsid=3)
I have a list containing hosts and IP's of servers that no longer ping, however, they still exist in the exports file. What I want is to remove hosts that no longer are running.
For example, if host2.domain.com and host1 no longer exist, then given the above:
Code:
/my/filesystem 127.0.0.10(sync,ro,fsid=1)
/other 192.168.1.1(sync,rw,fsid=2) hosta(sync,rw,fsid=2)
/junk 192.168.1.2(sync,ro,fsid=3) hostc.domain.com(sync,rw,fsid=3)