mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kdump/kexec vmcore size doubles each time
@ 2012-07-19 22:08 joe shmoe
  2012-07-20  9:36 ` Daniel Kiper
  0 siblings, 1 reply; 4+ messages in thread
From: joe shmoe @ 2012-07-19 22:08 UTC (permalink / raw)
  To: linux-kernel

Hi,
I am trying to configure kexec/kdump on 2.6.35-14. 


$> kexec --version
kexec-tools-testing 20080330 released 30th March 2007


I did manage to configure kdump to use raw device (/dev/sda7) for saving the dump from within the initrd.

When the production kernel boots, it copies core from /dev/sda7 to /var/crash/ path.
I see that the size of data copied over from /dev/sda7 to /var/crash almost doubles with every crash (370MB to 620MB to 1.2 GB to 2.1GB). 


The size returns back to normal, should there be a "normal" reboot cycle anytime. After that every subsequent crash again doubles the size. This is very baffling. 

On a related note, I wanted to understand if there are any known issues with having swap device as a dump location. Does kdump start 
early enough to ensure that vmcore can be safely copied off swap 
/dev/sda7 and THEN mkswap/swapon commands set up the swap space?


Thanks much.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-24 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 22:08 kdump/kexec vmcore size doubles each time joe shmoe
2012-07-20  9:36 ` Daniel Kiper
2012-07-23 23:48   ` joe shmoe
2012-07-24 14:06     ` Daniel Kiper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®