Hi Frank,

On Tue, Mar 02, 2021 at 02:58:05PM +0000, Frank Schilder wrote:
Hi all,

this is a follow-up on "reboot breaks OSDs converted from ceph-disk to ceph-volume 
simple".

I converted a number of ceph-disk OSDs to ceph-volume using "simple scan" and 
"simple activate". Somewhere along the way, the OSDs meta-data gets rigged and the 
prominent symptom is that the symlink block is changes from a part-uuid target to an unstable 
device name target like:

before conversion:

block -> /dev/disk/by-partuuid/9123be91-7620-495a-a9b7-cc85b1de24b7

after conversion:

block -> /dev/sdj2

This is a huge problem as the "after conversion" device names are unstable. I 
have now a cluster that I cannot reboot servers on due to this problem. OSDs randomly 
re-assigned devices will refuse to start with:

2021-03-02 15:56:21.709 7fb7c2549b80 -1 OSD id 241 != my id 248

Please help me with getting out of this mess.


These paths might be coming from /etc/ceph/osd/*.json files.

Have your tried editing the files to replace /dev/sdXX path with the 
by-partuuid path?

Cheers,

Chris
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to