Search This Blog

Sunday, June 5, 2011

The old DUMP area needs to be removed from the LVM configuration and re-added.


The following commands are run on each server as root

  1. Remove current Dump definition
#lvrmboot -d lv_dump /dev/vg00

  1. Save LVM config
#lvlnboot -R

  1. Remove the old dump logical volume with the old 4GB size
#lvremove /dev/vg00/lv_dump

  1. Create the new dump logical volume with the new 8GB size
#lvcreate -m 1 -n lv_dump -L 8192 -C y -r n /dev/vg00

  1. Add the new Dump definition
#lvlnboot -d /dev/vg00/lv_dump

  1. Save LVM lconfig
#lvlnboot -R

  1. Check the configuration
#lvlnboot -v

  1. Refresh the crashconf configuration
#/sbin/crashconf -r /dev/vg00/lv_dump


  1. Check the crashconf configuration shows 8GB for the dump area
# crashconf -v
CLASS          PAGES  INCLUDED IN DUMP  DESCRIPTION
--------  ----------  ----------------  -------------------------------------
UNUSED         47218  no,  by default   unused pages
USERPG        240583  no,  by default   user process pages
BCACHE        471426  no,  by default   buffer cache pages
KCODE           8461  no,  by default   kernel code pages
USTACK           991  yes, by default   user process stacks
FSDATA            82  yes, by default   file system metadata
KDDATA        240373  yes, by default   kernel dynamic data
KSDATA          3815  yes, by default   kernel static data
SUPERPG        25783  no,  by default   unused kernel super pages

Total pages on system:           1038732
Total pages included in dump:     245261

Dump compressed:    ON

DEVICE        OFFSET(kB)   SIZE (kB)  LOGICAL VOL.  NAME
------------  ----------  ----------  ------------  -------------------------
 31:0x150000     5757812     8388604   64:0x000014  /dev/vg00/lv_dump
                          ----------
                             8388604


No comments:

Post a Comment