Skip to content

Instantly share code, notes, and snippets.

@seantcanavan
seantcanavan / gist:7a6d7b0fa523631ec137fc40796b43b6
Created June 11, 2026 16:23
Print failure analysis information for HDDs and SSDs in TrueNAS
#!/usr/bin/env python3
from __future__ import annotations
import json
import re
import subprocess
from pathlib import Path
from typing import Any