makedumpfile-1.3.3: Add --split option.

Ken'ichi Ohmichi oomichi at mxs.nes.nec.co.jp
Mon Apr 20 02:17:34 EDT 2009


Hi,

makedumpfile version 1.3.3 is released.
Your comments/patches are welcome.

Changelog:
o New feature
  - Add --split option. (by Takao Indoh)
    Split the dump data to multiple dumpfiles in parallel.
    If specifying dumpfiles on different storage devices, a device can share
    I/O load with other devices and it reduces time for saving the dump data.
    The file size of each dumpfile is smaller than the system memory size
    which is divided by the number of dumpfiles.
    This feature supports only the kdump-compressed format.
    Example:
     # makedumpfile --split -d 31 -x vmlinux /proc/vmcore dumpfile1 dumpfile2

  - Add --reassemble option.
    Reassemble multiple dumpfiles, which are created by --split option, into
    one dumpfile. dumpfile1 and dumpfile2 are reassembled into dumpfile on
    the following example.
    Example:
     # makedumpfile --reassemble dumpfile1 dumpfile2 dumpfile

  - Add multiple dump_levels to "-d" option.
    If specifying multiple dump_levels with the delimiter ',', makedumpfile
    retries to create a dumpfile by other dump_level when "No space on device"
    error happens. For example, if dump_level is "11,31" and makedumpfile fails
    by dump_level 11, makedumpfile retries it by dump_level 31.

  - Add linux-2.6.29 support.

o Bugfix
  - Use current page_size for KDUMP files. (by Petr Tesarik)
  - Truncate dumpfile if overwriting it.
  - Add free calls for error handling.
  - Add fclose() calls for vmcoreinfo file. 

o Code Cleanup
  - Delete unused functions.
  - Clean up the method of bitmap.
  - Clean up the method for reading vmcoreinfo from /proc/vmcore.

Explanation of makedumpfile:
  To shorten the size of the dumpfile and the time of creating the
  dumpfile, makedumpfile copies only the necessary pages for analysis
  to the dumpfile from /proc/vmcore. You can specify the kind of
  unnecessary pages with dump_level. If you want to shorten the size
  further, enable the compression of the page data.

Download:
  You can download the latest makedumpfile from the following URL.
  Details of the change are written on the CVS page of the following site.
  https://sourceforge.net/projects/makedumpfile/

Method of installation:
  You can compile the makedumpfile command as follows;
  1. "tar -zxvf makedumpfile-x.y.z.tar.gz"
  2. "cd makedumpfile-x.y.z"
  3. "make; make install"

Usage:
  makedumpfile [-c] [-E] [-d dump_level] [-x vmlinux] dump_mem dump_file

Example:
  If you want to exclude pages filled by zero, cache pages, user pages
  and free pages and to enable compression, please execute the following
  command.

  # makedumpfile -c -d 31 -x vmlinux /proc/vmcore dumpfile


Thanks
Ken'ichi Ohmichi




More information about the kexec mailing list