Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 2010 15:45:51 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Martin Simmons <martin@lispworks.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: How to choose the size of swap?
Message-ID:  <4CFE3A8F.9030102@freebsd.org>
In-Reply-To: <201012071209.oB7C9In9006642@higson.cam.lispworks.com>
References:  <4CFBD7F9.3000307@ukr.net>	<op.vm872qsr8527sy@pinky> <20101206214223.GA6375@icarus.home.lan> <201012071209.oB7C9In9006642@higson.cam.lispworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CFE3A8F.9030102>