Bug 239406 - savecore will not use reserved space
savecore will not use reserved space
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: diskdumputils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Linda Wang
Depends On:
  Show dependency treegraph
Reported: 2007-05-08 05:05 EDT by Bryn M. Reeves
Modified: 2010-10-22 10:49 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2007-0717
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-15 10:59:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to make diskdumputils use f_bfree when checking space (475 bytes, patch)
2007-05-08 05:09 EDT, Bryn M. Reeves
no flags Details | Diff

  None (edit)
Description Bryn M. Reeves 2007-05-08 05:05:32 EDT
Description of problem:
In calculating the amount of disk space for a dump, savecore uses the f_bavail
field from statfs. Since this does not include reserved blocks a savecore can
fail despite there being sufficient space in the dump file system.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Configure a /var/crash filesystem that is just large enough to contain system RAM
2. Perform a crash, e.g. sysrq-c
3. Wait for reboot to save core
Actual results:
"no space for dump image."

Expected results:
Dump copies succesfuly

Additional info:
Comment 1 Bryn M. Reeves 2007-05-08 05:09:25 EDT
Created attachment 154321 [details]
patch to make diskdumputils use f_bfree when checking space
Comment 3 RHEL Product and Program Management 2007-05-08 16:19:51 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 4 Akira Imamura 2007-06-28 16:46:03 EDT
I've already fixed the bug. The fix is included in diskdumputils-1.3.49. However
it is different from the proposed patch on comment #1.

Comment 5 Dave Anderson 2007-07-13 15:07:03 EDT
MODIFIED -- CVS Tag: diskdumputils-1_4_0-1
Comment 7 Dave Anderson 2007-07-17 14:08:53 EDT
The diskdumputils package has been re-spun -- CVS Tag: diskdumputils-1_4_1-1

Please post QA results here.  I will transfer the test results
to the errata's QA report, and then set this bugzilla to VERIFIED
via the errata interface.
Comment 8 Akira Imamura 2007-09-13 13:31:17 EDT
I've done testing. There's no regression and unfixed bug as for
this BZ. So could you please file the errata for me?

Comment 9 RHEL Product and Program Management 2007-09-13 15:50:30 EDT
This request was previously evaluated by Red Hat Product Management
for inclusion in the current Red Hat Enterprise Linux release, but
Red Hat was unable to resolve it in time.  This request will be
reviewed for a future Red Hat Enterprise Linux release.
Comment 15 errata-xmlrpc 2007-11-15 10:59:13 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.