Kdump on ubuntu

Asked by Ramesh T

Does Ubuntu has kdump, if it does not, please tell me about how ubuntu dumps core to remote location (SCP/NFS)?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tomasz 'Zen' Napierala (tzn) said :

Kdump is included in kexec-tools (you can always find particular binary using apt-file)
To put dumps outside default folder, mount your remote location somwhere and edit:

Put :
path /your_remote_mountpoint


Revision history for this message
Tom Ellis (tellis) said :
Revision history for this message
Tom Ellis (tellis) said :

You'll need to modify /etc/kdump.conf to point to a remote location on your NFS server.

Revision history for this message
Przemek F (pf92) said :

I have ubuntu 10.04 and /etc/kdump.conf does not exist. I had a look at /usr/share/initramfs-tools/scripts/init-bottom/0_kdump and it is clear that the core is always written to the root filesystem.




Correct me if i'm wrong but it seems that to write the core to some other place you need to edit this script particularly this makedumpfile invocation.

Revision history for this message
James Downs (jdowns) said :

I'm seeing the same thing on Maverick. There's this related bug regarding /boot (https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/828731), which would apply for a separate /var partition.

The crashdump recipe is old, and doesn't talk about how to stream a coredump to a remote location.

What's the state of the art right now?

Can you help with this problem?

Provide an answer of your own, or ask Ramesh T for more information if necessary.

To post a message you must log in.