SUSE Support

Here When You Need Us

How to set OSD journal device on a dedicated block device in Ceph barclamp.

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

Environment

SUSE Cloud
SUSE Enterprise Storage 4

Situation

When applying Ceph barclamp after having set a dedicated block device for an OSD (Object Storage Daemon) journal in raw mode the setting is ignored:

"osd": {
  "min_size_gb": 20,
  "journal_size": 8192,
  "journal_devices": [
    "vde"
  ],
  "use_ssd_for_journal": false

Resolution

Go back to the crowbar web ui, Barclamps, Ceph, click "raw" and in the raw json mode set the full path to the block device:

"osd": {
  "min_size_gb": 20,
  "journal_size": 8192,
  "journal_devices": [
    "/dev/vde"
  ],
  "use_ssd_for_journal": false

Ideally, the path should be the symlink from /dev/disk/by-id/<device id> pointing to your device, which is persistent across reboots.

Finally apply Ceph barclamp.

Cause

Ruby code on the admin node /opt/dell/chef/cookbooks/ceph/recipes/osd.rb requires the full path to the device, specifying only the device name is  not sufficient.

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:7021169
  • Creation Date: 03-Aug-2017
  • Modified Date:03-Mar-2020
    • SUSE Open Stack Cloud

< Back to Support Search

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

SUSE Support Forums

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

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.

Open an Incident

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