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

I have quite an odd issue where my nested NFS mounts just disappear randomly from time to time.

The fstab entries look somewhat like this:

nfs:/home /home nfs rw,hard,intr,rsize=32768,noatime,nocto,proto=tcp 0 0
nfs:/bigdir /home/bigdir nfs rw,hard,intr,rsize=32768,noatime,nocto,proto=tcp,bg 0 0

The issue is that from time to time the "/home/bigdir" folder will be empty, even though mtab think that the share is still mounted. nfsstat et. al. do also think the share is still mounted.

Only thing that works is by unmounting, and then (re)mounting the bigdir share.

The server side is a NetApp. The client side is RHEL5.5, 2.6.18-194 kernel (Yes, I know 5.8 is out, but as far as I can see there are no erratas for this particular issue).

I can use various hacks like automount, or mounting it to another path and then using --mount bind, but I would like to fix the underlying issue.

share|improve this question

1 Answer 1

You mentioned trying automount. Did you take the /home/bigdir entry out of autofs? I'm wondering if you left it in there by accident and automount is timing it out. I'm not sure how an entry in both fstab and autofs would play out (though I'd guess fstab would win and it would be treated as a static mount).

Also, does df -h show /home/bigdir as mounted as well?

share|improve this answer
    
Hi, thank you for your answer. I havent tried using automount yet as we do not normally have any needs for it. It was mostly to get some automation for mounting/unmounting the share when not used, it might have helped circumvent the problem. df did indeed show /home/bigdir as well. –  espenfjo Jun 29 '12 at 21:50

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.