Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTL-1841 Support native kdump #45

Merged
merged 1 commit into from
Jul 28, 2022
Merged

MTL-1841 Support native kdump #45

merged 1 commit into from
Jul 28, 2022

Conversation

rustydb
Copy link
Contributor

@rustydb rustydb commented Jul 12, 2022

Summary and Scope

Issue Type

  • RFE Pull Request

To support native kdump we are using the ROOTRAID for storing /var/crash, the crash dir will be created on the ROOTRAID and bind-mounted to a place where kdump can find it.

kdump will mount ROOTRAID at /kdump/mnt0, and it'll create a symbolic link at /kdump/boot which points to /kdump/mnt0/boot. The dump will be taken at /kdump/mnt0/$KDUMP_SAVEDIR. This change allows the /kdump/mnt0/boot and /kdump/mnt0/$KDUMP_SAVEDIR to be accessible.

This change also creates a README.txt file for administrators to read that neighbors the new directories.

Prerequisites

  • I have included documentation in my PR (or it is not required)
  • I tested this on internal system (if yes, please include results or a description of the test)
  • I tested this on a vshasta system (if yes, please include results or a description of the test)

Idempotency

Risks and Mitigations

This change is relatively low risk, this change runs as its own pre-pivot hook and if it encounters a failure it'll emit warnings. If this script fails, kdump may work but be incomplete or not work at all.

@rustydb rustydb requested review from a team, heemstra and jpdavis-prof July 12, 2022 15:28
90metalmdsquash/metal-kdump.sh Outdated Show resolved Hide resolved
@rustydb rustydb force-pushed the MTL-1841-native-kdump branch 7 times, most recently from 3283c84 to 4278eea Compare July 25, 2022 18:23
To support native kdump we are using the ROOTRAID for storing
/var/crash, the crash dir will be created on the ROOTRAID and
bind-mounted to a place where kdump can find it.
@rustydb rustydb merged commit bcfb07a into main Jul 28, 2022
@rustydb rustydb deleted the MTL-1841-native-kdump branch July 28, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants