Created attachment 426223 [details]
Description of problem:
here is the issue that I'm facing every boot
No kdump initial ramdisk found. [WARNING]
/etc/kdump.conf: Unsupported type btrfs
Failed to run mkdumprd
BTRFS is unsupported (I can understand this)
But this fs check should be done before rebuilding ramdisk.
As I have to wait 30seconds each boot to rebuild a ramdisk, which will be most probably removed -> then next boot removed again, after detecting that I'm using btrfs.
sudo ls -la /boot/initrd-2.6.32-37.el6.x86_64kdump.img
ls: cannot access /boot/initrd-2.6.32-37.el6.x86_64kdump.img: No such file or directory
[lkocman@stardestroyer Desktop]$ grep btrfs /etc/fstab
/dev/mapper/rootvg-lv_root / btrfs defaults 1 1
/dev/mapper/rootvg-lv_home /home btrfs defaults 1 2
Version-Release number of selected component (if applicable):
$ rpm -qa kexec-tools crash* kernel
Steps to Reproduce:
1. Install latest RHEL 6 with btrfs root fs.
2. Boot the machine -> wait for rebuilding ramdisk
3. Reboot the machine -> wait for rebuilding ramdisk (again and again ...)
Ramdisk is being rebuilded each boot.
Ramdisk most probably shouldn't be rebuiled if the rootfs is not supported.
This feature request did not get resolved in time for Feature Freeze
for the current Red Hat Enterprise Linux release and has now been
denied. It has been proposed for the next Red Hat Enterprise Linux
release. If you would still like it considered for the current
release as an exception, please make that request with your support
Created attachment 426458 [details]
Hmm, I think we should move the fs type checking earlier, so that if an fs type is not supported, mkdumprd will fail sooner.
Does this satisfy you?
this would be perfect. Thank you.
Cai mentioned that there is actually no /sbin/fsck.btrfs for btrfs, it is /sbin/btrfsck, so the checking code in mkdumprd is not correct for btrfs. Thus you should be able to use btrfs for kdump.
I suggest him to open another BZ for this.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Verified on kexec-tools-2.0.0-99.el6
I believe that I can't move this to verified based on not having this issue. Actually it's not appearing due fixing that btrfsck issue.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.