Storage that stops wasting mixed-drive capacity.

TRAID is a web-based Debian appliance that pools mismatched disks into one logical volume using tier slicing. Manage arrays, filesystems, virtual machines, Docker containers, scheduled backups, and file sharing — all from the browser.

Tier-sliced RAID

Sort drives by size, form equal-slice RAID tiers, then join tiers into one LVM logical volume.

+4 TB

Recovered in the 3×4 TB + 1×2 TB TRAID-1 example compared to naive RAID 5 sizing.

Redundancy modes

  • TRAID-1: 1 drive fault tolerance (RAID 5/1 by tier)
  • TRAID-2: 2 drive fault tolerance (RAID 6 by tier)

Split privilege security

  • Web app runs as www-data
  • Root-only worker over Unix socket (/run/traid.sock)
  • Strict command whitelist and no shell interpolation

Tier example (TRAID-1)

3 × 4 TB + 1 × 2 TB drives:

Tier Drives Slice size RAID level Usable
042 TBRAID 56 TB
132 TBRAID 54 TB
Total10 TB

Platform features

  • Array create/migrate/grow/shrink/replace/delete
  • ext4 & btrfs with snapshots, scrub, balance, quotas
  • SMART tests, badblocks, and secure erase modes
  • KVM VM lifecycle + Docker container/image management
  • Scheduled backups (rsync, NFS, CIFS/Samba, btrfs send)
  • NFS and Samba sharing with path restrictions

Architecture

Browser
  │  HTTP / WebSocket
  ▼
lighttpd → FastAPI (www-data)
  │
  ▼
Unix Socket /run/traid.sock
  ▼
Worker daemon (root)
  ├─ mdadm / lvm2 / parted
  ├─ btrfs-progs / smartctl / shred
  ├─ virsh / docker
  └─ rsync / exportfs / smbd