Bug 2034457 - [RFE] Included thin provisioned volume as a supported target for kdump
Summary: [RFE] Included thin provisioned volume as a supported target for kdump
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kexec-tools
Version: 8.6
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: ltao
QA Contact: Jie Li
Sujata Kurup
URL:
Whiteboard:
Depends On: 2141480
Blocks: 2083475
TreeView+ depends on / blocked
 
Reported: 2021-12-21 01:38 UTC by Marcus West
Modified: 2023-07-28 07:28 UTC (History)
15 users (show)

Fixed In Version: kexec-tools-2.0.25-4.el8
Doc Type: Enhancement
Doc Text:
.LVM thin provisioned storage volumes supported as the `vmcore` dump target The `kdump` mechanism now supports thin provisioned logical volumes as the `vmcore` target. To configure LVM thin provisioning: . Create a LVM volume group. + ---- vgcreate vg00 /dev/sdb ---- . Create a LVM thin pool of 10 MB available space. + ---- lvcreate -L 10M -T vg00/thinpool ---- . Create a LVM thin volume with 300 MB of file system space. + ---- lvcreate -V 300M -T vg00/thinpool -n thinvol mkfs.ext4 /dev/vg00/thinvol ---- . Configure the LVM thin pool threshold to automatically extend the space. + ---- cat /etc/lvm/lvm.conf activation { thin_pool_autoextend_threshold = 70 thin_pool_autoextend_percent = 20 monitoring = 1 } ---- . Enable the LVM thin pool monitoring service for the first kernel. + ---- systemctl enable lvm2-monitor.service systemctl start lvm2-monitor.service ---- . Append the following lines to the `kdump.conf` file to set the LVM thin volume as the `kdump` target. + ---- ext4 /dev/vg00/thinvol path / ---- . Start the `kdump` service. + ---- kdumpctl restart ---- . Verify the configuration by triggering a kernel panic and check if the `vmcore` is saved to `/dev/vg00/thinvol`. As a result, with this enhancement, the `kdump` mechanism now extends capability to save the `vmcore` dump files on thin provisioned storage volumes.
Clone Of:
: 2083475 (view as bug list)
Environment:
Last Closed: 2023-05-16 09:02:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-106295 0 None None None 2021-12-21 01:39:48 UTC
Red Hat Knowledge Base (Solution) 223773 0 None None None 2021-12-21 01:43:43 UTC
Red Hat Product Errata RHBA-2023:2953 0 None None None 2023-05-16 09:02:55 UTC

Description Marcus West 2021-12-21 01:38:24 UTC
Description of problem:

Is there any reason why 'thin provisioned volumes' cannot be included as a supported target for kdump?  RHV has been configuring this by default now for a couple of years - it appears to work just find, and I haven't seen any issues where thin-p targets have caused a problem.

If there is some reason why thin-p lv can't be used, we should potentially look at changing the default way kdump is configured for RHV-H hosts. (ie, not put /var/crash on thin-p lv)

Documentation:

[1] https://access.redhat.com/solutions/223773
[2] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/system_design_guide/installing-and-configuring-kdump_system-design-guide#supported-kdump-targets_supported-kdump-configurations-and-targets
[3] /usr/share/doc/kexec-tools/supported-kdump-targets.txt

Comment 19 ltao 2023-01-09 07:46:29 UTC
This bug depend on dracut >= 049-221.git20221214, which hasn't been released yet.

Comment 30 errata-xmlrpc 2023-05-16 09:02:40 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 (kexec-tools bug fix and enhancement update), 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-2023:2953


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