Hi, On 06/01/2022 17:42, Dave Holland wrote:
The right solution appears to be to configure ceph-ansible to use /dev/disk/by-path device names, allowing for the expander IDs being embedded in the device name -- so those would have to be set per-host with host vars. Has anyone done that change from /dev/sd and
I think I considered this, and concluded it was only a partial fix - as you note, the expander ID changes between hosts (and, I think, after some sorts of hardware repair/replacement), and I think when drives are hot-swapped they didn't necessarily come back in the same path, because the replacement drive gets a different LUN sometimes.
/dev/disk/by-path and have any advice, please? Is it a safe change, or do I have to stick with /dev/sd names and modify the device list as a host var, if/when the naming changes after a reboot? (Which would be grotty!)
IIRC, ceph-ansible looks at what ceph-volume lvm list says when working out whether it needs to build new OSDs; I would hope it would correctly follow symlinks back to the correct point when working this out. I'd try it on a handy test cluster and see :)
Regards, Matthew _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io