rbd: sysfs write failed, lrbd.service: Unit entered failed state.
This document (7022004) is provided subject to the disclaimer at the end of this document.
Environment
Situation
lrbd[81379]: ERROR: command failed
lrbd[81379]: rbd -p PoolName --name client.admin map VolumeName
lrbd[81379]: In some cases useful info is found in syslog - try "dmesg | tail" or so.
lrbd[81379]: rbd: sysfs write failed
lrbd[81379]: rbd: map failed: (110) Connection timed out
systemd[1]: lrbd.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start configures target.service from Ceph.
systemd[1]: lrbd.service: Unit entered failed state.
Resolution
or
Use "ceph osd reweight osd.ID Weight_Value" where osd.ID is the osd number that "ceph osd df" displays and the Weight_Value would be a value less than 1.00.
After issuing the command(s) allow ceph time to re-balance the cluster. Monitor the status with "ceph status" and "ceph osd df". When ceph no longer claims the osd as being 95% or greater usage, start the lrbd service:
systemctl start lrbd.service
systemctl status lrbd.service
In some cases it will be necessary to add disks (osd's) to the cluster, so that the cluster has room to grow.
Cause
Additional Information
Also note that:
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:7022004
- Creation Date: 04-Oct-2017
- Modified Date:03-Mar-2020
-
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com