...
Code Block |
---|
root@cephmon1:~# ceph osd pool set <POOL> crush_rule <CRUSH-MAP> |
...
Map osd
...
to physifal 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
- for mindre For the output :needed
- 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
...
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 fra kommando over> from above> of=/dev/null