Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 10:27:01 -0200
From:      Jan Pfeifer <janpf@yahoo-inc.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   can't mount NFS directories on boot
Message-ID:  <20010117102701.18e5244b.janpf@yahoo-inc.com>

next in thread | raw e-mail | index | archive | help
Hi, 

i'm having problems with a remote directory that must be mounted on boot time (it has configuration files for the <amd>), 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010117102701.18e5244b.janpf>