Skip to content

Moving drive between nodes #8755

Answered by travisn
panteparak asked this question in Q&A
Sep 19, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@panteparak A couple points that should help you:

  1. The osd prepare job always looks for existing OSDs configured on any device, whether or not it's specified in the cluster CR
  2. The check for an OSD should be isolated completely to the disk

So if you move a device to another node and restart the operator to trigger the reconcile, the osd prepare job is expected to detect the OSD on the disk that was just moved from the other node.

I don't expect the CRUSH location will be updated automatically after the move. You will want to update the CRUSH map with the OSD's new host location such as:

ceph osd crush move osd.<ID> host=<newHost>

To see the CRUSH hierarchy: ceph osd tree

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@panteparak
Comment options

@blackliner
Comment options

@travisn
Comment options

Answer selected by panteparak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants