1

I have a problem when executing "df -h" command it hungs, I know since there is a unreachable/not responding NFS path this is causing the hung. All my scripts dependent of df -h is also piling up because of this.

The only way is to manually lazy unmount (umount -l ) such automount filesystems.

But is there a way to define some options in autofs so that if there is a non-responding NFS path it should automatically unmount such directories in autofs?

Or

Any scripts to fix such issues?

1

1 Answer 1

0

If you have a NFS stale, try this: https://serverfault.com/questions/617610/stale-nfs-file-handle-after-reboot

There is a script in the post that you can use.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .