Date: Tue, 7 Dec 2010 16:02:06 GMT From: Martin Simmons <martin@lispworks.com> To: freebsd-fs@freebsd.org Subject: Re: How to choose the size of swap? Message-ID: <201012071602.oB7G26xN008331@higson.cam.lispworks.com> In-Reply-To: <4CFE3A8F.9030102@freebsd.org> (message from Andriy Gapon on Tue, 07 Dec 2010 15:45:51 %2B0200) References: <4CFBD7F9.3000307@ukr.net> <op.vm872qsr8527sy@pinky> <20101206214223.GA6375@icarus.home.lan> <201012071209.oB7C9In9006642@higson.cam.lispworks.com> <4CFE3A8F.9030102@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012071602.oB7G26xN008331>