Back to bug 2034457

Who When What Removed Added
Red Hat Bugzilla 2021-12-21 01:38:24 UTC Pool ID sst_logical_storage_rhel_8
Red Hat One Jira (issues.redhat.com) 2021-12-21 01:39:48 UTC Link ID Red Hat Issue Tracker RHELPLAN-106295
Marcus West 2021-12-21 01:43:44 UTC Link ID Red Hat Knowledge Base (Solution) 223773
Dave Young 2021-12-21 03:02:54 UTC CC ruyang
Jonathan Earl Brassow 2022-01-05 15:31:59 UTC Summary Included thin provisioned volume as a supported target for kdump [RFE] Included thin provisioned volume as a supported target for kdump
RHEL Program Management 2022-01-05 15:32:06 UTC Keywords FutureFeature
Paul Dwyer 2022-02-09 09:17:34 UTC CC pdwyer
Mike Snitzer 2022-04-28 15:19:09 UTC CC ttuffin
CC ltao
Assignee lvm-team kdump-bugs
Pool ID sst_logical_storage_rhel_8 sst_kernel_debug_rhel_8
Sub Component Thin Provisioning
Component lvm2 kexec-tools
QA Contact cluster-qe kernel-general-qe
Emma Wu 2022-04-29 04:39:06 UTC QA Contact kernel-general-qe jieli
CC xiawu
Dave Young 2022-05-06 03:34:19 UTC Assignee kdump-bugs ltao
Dave Young 2022-05-06 09:10:54 UTC Keywords Triaged
Sam Wachira 2022-10-12 09:42:19 UTC Blocks 2083475
CC swachira
xiaoying yan 2022-10-19 07:36:55 UTC CC yiyan
Dave Young 2022-12-01 03:35:04 UTC Depends On 2141480
Status NEW ASSIGNED
errata-xmlrpc 2023-01-19 09:56:43 UTC Fixed In Version kexec-tools-2.0.25-4.el8
Status ASSIGNED MODIFIED
Status MODIFIED ON_QA
Jie Li 2023-01-28 02:14:52 UTC Status ON_QA VERIFIED
Sujata Kurup 2023-02-22 14:20:10 UTC CC skurup
Docs Contact skurup
Sujata Kurup 2023-03-03 10:55:19 UTC Doc Type If docs needed, set a value Known Issue
errata-xmlrpc 2023-05-09 00:06:29 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-05-16 09:02:40 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-05-16 09:02:40 UTC
errata-xmlrpc 2023-05-16 09:02:56 UTC Link ID Red Hat Product Errata RHBA-2023:2953
Sujata Kurup 2023-07-25 13:15:55 UTC Doc Type Known Issue 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.

Back to bug 2034457