bcache Backing Device Gets Registered But Not Started

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

Environment

SUSE Linux Enterprise Server 12

Situation

The bcache backing device gets registered but not started. Registering works as the kernel logs "register_bdev() registered backing device" but neither /dev/bcache0 nor /sys/block/bcache0 are created and so there is no means to shutdown this device. Usage counter for bcache module is increased, so unloading module does not work. Rebooting also does not help as the error persists.

Resolution

First verify that the bcache backing device is in the invalid state by running:

bcache-super-show <device>

If the dev.data.cache_state state is clean and the cset.uuid consists only of zeros, the bcache device is in the invalid state and must be recreated.

To recreate the bcache device, first ensure the bcache module is unloaded, and then write a new header to the device as follows:

make-bcache -B

This issue is caused by a bug in the bcache kernel module.  This bug has been resolved in SLES 12 kernel version 3.12.51-52.34.1.  To avoid this issue, install this SLES 12 kernel update (or newer).  

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:7017090
  • Creation Date: 17-Dec-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center