I was testing drive hot plugging on my server, and unplugged one of the drives, then plugged it back in. Though, when plugged back in the drive letter changed from /dev/sdj
to /dev/sdl
. Now ceph will not start the osd daemon, and I am wondering if there is a way to either, redirect the ceph osd to the new drive letter, or, do i need to wipe and re-add the drive?
I can also see the volume for ceph which seems to map to the new path /dev/sdl
$ ceph-volume lvm list
====== osd.36 ======
[block] /dev/ceph-862223e6-32e0-412b-8101-8b4af150db9b/osd-block-a8edc8fd-d63f-4ea5-b053-9e9c0b8aeaef
block device /dev/ceph-862223e6-32e0-412b-8101-8b4af150db9b/osd-block-a8edc8fd-d63f-4ea5-b053-9e9c0b8aeaef
block uuid pwfwY5-CpDm-Dj3X-U1ey-QCw0-2lk1-9CMtxE
cephx lockbox secret AQBkIKVken/LDBAAOdBm4/9Nbq8xX1cdlgYqvw==
cluster fsid ae1df8df-5f41-45c2-bed2-5b50929b4c7d
cluster name ceph
crush device class
encrypted 1
osd fsid a8edc8fd-d63f-4ea5-b053-9e9c0b8aeaef
osd id 36
osdspec affinity
type block
vdo 0
devices /dev/sdl
Basically just wondering if there is an easy way to bring this back into the ceph cluster without destroy and re-balancing?
-- logs
2023-07-11T09:30:26.950+0930 7ffa52e053c0 -1 bluestore(/var/lib/ceph/osd/ceph-36/block) _read_bdev_label failed to read from /var/lib/ceph/osd/ceph-36/block: (5) Input/output error
2023-07-11T09:30:26.950+0930 7ffa52e053c0 -1 bluestore(/var/lib/ceph/osd/ceph-36/block) _read_bdev_label failed to read from /var/lib/ceph/osd/ceph-36/block: (5) Input/output error
2023-07-11T09:30:26.950+0930 7ffa52e053c0 1 bdev(0x560b8ff9a000 /var/lib/ceph/osd/ceph-36/block) open path /var/lib/ceph/osd/ceph-36/block
2023-07-11T09:30:26.950+0930 7ffa52e053c0 1 bdev(0x560b8ff9a000 /var/lib/ceph/osd/ceph-36/block) open size 500086865920 (0x746f800000, 466 GiB) block_size 4096 (4 KiB) non-rotational discard not supported
2023-07-11T09:30:26.950+0930 7ffa52e053c0 -1 bluestore(/var/lib/ceph/osd/ceph-36/block) _read_bdev_label failed to read from /var/lib/ceph/osd/ceph-36/block: (5) Input/output error
2023-07-11T09:30:26.950+0930 7ffa52e053c0 1 bdev(0x560b8ff9a000 /var/lib/ceph/osd/ceph-36/block) close
2023-07-11T09:30:27.258+0930 7ffa52e053c0 -1 osd.36 0 OSD:init: unable to mount object store
2023-07-11T09:30:27.258+0930 7ffa52e053c0 -1 ** ERROR: osd init failed: (5) Input/output error
cheers