Description of problem: ceph can monitor the health metrics for all types of devices(such as SATA, SAS, NVMe) using SMART. But "ceph device query-daemon-health-metrics osd.X" is not working on MegaRaid OSD device. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Configure OSDs on MegaRaid devices(Device driver: megaraid_sas). 2. Run the command "ceph device query-daemon-health-metrics osd.X". Actual results: Getting the error "smartctl returned invalid JSON" Expected results: Additional info: It seems that ceph uses the command "/usr/sbin/smartctl -a --json=o /dev/sdX". For MegaRaid devices, this command will not work until we pass the option "megaraid,N"(N denotes which disk on the controller is monitored) with smartctl command.
Hi Geo, Unfortunately, we currently do not support querying health metrics of devices behind HW RAID. Thanks, Yaarit