From owner-freebsd-fs@FreeBSD.ORG Tue Dec 7 16:02:10 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C70F106564A for ; Tue, 7 Dec 2010 16:02:10 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from lwfs1-cam.cam.lispworks.com (mail.lispworks.com [193.34.186.230]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0018FC0A for ; Tue, 7 Dec 2010 16:02:09 +0000 (UTC) Received: from higson.cam.lispworks.com (IDENT:U2FsdGVkX1+P6ZKq26XVKphh60cl3ZqwKF2rrruJ7g4@higson [192.168.1.7]) by lwfs1-cam.cam.lispworks.com (8.14.3/8.14.3) with ESMTP id oB7G26uK005552; Tue, 7 Dec 2010 16:02:06 GMT (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com by higson.cam.lispworks.com (8.13.1) id oB7G26pi008334; Tue, 7 Dec 2010 16:02:06 GMT Received: (from martin@localhost) by higson.cam.lispworks.com (8.13.1/8.13.1/Submit) id oB7G26xN008331; Tue, 7 Dec 2010 16:02:06 GMT Date: Tue, 7 Dec 2010 16:02:06 GMT Message-Id: <201012071602.oB7G26xN008331@higson.cam.lispworks.com> From: Martin Simmons To: freebsd-fs@freebsd.org In-reply-to: <4CFE3A8F.9030102@freebsd.org> (message from Andriy Gapon on Tue, 07 Dec 2010 15:45:51 +0200) References: <4CFBD7F9.3000307@ukr.net> <20101206214223.GA6375@icarus.home.lan> <201012071209.oB7C9In9006642@higson.cam.lispworks.com> <4CFE3A8F.9030102@freebsd.org> Subject: Re: How to choose the size of swap? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 16:02:10 -0000 >>>>> On Tue, 07 Dec 2010 15:45:51 +0200, Andriy Gapon said: > > on 07/12/2010 14:09 Martin Simmons said the following: > >>>>>> On Mon, 6 Dec 2010 13:42:23 -0800, Jeremy Chadwick said: > >> > >> And don't forget that (by default) you'll need a /var filesystem that > >> has enough physical room to hold the dump. You can change this using > >> the "dumpdir" option in rc.conf(5) if your existing /var isn't large > >> enough. Just make sure to copy /var/crash to /wherever, and make sure > >> the file/dir permissions are correct + minfree file exists. > > > > Is that working from swap-based dumps now? Last time I looked, the boot > > sequence enables swap before the dump is copied, so it is lost. > > The sequence is that, but the dump should not be destroyed unless the swap gets > actually used during that period. Cool, I'm glad it works sometimes! I had a problem with it in 7.2, but I can't repeat it now in an 8.0 VM. __Martin