Compressed Dump

Compressed Dump White Paper, Version 1.3
page 2
Compressed Dump configured by using the dump configuration utility, crashconf. The new option, -c can
be used to turn compression ON or OFF as follows.
$ crashconf -c on
$ crashconf -v
CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- ---------------------------
UNUSED 362737 no, by default unused pages
USERPG 21306 no, by default user process pages
BCACHE 57265 no, by default buffer cache pages
KCODE 2912 no, by default kernel code pages
USTACK 603 yes, by default user process stacks
FSDATA 34 yes, by default file system metadata
KDDATA 36964 yes, by default kernel dynamic data
KSDATA 28073 yes, by default kernel static data
SUPERPG 14394 no, by default unused kernel super pages
Total pages on system: 524288
Total pages included in dump: 65674
Dump compressed: ON
DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ---------- ---------- ------------ ---------------
31:0x022000 310368 4194304 4:0x000001 /dev/vg00/lvol2
----------
4194304
Turning compression ON using crashconf, gives a hint to the system to use compression while dumping.
The system may choose to dump uncompressed based on the environment of the crash. To turn compres-
sion OFF,
$ crashconf -v -c off
CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- ---------------------------
UNUSED 362737 no, by default unused pages
USERPG 21306 no, by default user process pages
BCACHE 57265 no, by default buffer cache pages
KCODE 2912 no, by default kernel code pages
USTACK 603 yes, by default user process stacks
FSDATA 34 yes, by default file system metadata
KDDATA 36964 yes, by default kernel dynamic data
KSDATA 28073 yes, by default kernel static data
SUPERPG 14394 no, by default unused kernel super pages
Total pages on system: 524288
Total pages included in dump: 65674
Dump compressed: OFF
DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ---------- ---------- ------------ ---------------
31:0x022000 310368 4194304 4:0x000001 /dev/vg00/lvol2
----------
4194304