Linux change the directory for kdump to put its vmcore files

by on September 17, 2007 · 0 comments· LAST UPDATED September 17, 2007

in , ,

Q. How can I change the directory for kdump to put its vmcore files under CentOS Linux 5.0 operating system?

A. Kdump is a kexec based crash dumping mechansim for Linux. Kdump functionality is broken mainly in two components, user space and kernel space. Kdump support included in all modern Linux distro such as Suse, RHEL, CentOS and Debian. By default, kdump dumps its vmcore files in /var/crash directory. You can easily change this location by modifying kdump configuration file /etc/kdump.conf.

Change the directory for kdump

Open config file:
# vi /etc/kdump.conf
You need to set path using path command:
path -
You need to append path to the filesystem device which you are dumping to. Ignored for raw device dumps. If unset, will default to /var/crash. Set new path to /dumps directory:
path /dumps
Save and close the file.

Further readings:

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , ,

Previous Faq:

Next Faq: