All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@suse.de>
To: Steven Shiau <steven@nchc.org.tw>
Cc: nfs@lists.sourceforge.net
Subject: Re: NFS service takes very long time to start when internet disconnected..
Date: Sat, 24 Jul 2004 20:19:02 +0200	[thread overview]
Message-ID: <20040724181902.GB18548@suse.de> (raw)
In-Reply-To: <20040724063635.GA25341@lfod.nchc.org.tw>

On Sat, Jul 24, 2004 at 02:36:35PM +0800, Steven Shiau wrote:
> eth0 can NOT connect to Internet, either it's caused when I move the machine to
> different subnet while forgetting change the network setting,  or the network cable is disconnected, the Fedore Core 1 takes very long time to boot. It just stops in "Starting NFS service..." for more than 17 minutes...
> So usually I reboot the machine, and enter the interactive mode to disable the NFS service when it boot.
> My point is, is that possible I can make the NFS service startup very
> quickly as usual when the eth0 Internet connection is NOT available ?

Most liekly you're using host names in your /etc/exports file and
the resolver tries to map these to addresses. Maybe even wildcarded
names, I'm not sure if it would try to resolve those too.

In any case, you can either convert your exports file to use
IP addresses only, or add all host names to /etc/hosts and make
sure nsswitch.conf lists the files target before dns.

Olaf

-- 
Olaf Kirch     |  The Hardware Gods hate me.
okir@suse.de   |
---------------+ 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2004-07-24 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-24  6:36 NFS service takes very long time to start when internet disconnected Steven Shiau
2004-07-24 18:19 ` Olaf Kirch [this message]
2004-07-25  3:00   ` Steven Shiau
2004-07-25 12:23     ` Olaf Kirch
2004-07-26  6:40       ` Steven Shiau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040724181902.GB18548@suse.de \
    --to=okir@suse.de \
    --cc=nfs@lists.sourceforge.net \
    --cc=steven@nchc.org.tw \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.