'How to use multipath devices in minio directpv?

After installing minio directpv, it lists the multipath devices as /dev/dm-XX devices in kubectl directpv drives list. But the /dev/dm-XX paths are not persistent between the node reboots.

I want directpv to list the /dev/mapper/mpathXX devices instead of /dev/dm-XX, so the paths will be persistent between the reboots.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source