From owner-freebsd-questions@FreeBSD.ORG Sun Dec 3 10:13:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 352AD16A407; Sun, 3 Dec 2006 10:13:35 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F10A43CA7; Sun, 3 Dec 2006 10:13:08 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 64B5446D65; Sun, 3 Dec 2006 05:13:34 -0500 (EST) Date: Sun, 3 Dec 2006 10:13:34 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Kevin Sanders In-Reply-To: <375baf50612022005i6b9a174w5d251e710d8cefc@mail.gmail.com> Message-ID: <20061203101026.E40536@fledge.watson.org> References: <20061202210741.02e0728a@kan.dnsalias.net> <375baf50612022005i6b9a174w5d251e710d8cefc@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Vishal Patil , Alexander Kabaev , freebsd-questions@freebsd.org Subject: Re: Tools for FreeBSD development X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 10:13:35 -0000 On Sat, 2 Dec 2006, Kevin Sanders wrote: > On 12/2/06, Alexander Kabaev wrote: >> I personally think that having a dedicated box in disk-less configuration >> is the best option out there. The ability to quickly go through series of >> hands/reboots without any associated fsck runs and without the risk of >> terminally damaging any local FS is priceless. If qemu can be tricked into >> disk-less booting, it should be just as good though. > > Alexander, when you say disk-less configuration, are you referring to > booting from a network image/server? That's an interesting idea. I'm > fairly new to FreeBSD development also, and prefer the speed of a dedicated > box, but recently suffered my first corrupted beyond repair system. This is exactly the setup I use also. Most typically, the setup involves a central development server running -STABLE, with a private network link to a series of crash boxes. The development server NFS exports a file system to use as an NFS root and for file sharing, as well as running tftp and dhcp servers. The test boxes use PXE to boot fom the central server. Each test system has its own exported root, so I can use individual loader.conf's to tell test systems to boot off NFS, boot off local disks, etc. I always load the kernel over NFS using pxeboot, regardless of whether I boot boxes with a local root. You get some very nice effects -- you can easily move boxes between FreeBSD versions by switching out root file system symlinks, you can be building the next kernel while the previous one dumps core, etc. Robert N M Watson Computer Laboratory University of Cambridge