Re: [PATCH] scsi: sd: support specify probe type of build-in driver

From: Bart Van Assche
Date: Thu Jun 08 2023 - 12:24:17 EST


On 6/7/23 19:51, Jianlin Lv wrote:
On Thu, Jun 8, 2023 at 1:07 AM Bart Van Assche <bvanassche@xxxxxxx> wrote:
On 6/7/23 08:55, Jianlin Lv wrote:
I see two possible solutions:
- Change the volume provisioner such that it uses disk references that do
not depend on the probing order, e.g. /dev/disk/by-id/...

Yes, The "/dev/disk/by-id/" can uniquely identify SCSI devices. However,
I don't think it is suitable for the volume provisioner workflow.
For nodes of the same SKU , a unified YAML file will be defined to instruct
the volume provisioner on how to manage the local disks.
If use WWID, it would mean that a unique YAML file needs to be defined
for each node. This approach becomes impractical when dealing with a large
number of work nodes.
Please consider using the paths available in /dev/disk/by-path.

Thanks,

Bart.