Any NFS gurus?
Author
Discussion

TheExcession

Original Poster:

11,669 posts

277 months

Friday 29th October 2004
quotequote all
I have two Linux boxes, each have two Ethernet Cards.
Box 1 connects to box 2 via two switches for redundancy.

Box 1 eth0 - Switch1 - Box2 eth0
Box 1 eth1 - Switch2 - Box2 eth1

Now if I export a share from Box 1 and mount it from Box 2 - I need to specify the IP Address of eth0 for the export & mount.

If Switch 1 goes down then the mounted share is lost as eth0 isn't there any more.

Is there a way to to get the mount to work across either interface?

Box 1 and Box 2 each have a virtual IP Address behind the eths and we use OSPF to control the routing - but NFS doesn't seem to work with Virtual IPs.

Anyone got any bright ideas?

cheers
Ex

Edited to say - we need rw access as well so I can't see using a replicated share working.



>>> Edited by TheExcession on Friday 29th October 13:25

zumbruk

7,848 posts

287 months

TheExcession

Original Poster:

11,669 posts

277 months

Friday 29th October 2004
quotequote all
zumbruk said:
This any use?;

http://oss.software.ibm.com/linux/news/?project_id=124

cheers!

TheExcession

Original Poster:

11,669 posts

277 months

Tuesday 2nd November 2004
quotequote all
TheExcession said:

zumbruk said:
This any use?;

<a href="http://oss.software.ibm.com/linux/news/?project_id=124">http://oss.software.ibm.com/linux/news/?project_id=124</a>


cheers!
Not really

I'm not allowed to patch our 'live' systems.

We are looking at SCP instead which hopefully will circumvent all this NFS nonsense...

best
Ex

icamm

2,153 posts

287 months

Tuesday 2nd November 2004
quotequote all
If you were using the automounter you could try specifying multiple servers and use the "soft" option (although I don't know if it would work). With fixed mounts I think you are stuffed.