AnalogJ / scrutiny

Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds
MIT License
5.33k stars 170 forks source link

[BUG] mirrored drives that are showing the same WWN #479

Closed cessnacruzer closed 1 year ago

cessnacruzer commented 1 year ago

Describe the bug I have two mirrored drives that are showing the same WWN, therefore only one drive shows up in the web dashboard. The drives in question are /dev/sdb and /dev/sdf. I manually trigged a collector run using scrutiny-collector-metrics run and the shell output shows both drives displaying as the same WWN.
shell Because they have the same WWN the web ui only shows one device and SN does not match for what is shown on the host. See below screenshots.

  1. Showing only /dev/sdb and not /dev/sdf scrutiny dash

  2. Showing the SN for /dev/sdb scrutiny dets

  3. The host showing that that SN belongs to /dev/sdf not /dev/sdb as it shows in the web ui. truenas disks

Expected behavior I'm not sure how I was able to get two drives with the same WWN, but because the are the same they are not displaying properly in the web ui.

Screenshots See screenshots above.

Log Files collector.log

If related to missing devices or SMART data, please run the collector in DEBUG mode, and attach the log file. See /docs/TROUBLESHOOTING_DEVICE_COLLECTOR.md for other troubleshooting tips.

AnalogJ commented 1 year ago

dupe of #435