source
If the NFS server disappeared and you can't get it back online, one trick that I use is to add an alias to the interface with the IP of the NFS server (in this example, 192.0.2.55).
If the NFS server disappeared and you can't get it back online, one trick that I use is to add an alias to the interface with the IP of the NFS server (in this example, 192.0.2.55).
Linux
The command for that is something roughly like:ifconfig eth0:fakenfs 192.0.2.55 netmask 255.255.255.255
Where 192.0.2.55 is the IP of the NFS server that went away. You
should then be able to ping the address, and you should also be able to
unmount the filesystem (use unmount -f). You should then destroy the
aliased interface so you no longer route traffic to the old NFS server
to yourself with:ifconfig eth0:fakenfs down
umount -f -l /my/mount/dir
Комментариев нет:
Отправить комментарий
Примечание. Отправлять комментарии могут только участники этого блога.