Get location of physical disk from logic disk name by megacli(ver >= 8.07.14
).
http://www.tony-yin.site/2018/05/12/Megaraid_Location/
./get_disk_location.py [disk name]
, such as ./get_disk_location sda
RaidCardModelMap
in get_disk_location.py
is support raid card model map. You can edit it for your own environment