From owner-freebsd-stable@FreeBSD.ORG Tue Apr 19 20:12:46 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 724A916A51E; Tue, 19 Apr 2005 20:12:46 +0000 (GMT) Received: from mx.laposte.net (mx.laposte.net [81.255.54.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id B300443D2F; Tue, 19 Apr 2005 20:12:45 +0000 (GMT) (envelope-from emmanuel.chriqui@laposte.net) Received: from pcemmanuel (81.57.219.151) by mx.laposte.net (7.0.028) (authenticated as emmanuel.chriqui) id 425309D500804D3D; Tue, 19 Apr 2005 22:12:44 +0200 Message-ID: <425309D500804D3D@lpdnpm14.laposte.net> (added by postmaster@laposte.net) From: "Emmanuel Chriqui" To: =?iso-8859-1?B?J0v2dmVzZOFuIEfhYm9yJw==?= , "'Marc Olzheim'" Date: Tue, 19 Apr 2005 22:12:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <42655BE6.5020108@t-hosting.hu> Thread-Index: AcVFFmcGV01rvox5Sx+Ekp8iPIrRXAABEZLw cc: freebsd-hackers@freebsd.org cc: freebsd-stable@freebsd.org Subject: RE: PXEBOOT/TFTPBOOT + big MD_ROOT problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 19 Apr 2005 20:12:46 -0000 > Objet=A0: Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem >=20 > Marc Olzheim wrote: >=20 > >On Tue, Apr 19, 2005 at 09:52:07AM +0200, Emmanuel Chriqui wrote: > > > > > >>Hi, > >> > >>I'm trying to make very big MD_ROOT (300MB) sent using = PXEBOOT+TFTPBOOT. > No > >>NFS. > >> > >> > > > >Any reasons for not using NFS ? > > > > > > > >>I use i386/5.4RC2/TFTPD/PXEBOOT+TFTPBOOT . > >>(same pb with a 5.3). > >> > >>Am I missing something obvious? > >> > >> > > > >I'm not sure. tftp itself is able to handle 32MB+ files, but maybe = the > >loader isn't. > > > >A workaround, no using NFS, could be to tftp a second filesystem = image > >on boot and mount that from the root filesystem. > > > >Marc > > > > > I assume that the PXE clients are diskless clients. If so, do they = have > enough memory to handle this extremely large image? As for tfpt, it = uses YES, diskless. And enough memory. > UDP. UDP is usually used for transfer small datagrams, for instance = DNS > replies. It is also said to be an unreliable protocol. The client = should > repeat the request when no data receives. I doubt this solution is You're right. However, pros : over 2 years this solution has proven to = work *perfectly* for us, Reboots are rare and done using pools (~10 servers = each time), NFS was horrible to handle and we lost data everytime traffic was intense. Cons : this was over linux. I believe NFS over FreeBSD works = better (by I still have my linux servers... and they work great so..). > reliable and flexible enough. My idea for a workaround is creating a > ramdisk from a small boot image, and transfer the less necessary > userland binaries from the boot server to the ramdisk using normal ftp > connection. Yes. Thx. Emmanuel.