meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vm:proxmox:ceph:move_disks [2021/01/11 20:40]
niziak created
vm:proxmox:ceph:move_disks [2022/07/25 09:41] (current)
niziak
Line 1: Line 1:
-====== ​move OSDs disks between hosts ======+====== ​Move OSDs disks between hosts ====== 
 + 
 +===== reinstall PVE ===== 
 + 
 +After reinstallation of PVE, CEPH automatically detects OSD but keeps it as ''​down''​. To run OSD it is need to: 
 +''​ceph-volume lvm activate --all''​ 
 + 
 +===== 1st info =====
  
 <​code>​ <​code>​
Line 13: Line 20:
 needs to start up. needs to start up.
 </​code>​ </​code>​
 +
 +===== 2nd info =====
 +
 +[[https://​forum.proxmox.com/​threads/​move-osd-to-another-node.33965/​|move osd to another node]]
 +<​code>​
 +if you don't have a separate (shared) journal device, you can just down and out the OSD and physically move it from one host to another. (hot-)plugging it in should automatically start the OSD service on the new host, and you can mark the osd as "​in"​ on the GUI.
 +
 +if you have a separate journal device only used for the particular osd, you can move it together with the OSD and it should work as well.
 +
 +if you have a shared journal device, you might be able to move all the OSDs using it and the journal, all at the same time - I have never tried this though.
 +
 +if you only want to move one of several OSDs sharing a journal, this is AFAIK not possible, and you need to actually remove it and create a new OSD from scratch on the new host, using the moved disk.
 +</​code>​
 +
 +
 +
 +
 +