When check-smart-status.rb uses lsblk to find devices, it does not find any override for sda.
When using --device 3ware0,3ware1,3ware2,3ware3, overrides from the json file are not used.
As a quick fix, I modified find_devices to check for overrides when --device option is used and it seems to work:
Got this issue while trying to check the status of physical disks in a RAID array on a 3ware controller.
JSON file:
RAID volume is
/dev/sda
.Output of
lsblk -nro NAME,TYPE
:When
check-smart-status.rb
useslsblk
to find devices, it does not find any override forsda
. When using--device 3ware0,3ware1,3ware2,3ware3
, overrides from the json file are not used.As a quick fix, I modified
find_devices
to check for overrides when--device
option is used and it seems to work: