makedumpfile and tmpfs contents

Kazuhito Hagio kazuhito.hagio at gmail.com
Sat Dec 12 00:30:12 EST 2020


Hi Rajen,

On Fri, Dec 11, 2020 at 11:36 PM Rajendra Dendukuri
<rajendra.dendukuri at broadcom.com> wrote:
>
> Hi,
>
> Is there a possibility or an option to recover contents of a tmpfs by
> the crashkernel after the original kernel has kdump'ed. The idea is to
> store a few other system log files stored in a tmpfs similar to how
> dmesg logs are recovered. Any other ideas to solve this requirement?

I think it would be too hard for makedumpfile to do this, but if you can use
the crash utility to extract contents of a tmpfs from a vmcore, my "cacheutils"
crash extension module [1] might be useful, since tmpfs uses page cache.

[1] https://github.com/k-hagio/crash-cacheutils

Thanks,
Kazu



More information about the kexec mailing list