Bug 694443

Summary: [RFE] kdump is silent when copying the vmcore
Product: [Fedora] Fedora Reporter: Pierre Carrier <prc>
Component: kexec-toolsAssignee: Américo Wang <xiyou.wangcong>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: nhorman, qcai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 16:47:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pierre Carrier 2011-04-07 11:27:11 UTC
Description of problem:
- When the kdump service starts after a crash, it copies /proc/vmcore to $coredir/vmcore-incomplete
- Nothing is showed on the screen until the service is done
- We could show the progress

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

How reproducible:
100%

Steps to Reproduce:
1. Setup kdump
2. SysRq-c
3. Observe the console output
  
Actual results:
Nothing when the kdump service is doing its thing, which can take hours (if one has a lot of RAM)

Expected results:
Progress indication

Additional info:

Hopefully replacing in /etc/rc.d/init.d/kdump:
cp --sparse=always /proc/vmcore $coredir/vmcore-incomplete

with:
rsync --verbose --progress --sparse /proc/vmcore $coredir/vmcore-incomplete

could be enough.

Of course that'd be a new dependency, but we could fallback to cp if rsync is not available.

Comment 1 Neil Horman 2011-04-07 18:59:08 UTC
we normally do show a progress indicator.  What does your kdump.conf look like?

Comment 2 Qian Cai 2011-04-22 06:23:39 UTC
This one should be fixed by,
https://bugzilla.redhat.com/show_bug.cgi?id=604055
once we start to forward-port those patches to Fedora which will be using makedumpfile by default.

Comment 3 Fedora Admin XMLRPC Client 2011-07-15 15:01:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Américo Wang 2011-07-21 16:47:38 UTC
We will rewrite mkdumprd in Fedora 16 (rawhide), so this BZ doesn't apply any more and can be closed.