Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Installation/de-commisioning

...

Code Block
root@cephmon1:~# ceph osd pool set <POOL> crush_rule <CRUSH-MAP>

Map osd to physical disk

On a cephmon

  • ceph osd tree
    • For the output needed
    • ceph osd tree | grep down
  • ceph osd find osd.XXX
    • For the output needed
    • ceph osd find osd.XXX | grep host

On the storage node

Find the device

  • ceph-volume lvm list
    • For the output needed
    • ceph-volume lvm list | grep 'osd id\|devices'

Find serial number

  • smartctl -a <device from above>  | grep -i "Serial Number"

Find physical drive bay

Idrac

Use idrac and track the serial number of the disk to which drive bay

Use the OS to trigger disk light if disk is working

  • dd if=<device from above> of=/dev/null