From owner-freebsd-questions Tue Mar 19 11:25:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA23732 for questions-outgoing; Tue, 19 Mar 1996 11:25:21 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA23727 for ; Tue, 19 Mar 1996 11:25:18 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA24438; Tue, 19 Mar 1996 12:16:40 -0700 From: Terry Lambert Message-Id: <199603191916.MAA24438@phaeton.artisoft.com> Subject: Re: Diskless FreeBSD To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Tue, 19 Mar 1996 12:16:39 -0700 (MST) Cc: amigus@cs.mun.ca, questions@freebsd.org In-Reply-To: <199603190627.QAA29799@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 19, 96 04:57:24 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Make sure you preallocate the swapfile. > > # dd if=/dev/zero of= bs=1048576 count=20 > > gets you a 20M swapfile. This should only be necessary for local swap to a file. Over the net, zero fill of empty pages for default page contents should be acceptable. Of course, if you don't preallocate, and it needs to allocate more disk blocks because of swap writes than are available, then you are screwed. You will need to have the swapfile there for each machine *and* allocated, as long as the machine is running. I haven't seen a bootp mod to allocate at boot time, but I suppose it is possible. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.