shiftstack / dev-install

13 stars 16 forks source link

/dev/sdX can't be used on RHEL9 for disks params #203

Closed EmilienM closed 1 year ago

EmilienM commented 1 year ago

This affects ephemeral_storage_devices and ceph_devices parameters in dev-install.

If you (like me) used to provide /dev/sdX device names for ephemeral or/and ceph storage. It was never recommended to use non-persistent device names (though it worked fine until now), but on RHEL9 it seems really different from RHEL8 and this can't be used reliably anymore.

I think ultimately we'll enforce the user to provide the path attribute in /dev/disk/by-path/ or with the WWID attribute in /dev/disk/by-id/

EmilienM commented 1 year ago

I think we should close this issue. This has been an expected behaviour on recent kernel (RHEL9): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f049cf1a7b6737c75884247c3f6383ef104d255a

The recommendation is to use a persistent naming option like by-id.