nfs mount changes ports - Suse

This is a discussion on nfs mount changes ports - Suse ; I am attempting to use nfs drives served by my desktop running mandriva 2007 spring, and client is laptop running OpenSuse 10.0. When I issue the mount from the laptop, it hangs. By inspecting the firewall logs, I found that ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: nfs mount changes ports

  1. nfs mount changes ports

    I am attempting to use nfs drives served by my desktop running mandriva
    2007 spring, and client is laptop running OpenSuse 10.0.

    When I issue the mount from the laptop, it hangs. By inspecting the
    firewall logs, I found that the requests were being dropped. I thought
    it would have been the standard nfs port 2049, so I enabled that on both
    computers.

    However, yesterday, I noticed that the DPT in the firewall log showed
    627. When I enabled 627 on both machines, the mount worked correctly,
    and I was able to access the directory as expected.

    Today when I tried, it again blocked my requests (even though port 627
    was still enabled). Looking at the firewall logs, today I see it is
    trying on port 603. When I enabled port 603, my mount and subsequent
    work was successful.

    Why does the port number change for the same request? How can I make it
    constant so that I can set my firewall and forget it?

    Is this behavior caused by Suse (I suspect) or Mandriva?

    Thanks,
    Jim

  2. Re: nfs mount changes ports

    JimR wrote:
    > I am attempting to use nfs drives served by my desktop running mandriva
    > 2007 spring, and client is laptop running OpenSuse 10.0.


    In Mandriva look at /etc/sysconfig/nfs. You need uncomment the
    various "port" lines to force NFS and its associated daemons to use
    fixed ports. Then poke holes in your firewall to match.

    Regards,

    David Mathog

+ Reply to Thread