Versions Compared

Key

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

...

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 output man vil ha :For the output needed
    • ceph osd tree | grep down
  • ceph osd find osd.XXX
    • For the output man vil haneeded
    • ceph osd find osd.XXX | grep host

...

On the storage

...

node

...

Find the device

  • ceph-volume lvm list grep -A 4 "osd id" | grep -v type | grep -v osdspec | grep -v vdo
    • For the output needed
    • for mindre output :
    • ceph-volume lvm list | grep 'osd id\|devices'

...

Find serial number

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

Finne diskbrønn

Bruk idrac og spor opp serienummer til disken

Trigge disklys på boksen om SSD er i live

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/nulldd if=/dev/zero of=<device fra kommando over)