Comment 0 for bug 1858057

Revision history for this message
Aaron Blair (spyd3rweb) wrote :

Currently ceph-osd device and partition functions use hard coded regexex (i.e. '[0-9]*') over the entire code base that limits supported devices those only with alphabetic characters; this limited regex, used for partition and device determination, is not able to handle devices that also have numbers within the device name (i.e. nvme0n1).

To determine disk device and partitions within ceph-osd, I recommend replacing the current use of static regexes with a set of common functions that can be updated more easily to support more exotic device types than standard sdx and hdx devices.