How to choose the size of swap?

Andriy Gapon avg at freebsd.org
Tue Dec 7 13:45:57 UTC 2010


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


More information about the freebsd-fs mailing list