Skip to content

diskspace@schorschii: Add automatic MD RAID / ZFS / Btrfs status detection#1781

Open
nstoeckigt wants to merge 3 commits intolinuxmint:masterfrom
nstoeckigt:master
Open

diskspace@schorschii: Add automatic MD RAID / ZFS / Btrfs status detection#1781
nstoeckigt wants to merge 3 commits intolinuxmint:masterfrom
nstoeckigt:master

Conversation

@nstoeckigt
Copy link
Copy Markdown
Contributor

Summary

  • Adds automatic detection of MD RAID, ZFS, and Btrfs RAID status for any monitored filesystem
  • New optional setting "Show RAID / ZFS status" (default: off) – no manual device selection needed
  • Displays status indicators: ✓ (healthy), ⚠ (warning/degraded/rebuilding), ✗ (error)
  • Shows detailed progress info during rebuild/resilver/scrub operations (percentage, speed, ETA)
  • Python backend (raid-detector.py) reads from sysfs (/sys/block/md*/md/), zpool status -j, and btrfs filesystem df

Changes

  • New file: raid-detector.py – Auto-detects underlying storage type (MD RAID, ZFS, Btrfs) for a given mount point
  • desklet.js: Added RAID status overlay with progress display, CSS text-overflow: ellipsis for long texts
  • settings-schema.json: New checkbox "Show RAID / ZFS status"
  • metadata.json: Updated description, version bumped to 1.21-raid
  • README.md: Documentation for RAID/ZFS/Btrfs monitoring feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant