Too little swap to dumpon

Kris Kennaway kris at obsecurity.org
Fri Oct 3 19:14:25 PDT 2003


On Sat, Oct 04, 2003 at 05:04:14AM +0400, Alex Povolotsky wrote:
> Hello!
> 
> I have on one of my boxes too little swap partition to dumpon on it. Actually, it is too little by several bytes
> 
>  # swapinfo 
> Device          1K-blocks     Used    Avail Capacity  Type
> /dev/da0s1b       1048448      100  1048348     0%    Interleaved
> /dev/da1s1b       1048448        0  1048448     0%    Interleaved
> Total             2096896      100  2096796     0%
> 
> 
> real memory  = 1073741824 (1048576K bytes)
> 
> but I still cannot dumpon.
> 
> Moreover, I don't need any dumping besides kernel memory.
> 
> Does there exist any solution to dump on two swap partition, or to dump only limited amount of memory, or to dump on both swap partitions? Or I have to repartition my disk?

Limit the amount of RAM used by FreeBSD by using the MAXMEM kernel
option or the corresponding loader tunable.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031003/9a98b90e/attachment.bin


More information about the freebsd-questions mailing list