Files
driveAtlas/driveAtlas.sh
Jared Vititoe fa7fa296db Add verbose mode for detailed error messages
Added --verbose flag that enables detailed logging:
- log_error(): Always shown, critical errors
- log_warn(): Shown in verbose mode, potential issues
- log_info(): Shown in verbose mode, informational messages

Now provides helpful feedback for:
- SMART query failures with specific error messages
- Missing drive mappings for the current host
- Empty bays (no device at configured PCI path)
- Ceph command availability and query status
- Drive mapping statistics (mapped vs empty)

Color-coded output when using --color with --verbose.

Fixes: #14

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 11:39:12 -05:00

40 KiB