From owner-freebsd-questions Wed Jan 17 4:24:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from janpf.br.yahoo.com (janpf.br.yahoo.com [200.212.56.30]) by hub.freebsd.org (Postfix) with ESMTP id 23F4B37B402 for ; Wed, 17 Jan 2001 04:23:52 -0800 (PST) Received: from janpf.br.yahoo.com (localhost.br.yahoo.com [127.0.0.1]) by janpf.br.yahoo.com (8.11.1/8.11.1) with SMTP id f0HCR1G00307 for ; Wed, 17 Jan 2001 10:27:07 -0200 (BRST) (envelope-from janpf@yahoo-inc.com) Date: Wed, 17 Jan 2001 10:27:01 -0200 From: Jan Pfeifer To: freebsd-questions@FreeBSD.ORG Subject: can't mount NFS directories on boot Message-Id: <20010117102701.18e5244b.janpf@yahoo-inc.com> X-Mailer: Sylpheed version 0.4.4 (GTK+ 1.2.8; FreeBSD 4.2-RELEASE; i386) Organization: Yahoo! Brasil Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i'm having problems with a remote directory that must be mounted on boot time (it has configuration files for the ), does anybody knows what happens ? Thanks for any help :) - Message during boot (FreeBSD 4.2-release): ... Mounting NFS file system (after about 1 minute)systemsnfs: can't get net id for host ... the strange part is, when I do the mount after the boot, it works without any complains. So I tried to add the following lines to the /etc/rc file, just after the NFS mounting commands: echo -n "Mounting /usr/Local from server ..." mount /usr/Local echo Ok. and it worked. Why the "mount -a -t nfs" couldn't mount it ? Besides, because amd couldn't find the configuration files in the remote directory, sometimes the root directory becomes unavailable and I have to reboot the machine (!!!). I'm probably doing something very wrong here :) - My /etc/fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /usr ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,nosuid,noauto 0 0 proc /proc procfs rw 0 0 server.machine.org:/usr/local /usr/Local nfs rw 0 0 cheers, jan -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message