Bug 1958452

Summary: [RHEL9.0] Makedumpfile gets estimated vmcore size with specified options
Product: Red Hat Enterprise Linux 9 Reporter: Emma Wu <xiawu>
Component: kexec-toolsAssignee: Philipp Rudo <prudo>
Status: CLOSED ERRATA QA Contact: Jie Li <jieli>
Severity: unspecified Docs Contact: Sujata Kurup <skurup>
Priority: unspecified    
Version: 9.0CC: lijiang, ltao, prudo, ruyang, skurup, xiawu, yiyan
Target Milestone: betaKeywords: FutureFeature, TestOnly, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kexec-tools-2.0.23-1.el9 Doc Type: Enhancement
Doc Text:
.`makedumpfile` now includes improved options to get an estimated `vmcore` size With this implementation, the `makedumpfile` utility now includes the following options which help to print an estimate for the dump size for the currently running kernel: * `--dry-run` performs all operations specified by the other options but does not write the output file. * `--show-stats` prints the report messages. This is an alternative to enabling bit 4 in the level provided to `--message-level` option. The following example shows the `--dry-run` and `--show-stats` usage: ---- $ makedumpfile --dry-run --show-stats -l --message-level 7 -d 31 /proc/kcore dump.dummy ---- Note that the dump file size may vary depending on the system state at the time of panic and the estimate provided by the options may differ from the actual state.
Story Points: ---
Clone Of: 1883753 Environment:
Last Closed: 2022-05-17 15:56:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1883753, 2008397    
Bug Blocks: 1674330, 1868698, 2017318, 2017323    

Comment 21 ltao 2021-11-23 07:53:59 UTC
makedumpfile rebased in the brew build:

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1789985

Comment 34 errata-xmlrpc 2022-05-17 15:56:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: kexec-tools), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3974