System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HP Unix 11iV3 (Using Swap LV as Dump Device)

 
Indrajit Bhagat
Regular Advisor

HP Unix 11iV3 (Using Swap LV as Dump Device)

root#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap2
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap3
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap4
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap5
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap6
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap7
dev 32768 0 32768 0% 0 - 1 /dev/vgswap/swap8
reserve - 107522 -107522
memory 186837 14544 172293 8%
total 420309 122066 298243 29% - 0 -

 

root#crashconf -v
Crash dump configuration has been changed since boot.

CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- -------------------------------------
UNUSED 23990520 no, by default unused pages
USERPG 20326707 no, by default user process pages
BCACHE 115193 no, by default buffer cache pages
KCODE 11640 no, by default kernel code pages
USTACK 76492 yes, by default user process stacks
FSDATA 38 yes, by default file system metadata
KDDATA 4964344 yes, by default kernel dynamic data
KSDATA 10267 yes, by default kernel static data
SUPERPG 791371 no, by default unused kernel super pages

Total pages on system: 50286572
Total pages included in dump: 5051141

Dump compressed: OFF

Dump Parallel: OFF

DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ------------ ------------ ------------ -------------------------
1:0x000005 2612064 4194304 64:0x000002 /dev/vg00/lvol2
------------
4194304
Dump device configuration mode is config_deprecated_mode.
Use crashconf -s option to change the mode.

 

 

Physical Memory :

 

Model: ia64 hp Integrity BL870c i2
Main Memory: 196431 MB
Processors: 16

 

 

Currently our dump device is less then, as per physical memory. Due to which, in event of server crash, crash dump is not having enough dump space to store the crash.

 

 

Mine question is , Is it possible to use existing swap device as dump device. If yes How?

OS is HP-Unix 11i v3, We had swapoff utility installed in case we need to disable swap.

1 REPLY
Dennis Handly
Acclaimed Contributor

Re: HP-UX 11.31 (Using Swap LV as Dump Device)

>Currently our dump device is less than physical memory.

 

You should turn on compression, that should help.

But with only 4 GB, not much.  :-(

 

You have way too much device swap.  If you have that much memory, you don't need swap.