Getting SSD SMART on LSI controllers

for i in {0..23}; do smartctl --all /dev/sda -d megaraid,$i | grep "Power_On\|Percent\|Reallocate"; echo "---"; done

Bonus: NVMe status

nvme smart-log /dev/nvm0