[PATCH] Makedumpfile: vmcore size estimate

Vivek Goyal vgoyal at redhat.com
Fri Jul 11 06:51:55 PDT 2014


On Fri, Jul 04, 2014 at 10:53:35AM +0900, HATAYAMA, Daisuke wrote:

[..]
> For fail safe, it should address ENOSPC case more. Sadly, preparing too small disks for vmcores is human error. In general, we cannot avoid this in real world. It's important to make vmcore valid even in case of ENOSPC in the sense that at least generated part of vmcore can correctly be analized by crash.

I agree. Dealing with ENOSPC makes sense. Save as much as possible and
display a warning message that dump got truncated. Still dump file should
be readable by "crash". That way we will not lose the whole dump and 
whatever has been saved, might be sufficient to analyze the dump.

Thanks
Vivek



More information about the kexec mailing list