SUSE Support

Here When You Need Us

Database corruption after updating to kernel-default-4.12.14-122.212

This document (000021453) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5

Situation

SUSE Support received a small number of cases reporting corruption on database files stored on NFS shares.
Issue happened after updating to the SLES 12 SP5 kernel release kernel-default-4.12.14-122.212
Since various databases were affected, a kernel issue was assumed and said kernel was retracted.

 

Resolution

Install kernel-default-4.12.14-122.216.1 which has the fixed version of O_DIRECT patch that caused the issue. 
zypper ref
zypper install kernel-default-4.12.14-122.216.1
After confirming the system successfully boots with kernel-default-4.12.14-122.216 delete the defective 212 release
zypper remove kernel-default-4.12.14-122.212.1

Cause

An incomplete fix regarding error handling of O_DIRECT write ops led to data corruption.
Only applications using O_DIRECT on NFS shares were affected. This includes many databases, depending on their configuration.

Status

Reported to Engineering

Additional Information

NOTE: The corruption of the database files cannot be fixed, unfortunately.
Restore from backup is the only known resolution as of now.
Fixed kernel only prevents corruption but cannot undo it.

Based on how updates are distributed it may be necessary to remove kernel-default-4.12.14-122.212.1 from the internal repo servers, like SMT/RMT/SUMA or whatever is used. Please refer to the respective product documentation.
Systems receiving updates directly from the SUSE Customer Center (SCC) can no longer install the retracted kernel version.
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021453
  • Creation Date: 22-May-2024
  • Modified Date:31-May-2024
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.