From owner-freebsd-stable@FreeBSD.ORG Tue Apr 15 07:39:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20DED1065673 for ; Tue, 15 Apr 2008 07:39:30 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id CD2578FC12 for ; Tue, 15 Apr 2008 07:39:29 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so545197anc.13 for ; Tue, 15 Apr 2008 00:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/NrwqWaDiLvuoSY3C3qpJvbb8KMGH8Ig+V49HrRaKMk=; b=TGxdtKsd4JcZ/DGOBg3NMaQEJsYktN/NVLwb+bBQpCNB7sXc38epkMkayQ8W0cUkiEc77m9z7KNXwP7hUmq3ASCwQa6+mV1gm1olbS/1UPeU1C8NhG2BqR8ky/Iop6F1cH+8rQY5lf0PAgkdobjlTr/kWuPxFiwAqaJtycMwyaU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CxbPCUGwN2YIVKoVmZHYRiWdJR5QtcdIJ+ST682o21hPihxKwsjgzcQ/iWSeTvlHQbvoGb13QrO6CdTEJ+DDR5hMzZsYC0OWNnmPFXsfyLkKsWa5UXFb8BEgAEwFcRHTHDddFCg1zwKEH/d9yfTEJUqsQUPZ3mf9sxmt1f/DYx4= Received: by 10.100.229.12 with SMTP id b12mr14286695anh.57.1208245169074; Tue, 15 Apr 2008 00:39:29 -0700 (PDT) Received: by 10.100.228.15 with HTTP; Tue, 15 Apr 2008 00:39:28 -0700 (PDT) Message-ID: Date: Tue, 15 Apr 2008 09:39:28 +0200 From: "Claus Guttesen" To: nawfal@googlemail.com In-Reply-To: <1208219809.12349.30.camel@nawfal-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1208170926.12349.20.camel@nawfal-desktop> <1208219809.12349.30.camel@nawfal-desktop> Cc: freebsd-stable@freebsd.org Subject: Re: NFS and /etc/exports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 07:39:30 -0000 > > Do you have any errors when you reboot related to nfs? > > > > LOL! I forgot to check the console at boot. Been administering all the > machines remotely and you forget to do the most basic thing. *sigh* > > Anyways, yes there was an error when starting mountd. It takes a few > seconds to start but then it failed giving mount[618] error saying it > can't resolve the first host in /etc/exports file. > > I add the first host in /etc/hosts file and reboot but then mountd can't > resolve the second host in the list. So right now I use the machines IP > addresses in /etc/exports file and it works flawlessly. > > Perhaps I need to set mountd to start later in the boot process so that > it can resolve the hostnames in /etc/exports file? I had similar problems a while ago with nfs not mounting but that was related to the spanning-tree-algorithm on our switches which made the first nfs-mount incomplete. So I added this entry to root's crontab: @reboot /sbin/mount -a > Thanks though. Really appreciate your tip! :-) -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare