Bug 2034457
| Summary: | [RFE] Included thin provisioned volume as a supported target for kdump | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Marcus West <mwest> | |
| Component: | kexec-tools | Assignee: | ltao | |
| Status: | CLOSED ERRATA | QA Contact: | Jie Li <jieli> | |
| Severity: | medium | Docs Contact: | Sujata Kurup <skurup> | |
| Priority: | unspecified | |||
| Version: | 8.6 | CC: | agk, heinzm, jbrassow, ltao, msnitzer, pdwyer, prajnoha, ruyang, skurup, swachira, thornber, ttuffin, xiawu, yiyan, zkabelac | |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| 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, complete the following steps:
. 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 the 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.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2083475 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-16 09:02:40 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 2141480 | |||
| Bug Blocks: | 2083475 | |||
|
Description
Marcus West
2021-12-21 01:38:24 UTC
This bug depend on dracut >= 049-221.git20221214, which hasn't been released yet. 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 |