[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

request: mount_nfs check if a nfs-server is sane before mounting.



Hi,

I have run into this quite often, blame me for  being  a  sloppy  admin,
forgot to change something in /etc/dhclient.conf.

Description:

  If you try to mount an nfs-share that  is  not  an  nfs-share  at  all
  mount_nfs keeps trying till infinity to mount that  share.  You  can't
  kill the process and even a decent reboot won't work anymore.

I am not a coder at all so my solution may seem  silly  and  any  better
solution is welcome.

Suggestion:

  To let mount_nfs do some  sanity  checks  on  the  mount-point  before
  actually mounting it, like pinging, and testing if the  port  is  open
  and responding.

Maybe this should be on gnats?



Cya, Han.



Visit your host, monkey.org