Skip to content

writehawk v0.2.0 - Cross-Platform Linux & NAS Storage Diagnostics

Latest

Choose a tag to compare

@BiosSystem BiosSystem released this 22 Nov 14:56
· 2 commits to master since this release
f5a917d

writehawk v0.2.0 - Cross-Platform Linux & NAS Storage Diagnostics

Release v0.2.0 adds cross-platform support for Linux environments and Network Attached Storage (NAS) operating systems (UGREEN UGOS Pro, Synology DSM, TrueNAS SCALE, Unraid, QNAP QTS, Debian/Ubuntu, Arch, Fedora) to detect and mitigate silent SSD wear and write amplification loops.

What's New in v0.2.0

  • Linux & NAS Platform Engine:
    • Process-level VFS I/O (rchar, wchar) and physical storage I/O (read_bytes, write_bytes, cancelled_write_bytes) parsed directly from /proc/<pid>/stat and /proc/<pid>/io.
    • Block device sector writes and discard (TRIM) operations tracked via /proc/diskstats.
    • Open file descriptor resolution through /proc/<pid>/fd.
    • Operating system detection in writehawk context recognizing UGREEN UGOS Pro, Synology DSM, Unraid OS, QNAP QTS, TrueNAS, and standard Linux distributions.
  • NAS & Linux Storage Diagnostic Rules:
    • linux-btrfs-sqlite-nocow: Diagnoses active SQLite databases on Btrfs copy-on-write subvolumes missing NOCOW (nodatacow / chattr +C), eliminating massive write-amplification on database WAL files.
    • linux-docker-json-log-limit: Checks Docker daemon configuration for unbounded JSON container logging (max-size, max-file).
    • linux-journald-flash-cap: Inspects systemd-journald configuration to prevent excessive persistent index and log rewrites to flash boot SSDs.
    • linux-ssd-swappiness: Identifies aggressive kernel vm.swappiness >= 60 on SSD/NVMe root pools and configures wear-reducing thresholds (vm.swappiness=10).
  • Visual Progress Across Tasks:
    • Added live countdown progress bars and step progress tracking across scan, top, trace, probe, selftest, report, and fix/rollback commands.
  • Safe Linux Configuration Management:
    • Reversible configuration drop-ins in /etc/sysctl.d, /etc/docker/daemon.json, /etc/systemd/journald.conf.d, and /etc/writehawk.
    • Service management via systemctl.
    • Periodic reporting via cron (/etc/cron.d/writehawk-report).
    • Strict pre-execution state recording in /var/lib/writehawk/ledger.

Package Verification & SHA-256 Checksums

Artifact Size SHA-256 Checksum
writehawk-0.2.0-py3-none-any.whl 77.0 KB 0f5b92159c60f7fa8c0cc4b4b392fff27797888f03a3ae36fc30aff1c22911b6
writehawk-0.2.0.tar.gz 73.8 KB 9fb59800e69c2c0abdc5bbae52db64039e39f750ee7ee0e87a9cb53da59604cd
writehawk-v0.2.0-bundle.zip 152.7 KB 11100069e9fae36e1be5f39aa8ea86eda71eb839145e6168a96d7ea016f370aa