From owner-freebsd-current@FreeBSD.ORG Mon May 3 11:59:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8659816A4CE for ; Mon, 3 May 2004 11:59:23 -0700 (PDT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5364C43D2F for ; Mon, 3 May 2004 11:59:23 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 4747 invoked from network); 3 May 2004 18:59:21 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 3 May 2004 18:59:21 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i43IxIT7057272; Mon, 3 May 2004 14:59:18 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Mon, 3 May 2004 14:25:33 -0400 User-Agent: KMail/1.6 References: <200404301403.50634.past@noc.ntua.gr> <20040430211948.GC85783@dragon.nuxi.com> <16534.21617.310294.982202@grasshopper.cs.duke.edu> In-Reply-To: <16534.21617.310294.982202@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405031425.33399.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Andrew Gallatin Subject: Re: partial dumps (was Re: Change default dumpdir to /usr/crash?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 18:59:23 -0000 On Monday 03 May 2004 10:17 am, Andrew Gallatin wrote: > > On Fri, Apr 30, 2004 at 02:30:40PM +0200, Thomas Quinot wrote: > > > The proper fix would probably be to change the default partitioning > > > scheme, not to move the crash dumps. I think one property we try to > > > guarantee is that /usr be mountable read-only through NFS for a > > > cluster of workstations, whereas /var is always mounted read-write, > > > for its purpose is to contain files whose contents *vary* over time. > > Another good idea (perhaps in combination with a larger /var) is to > accept and port to -current the Duke "partial dump" patches. These > patches allow the user to optionally dump just the kernel virtual > address space. This results in dumps that are generally less than > 100MB, rather than multiple gigs. > > In nearly all cases, only the kernel address space is needed to > interpret a dump. From what I've seen, this is what Solaris, AIX, and > Tru64 do by default. > > Porting to -current will be non-trivial because of the dump changes > between 4.x and 5.x. If I was to do this, is there any chance that > it could get into the tree? This sounds like an excellent idea! -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org