The following commands are run on each server as root
- Remove current Dump definition
#lvrmboot -d lv_dump /dev/vg00
|
- Save LVM config
#lvlnboot -R
|
- Remove the old dump logical volume with the old 4GB size
#lvremove /dev/vg00/lv_dump
|
- 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
|
- Add the new Dump definition
#lvlnboot -d /dev/vg00/lv_dump
|
- Save LVM lconfig
#lvlnboot -R
|
- Check the configuration
#lvlnboot -v
|
- Refresh the crashconf configuration
#/sbin/crashconf -r /dev/vg00/lv_dump
|
- 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