Linux change the directory for kdump to put its vmcore files
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:
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Apache Log Files
- Linux Change Default User Home Directory While Adding A New User
- Linux Failure (4322): Configuration Initialization Failed - Error and Solution
- How do I find the url for my cgi-bin?
- Create and change to a new directory in a single shell command
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: configuration_file, crash, dumps, linux_crash_dumping



Recent Comments
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments
Yesterday ~ 1 Comment