Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I use RedHat 9 I have a machine 'A' which exports nfs to machine 'B' only. I have specified its ip in /etc/exports like this /home 192.168.0.1(rw,sync,no_root_squash) Also there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2004
    Location
    India
    Posts
    132

    NFS takes too long to start


    Hi,
    I use RedHat 9
    I have a machine 'A' which exports nfs to machine 'B' only.
    I have specified its ip in /etc/exports like this
    /home 192.168.0.1(rw,sync,no_root_squash)
    Also there is a machine 'C' which exports nfs to all the machines in the network.
    But the problem with these machines A & B is that they take a very large time to start up. They wait at the "Starting NFS services" for a very long time. Rest of the services start up pretty quickly.
    ______________________________________________
    One more thing to note is that:
    When the machine B is up the NFS services on A and C doesnt take time to start! I am puzzled about this.
    I need that B should start last (i.e. after A & C.)
    Because B mounts A's export and C is my LDAP server
    ______________________________________________
    Please help !

    Regards,
    Anand.
    You are the one Linux!

  2. #2
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    do you have this line in your /etc/hosts file:
    127.0.0.1 localhost localhost.localdomain
    if not then put it in, try restarting nfs and see if the problem persists.
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  3. #3
    Linux Newbie
    Join Date
    Feb 2004
    Location
    India
    Posts
    132
    do you have this line in your /etc/hosts file:
    127.0.0.1 localhost localhost.localdomain
    if not then put it in, try restarting nfs and see if the problem persists.
    Yes i have it.
    And i can't restart nfs(then) because the system is just booting up at that time.
    It is fine when i restart nfs after booting up because 192.168.0.1 is alive then.
    You are the one Linux!

  4. #4
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    ok..heres wat i did...i placed the same entry as yours in my nfs server with and without the "sync" in it...i observed that when i booted it up without the "sync" directive in the exports file it came up quickly than with it.
    hope this helps.
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  5. #5
    Linux Newbie
    Join Date
    Feb 2004
    Location
    India
    Posts
    132
    Thanks for the testing.
    I will check this out.
    You are the one Linux!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •