Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2004 00:10:34 +0200
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org
Cc:        Jean-Marc Zucconi <jmz@dalai-zebu.org>
Subject:   Re: Installworld with NFS mounts
Message-ID:  <200406030010.44248.4711@chello.at>
In-Reply-To: <200406021741.i52HfQ4k064742@freefall.freebsd.org>
References:  <200406021741.i52HfQ4k064742@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-02=_kBlvAMix21zrKKD
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 02 June 2004 19:41, Jean-Marc Zucconi wrote:
> Is it supposed to work? I have properly mounted all required disks on
> the target machine and it failed first with 'touch: not found'. OK I
> copied touch in /tmp/install.$$ and tried again. Then it failed
> because it could not find install, then rpcgen. I copied them again in
> the temp dir, but now it can't go beyond the following:
>
> =3D=3D=3D> lib/csu/i386-elf
> install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o /usr/lib
> install: crt1.o: No such file or directory
>
> Any ideas?
>
> Jean-Marc

It works fine for me. I use it for kernel, userland, ports and package=20
installation. Builds from nfs client side work fine, too. Some points you c=
an=20
check:   =20

1.
On your building machine: Does /usr/obj/usr/src/lib/csu/i386-elf/crt1.o exi=
st?=20
If not something went wrong with your "make buildworld".
On the target machine: Are kernel and the userland you try to install in sy=
nc?=20

2.=20
=46rom the FreeBSD Handbook: "All the machines in this build set need to=20
mount /usr/obj and /usr/src from the same machine, and at the same point."=
=20
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html

Are you sure both directory trees exported and mounted correctly?

ie. my /etc/exports line on the nfs server looks like this:
/usr/obj /usr/src /usr/ports -maproot=3D0:0 -network 192.168.123.0 -mask=20
255.255.255.0

My corresponding /etc/fstab lines on the target host:
192.168.123.10:/usr/ports	/usr/ports 	nfs 	rw,-i,-s,-r=3D8192,-w=3D8192 0 0
192.168.123.10:/usr/src 	/usr/src	nfs	rw,-i,-s,-r=3D8192,-w=3D8192 0 0
192.168.123.10:/usr/obj		/usr/obj 	nfs	rw,-i,-s,-r=3D8192,-w=3D8192 0 0

3.
Does nfs properly work? Some cheap low-end NICs possibly show a high packet=
=20
retransmission rate and packet loss. This also can happen, if your nfs serv=
er=20
is overloaded. You can check this with 'netstat -i -w 5', tcpdump or any=20
other network sniffer. In this case tuning of your nfs mounts could help a=
=20
little (man 8 mount_nfs). Try to play around with readsize and timeouts or=
=20
try to use tcp instead of udp.=20

Hth
ch =20

=2D-=20
Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x941B6B0B=20
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.eduroo

--Boundary-02=_kBlvAMix21zrKKD
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAvlBkcyi/EZQbawsRAr6tAKCNb+GOD5ki17rZNKPS9HU1ca5w0wCgmcK2
d9ihgKJOBNXkhBbSMbH8DHA=
=LxK0
-----END PGP SIGNATURE-----

--Boundary-02=_kBlvAMix21zrKKD--



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