Mounting the OSD data partition

Learn how to properly mount the OSD data partiion.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • Access to the ceph-osd daemon.
  • Root-level access to the Ceph Monitor node.

About this task

If the OSD data partition is not mounted correctly, the ceph-osd daemon cannot start. If you discover that the partition is not mounted as expected, use this information to properly mount the partition.

For more information, see Down OSDs.

Procedure

  1. Mount the partition.
    mount -o noatime PARTITION /var/lib/ceph/osd/CLUSTER_NAME-OSD_NUMBER
    • Replace PARTITION with the path to the partition on the OSD drive that is dedicated to OSD data.
    • Specify the CLUSTER_NAME and OSD_NUMBER.
    For example,
    [root@host01 ~]# mount -o noatime /dev/sdd1 /var/lib/ceph/osd/ceph-0
  2. Try to start the failed ceph-osd daemon.
    systemctl start ceph-osd@OSD_ID
    Replace the OSD_ID with the ID of the OSD.
    For example,
    [root@host01 ~]# systemctl start ceph-osd@0