Unnamed repository
Go to file
Baoquan He f8d7090b59 pass mount info to dracut when default target is a separate disk
When user does not specify dump target explicitly, it's better to
dump to the "path" specified. That means after dump user enter into
1st kernel, can find vmcore in the "path". If that path is in root
fs, vmcore is stored in root fs. If separate disk is mounted on
any tier of "path", we just dump vmcore into the left path on the
left separate disk.

E.g in kdump.conf
path /mnt/nfs

in mount info,
/dev/vdb on /mnt type ext4 (rw,relatime,seclabel,data=ordered)

Then vmcore will be saved in /nfs of /dev/vdb.

In this patch, pass mount info to dracut in this case if separate
disk is mounted on any tier of "path".

Meanwhile introduce a function in kdump-lib.sh to check if any
target is specified.

v4->v5:
    Per Vivek's comment, add a helper function is_fs_dump_target.
    Then is_user_configured_dump_target is rewrite with these helper
    functions.

v5->v7:
    No v6 for this patch. Just use newly introduced function
    is_fs_type_nfs in handle_default_dump_target.

Signed-off-by: Baoquan He <bhe@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2014-04-17 11:27:31 +08:00
po Translation, Makefile: add make tgz option to auto pack po files 2013-12-24 14:25:23 +08:00
.gitignore Release 2.0.6-1 2014-03-26 15:28:42 +08:00
98-kexec.rules udev rules fix 2012-05-28 09:50:47 +08:00
dracut-kdump.sh Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
dracut-module-setup.sh Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
firstboot_kdump.py firstboot:fix reserve mem ui spinbox step size 2012-12-12 17:15:10 +08:00
kdump-dep-generator.sh kdump-dep-generator: Add kdump service dependencies on the fly 2014-04-17 11:27:31 +08:00
kdump-in-cluster-environment.txt Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kdump-lib.sh pass mount info to dracut when default target is a separate disk 2014-04-17 11:27:31 +08:00
kdump.conf Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kdump.conf.5 Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kdump.init - Fix a syntax error in kdump init script 2010-06-13 21:54:34 +00:00
kdump.service kdump.service: Start kdump after network is online and remote fs is mounted 2013-09-27 10:07:13 +08:00
kdump.sysconfig do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.i386 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.ia64 Mass Update of RHEL5 patches 2008-06-05 15:18:53 +00:00
kdump.sysconfig.ppc64 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.s390x s390x, sysconfig: Change maxcpus=1 to nr_cpus=1 for s390x 2014-01-22 12:52:02 +08:00
kdump.sysconfig.x86_64 Add acpi_no_memhotplug to kdump kernel 2014-01-29 16:25:57 +08:00
kdumpctl Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kexec-kdump-howto.txt makedumpfile compression method default to lzo 2013-12-24 14:25:07 +08:00
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch Rebase makedumpfile-1.5.5 2014-01-28 13:04:36 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.4-makedumpfile-memset-in-cyclic-bitmap-initialization-introdu.patch makedumpfile: memset() in cyclic bitmap initialization introduce segment fault. 2014-01-29 16:31:04 +08:00
kexec-tools-2.0.5-vmcore-dmesg-stack-smashing-happend-in-extreme-case.patch Backport vmcore-dmsg stack smashing in extreme case 2014-03-14 13:04:58 +08:00
kexec-tools.spec kdump-dep-generator: Add kdump service dependencies on the fly 2014-04-17 11:27:31 +08:00
mkdumprd pass mount info to dracut when default target is a separate disk 2014-04-17 11:27:31 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
README README: Add a README file 2014-04-02 10:45:36 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources Release 2.0.6-1 2014-03-26 15:28:42 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec