cancel
Showing results for 
Search instead for 
Did you mean: 

crashconf config

silusan
Regular Advisor

crashconf config

Hi...need your help on this:

 

I want to know,
if I have enough space for a dump, when the system crashes.?
Is the crash dump enabled?

 


When I rebooted my hpux vm guest(vse OE, 11.31), I noticed this:

HP-UX Start-up in progress

 


     __________________________

     Configure system crash dumps ................................. OK
...

     Save system crash dump if needed ............................. N/A
...
     Recover editor crash files ................................... OK
...


vmguest:/ # bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    6455296  230728 6176048    4% /
/dev/vg00/lvol1    1572864  529272 1035488   34% /stand
/dev/vg00/lvol8    8388608 2116160 6223504   25% /var
/dev/vg00/lvol9    16777216   70376 15662798    0% /var/adm/crash
/dev/vg00/lvol7    4718592 2924136 1780448   62% /usr
/dev/vg00/lvol6    4308992   21024 4254608    0% /tmp
/dev/vg00/osmf     1572864   17366 1458286    1% /osmf
/dev/vg00/lvol5    6815744 4648304 2150544   68% /opt
/dev/vg00/lvol4     524288   21496  498984    4% /home
vmguest:/ #


vmguest:/ # cat /etc/rc.config.d/crashconf|grep -i crashconf_enabled
# CRASHCONF_ENABLED: Configure crash dumps at boot time.
CRASHCONF_ENABLED=1
vmguest:/ #
 

vmguest:/ # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/disk/disk5_p2 -- Boot Disk
Boot: lvol1     on:     /dev/disk/disk5_p2
Root: lvol3     on:     /dev/disk/disk5_p2
Swap: lvol2     on:     /dev/disk/disk5_p2
Dump: lvol2     on:     /dev/disk/disk5_p2, 0
vmguest:/ #

vmguest:/ # cat /etc/fstab
# System /etc/fstab file.  Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/osmf /osmf vxfs delaylog 0 2
/dev/vg00/lvol9 /var/adm/crash vxfs delaylog 0 2
vmguest:/ #

vmguest:/ # crashconf
Crash dump configuration has been changed since boot.

CLASS          PAGES  INCLUDED IN DUMP  DESCRIPTION
--------  ----------  ----------------  -------------------------------------
UNUSED       3323350  no,  by default   unused pages
USERPG         77692  no,  by default   user process pages
BCACHE         26113  no,  by default   buffer cache pages
KCODE           9081  no,  by default   kernel code pages
USTACK           636  yes, by default   user process stacks
FSDATA            12  yes, by default   file system metadata
KDDATA        671616  yes, by default   kernel dynamic data
KSDATA          8817  yes, by default   kernel static data
SUPERPG        75583  no,  by default   unused kernel super pages

Total pages on system:           4192900
Total pages included in dump:     681081

Dump compressed:    ON

Dump Parallel:    ON

DEVICE       OFFSET(kB)   SIZE (kB)    LOGICAL VOL. NAME
------------ ------------ ------------ ------------ -------------------------
  1:0x000002      2087776     16777216  64:0x000002 /dev/vg00/lvol2
                          ------------
                              16777216
vmguest:/ #
vmguest:/ # crashconf -v
Crash dump configuration has been changed since boot.

CLASS          PAGES  INCLUDED IN DUMP  DESCRIPTION
--------  ----------  ----------------  -------------------------------------
UNUSED       3323350  no,  by default   unused pages
USERPG         77692  no,  by default   user process pages
BCACHE         26113  no,  by default   buffer cache pages
KCODE           9081  no,  by default   kernel code pages
USTACK           636  yes, by default   user process stacks
FSDATA            12  yes, by default   file system metadata
KDDATA        671588  yes, by default   kernel dynamic data
KSDATA          8817  yes, by default   kernel static data
SUPERPG        75611  no,  by default   unused kernel super pages

Total pages on system:           4192900
Total pages included in dump:     681053

Dump compressed:    ON

Dump Parallel:    ON

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

 

 

thank you