*dump areas must reside in the root volume group(normally vg00)
*The kernel must know where the dump areas are in the event of a system panic
*The logical volumes used as dump areas must have contiguous physical extents
*This must be done when the logical volume are created with lvcreate
NOTE:If a swap logical volume is to be used for dump then it too must be in the root volume group and have been created with contiguous physical extents.
To configure dumps area, on logical volumes perform the following tasks:
1,Verify the current system dumps area configuration
# lvlnboot -v
2,If the dumps area has not been configured or if additional dumps area is required it will be necessary to locate or create contiguous logical volume to be configured as dump area. To determine if an existing logical volume was created in a contiguous manner use the lvdisplay command
# lvdisplay /dev/vgxx/lvolx
Look at the bottom line of the output. The allocation field will indicate contiguous if the logical volume was created with contiguous physical extents. If this is not displayed,the logical volume cannot be used for dumps area
NOTE: A logical volume can be converted from non-contiguous to contiguous using the lvchange -C y command, only if its physical extents match the constraints demanded by the contiguous allocation policy. If this is not the case, the logical volume must be removed, and if enough contiguous space is available, the logical volume can be created again using the lvcreate -C y option as shown later.
3,Create a contiguous logical volume of sufficient size to bring total dumps area size to an amount which is at least 5 MB more than installed physical memory
# lvcreate -C y -L xxx vgxx
4,Update the Boot Data Reserved Area(BDRA) and LABEL file with the new dump locations.
# lvlnboot -d /dev/vgxx/lvolx
5,Generate a new kernel with the following line included in the kernel devices section of the /stand/system file if the following is not already present:
dump lvol
6,Backup the LVM data structures. The default path name for the backup will be /etc/lvmconf/vgxx.conf
# vgcfgbackup /dev/vgxx
7,The /sbin/rc1.d/S440savecore script saves kernel core dumps
8,Reboot the computer to allow the kernel to configure the new dump area
# shutdown -r 0
阅读(2759) | 评论(0) | 转发(0) |