Operating System - HP-UX
1820645 Members
2048 Online
109626 Solutions
New Discussion юеВ

extending swap to accomodate for dump

 
Ferdinand_2
Advisor

extending swap to accomodate for dump

Hi there, I have the following problem with my HP-UX B.10.20 machine:

WARNING: Insufficient space on dump device to save full crashdump.
Only 268435456 of 268436480 bytes will be saved.

Can anyone tell me how to either extend my swap/ dump or how to make a secondary dump device.

THX!


Extra info:
HP-UX B.10.20 A 9000/811 2003768515 two-user license

# dmesg

Logical volume 64, 0x3 configured as ROOT
Logical volume 64, 0x2 configured as SWAP
Logical volume 64, 0x2 configured as DUMP
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x2; start = 0, size = 524288
WARNING: Insufficient space on dump device to save full crashdump.
Only 268435456 of 268436480 bytes will be saved.
Dump device table: (start & size given in 1-Kbyte blocks)
entry 0 - major is 31, minor is 0x5000; start = 52064, size = 262144
Starting the STREAMS daemons.
9245XB HP-UX (B.10.20) #1: Sun Jun 9 06:31:19 PDT 1996

Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 262144 Kbytes, lockable: 191508 Kbytes, available: 222560 Kbytes

# ioscan -Cdisk
H/W Path Class Description
=======================================
4.5.0 disk SEAGATE ST32171W
4.8.0 disk SEAGATE ST34573WC
4.9.0 disk SEAGATE ST34371W
16/5.2.0 disk TOSHIBA CD-ROM XM-5401TA


# swapinfo
Kb Kb Kb PCT START/ Kb# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (4.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 262144 3736 258408 1% 0 - 1 /dev/vg00/lvol2
dev 262144 3260 258884 1% 0 - 1 /dev/vg01/lvol1
reserve - 106340 -106340
memory 192836 140104 52732 73%


# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (4.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0



cd /pub more beer
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: extending swap to accomodate for dump

Ferdinand,

Frankly, I wouldn't worry about it - you're only 24 bytes short, which means you'll end up with 99.999% (or thereabouts) of your crash dump. Close enough!

Pete

Pete
Pete Randall
Outstanding Contributor

Re: extending swap to accomodate for dump

Sorry, I flunked math - make that 1024 bytes short. Still not enough to worry about in my opinion.

Pete

Pete
harry d brown jr
Honored Contributor

Re: extending swap to accomodate for dump

1024 bytes of a dump isn't going to break the bank, and I wouldn't worry about it. But if you must:

To increase dump space you will need to do a make_tape_recovery and recover your system interactively inwhich you will need to increase the size of swap/dump.

live free or die
harry
Live Free or Die
Leif Halvarsson_2
Honored Contributor

Re: extending swap to accomodate for dump

Hi
The swap and dump volume need not to be the same. If you have plenty of disk space you can create a separate dump volume (se man pages for lvlnboot). When this volume is configured you only need to reboot the system.
Bill Hassell
Honored Contributor

Re: extending swap to accomodate for dump

For most crash dumps at 10.20 to be useful, you need only about 200 megs or so. The vast majority of problems are discovered inside the kernel and table areas, so program space and buffer cache are seldom needed. I've analyzed crash dumps from 3Gb systems that saved only 150 megs and easily found the problem.

This changes at 11.0, especially for 64bit versions. Now the crash dump becomes much more significant (RAM might be 8Gb or even 32Gb) so the crashconf tool will create (by default) a 25% RAM-sized area for dumps. Even that may be too high but ant 11.xx, dumps are saved in compressed format too.


Bill Hassell, sysadmin