Re: "unlocking" stale nfs? adding -t to running nfsd?

From: Palle Girgensohn (girgen_at_pingpong.net)
Date: 06/13/04

  • Next message: Mike: "Re: ipfilter allowing samba"
    Date: Sun, 13 Jun 2004 22:11:37 +0200
    To: Dan Nelson <dnelson@allantgroup.com>
    
    

    Thanks for the reply!

    --On Sunday, June 13, 2004 15:00:47 -0500 Dan Nelson
    <dnelson@allantgroup.com> wrote:

    > In the last episode (Jun 13), Palle Girgensohn said:
    >> I have an nfs mount mounted without -i or -s (stoopid me!), just
    >> plain mount server:/fs /lfs. This was over a WAN connection, and of
    >> course the connection server<->client broke somehow, and now the
    >> mount is stale. This naturally means that I cannot do ls -l / , since
    >> it hangs forever. Now the question: is there any way to unstale this,
    >> so the machine can go back to normal again, without a reboot?
    >
    > umount -f /mountpoint, and remount it. The only thing I know of that
    > can cause an entire mountpoint to go stale is if the server gets
    > rebooted with a new kernel and it can't determine which filesystem an
    > incoming request is for. Connectivity issues shouldn't cause this.

    hmm nfs over WAN genererally sucks... I actually had to reboot the client.
    :(

    >> I should really do this mount with tcp, of course, but found no way
    >> to get a running nfsd to also start accepting tcp (nfsd runs with "-n
    >> 6 -u", no -t). Is there a way to tell a running nfsd to start
    >> accepting tcp connections?
    >
    > Just bounce nfsd after changing nfs_server_flags in rc.conf.

    bounce, you mean like kill -USR1 ? Surely, nfsd does not read rc.conf, so
    kill -USR1 #pid && nfsd -t ...? Is that safe when the server has active
    clients?

    /Palle

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Mike: "Re: ipfilter allowing samba"

    Relevant Pages

    • Re: WINS 4204 Every 40 Minutes
      ... If the issue still exists after the server ... > there is a Windows XP client connected to the network through VPN. ... the NetBIOS name can be resolved by sending NetBIOS broadcast. ... >>of weeks so if it needs to reboot, I'll have no updates until then. ...
      (microsoft.public.windows.server.sbs)
    • Re: Packages do not execute on client
      ... Tim sent me the logs. ... Around the time the program raised an unexpected reboot event, ... client and make sure that the program does not reboot the machine. ... > package, specifically the lastest patch for Outlook 2002, ...
      (microsoft.public.sms.swdist)
    • RE: Using SMS 2003 to fix svchost/WindowsUpdate issue
      ... you're gonna create two package programs then advertise one and the ... We found that, on some computers, we could NOT install the Client update, ... were enough machines with this problem, I just decided to disable and reboot. ... We didnt use disable Automatic Updates service, ...
      (microsoft.public.sms.swdist)
    • Re: Using SMS 2003 to fix svchost/WindowsUpdate issue
      ... you're gonna create two package programs then advertise one and the ... We found that, on some computers, we could NOT install the Client update, ... reboot, and the second one to install the two programs (triggered on the ... as far as i know WU Client 3.0 sets Automatic Updates service to ...
      (microsoft.public.sms.swdist)
    • Re: nfs tranfers hang in state getblck or nfsread
      ... > Reboot the client system, reboot, and remount ... > Thrash the file system a bit with large reads/writes, and it hangs ... As my server "never" shuts down and the 5-current client is switched off ... In my case there's no server reboot. ...
      (freebsd-current)