Sunday, July 22, 2012

IP alias to solve hung NFS mount

Working on FreeNAS, Ive had to research a hung NFS mount everytime I reboot FreeNAS or something silly.

A trick to execute on the NFS client , is to add an alias to the interface with the IP of the NFS server.

In Linux the command for that is something roughly like: 
ifconfig eth0:fakenfs netmask
For FreeBSD: 
ifconfig em0 alias netmask
And then to remove it:
ifconfig em0 delete 



No comments:

Post a Comment