Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two servers:

Server A: NFS Server

Server B: It mounts a directory via NFS from Instance A

The problem is that Server A IP is configured in the Server B fstab to mount the directory while booting. When the Server A is stopped for some reason, its IP changes and the Server B gets blocked while booting. I can't access Server B to change the IP of Server A.

Any idea about how to solve it?

Thank you very much.

share|improve this question

2 Answers 2

Well, don't let server A change addresses then, use a static one.

share|improve this answer

Try changing the mount to a soft mount by using the soft option in /etc/fstab, or the mount command. Soft mounts, unlike the default, will timeout after a while. You can control the length of timeout with the timeo=X mount option, where X is measured in seconds.

share|improve this answer
    
Additionally, if it's possible, you can use autofs to mount the filesystem rather than hard-coding it into fstab. This way, the filesystem comes online when it's needed, not necessarily when the system is trying to boot. (And if it's not available right way, it'll come up when it is.) –  mattdm Nov 15 '10 at 19:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.