Files
WesandClaude Sonnet 4.5 27afedb32e Complete rewrite: SnapRAID SMART logger with BackBlaze algorithm
Fetches SMART data from Scrutiny's InfluxDB and calculates failure
probabilities using the exact BackBlaze tables from SnapRAID source.

Key features:
- Calculates both v12 (with attr 193) and v13 (without attr 193) algorithms
- v12 matches SnapRAID pre-v13.0 (includes Load Cycle Count)
- v13 matches modern SnapRAID v13.0+ (excludes Load Cycle Count)
- Stores both values for trending and comparison
- Correctly applies bit masks (16-bit for 187/188, 32-bit for others)
- Annualizes monthly rates and applies Poisson distribution
- Logs to PostgreSQL with device metadata

Solved the mystery: SnapRAID v12 uses attribute 193 which was removed
in v13.0. Load cycle count has massive impact on failure predictions
for some drives (80% vs 4% difference).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-07 06:55:39 -05:00

11 lines
352 B
Plaintext

0x5000c500744487c5 = /dev/sda [parity]
0x5000c500c455c45e = /dev/sdf
0x5000c500c46b0832 = /dev/sdi
0x5000c500c570663e = /dev/sdc [d1]
0x5000c500e584b9c8 = /dev/sdd [d5]
0x5000c500e7a6a520 = /dev/sdb [d2]
0x5000cca234c69287 = /dev/sde
0x5000cca266e83d77 = /dev/sdh [2-parity]
0x5000cca26ae062f3 = /dev/sdg [2-parity]
25243x801438 = /dev/nvme0n1 [os]