From owner-freebsd-fs@FreeBSD.ORG Tue Dec 7 13:45:57 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 D31A31065672 for ; Tue, 7 Dec 2010 13:45:56 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 255398FC15 for ; Tue, 7 Dec 2010 13:45:55 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA02366; Tue, 07 Dec 2010 15:45:51 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4CFE3A8F.9030102@freebsd.org> Date: Tue, 07 Dec 2010 15:45:51 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Martin Simmons References: <4CFBD7F9.3000307@ukr.net> <20101206214223.GA6375@icarus.home.lan> <201012071209.oB7C9In9006642@higson.cam.lispworks.com> In-Reply-To: <201012071209.oB7C9In9006642@higson.cam.lispworks.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-fs@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 13:45:57 -0000 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. -- Andriy Gapon