Skip to content

openmediavault-oar 8.1.0~beta6-1

Pre-release
Pre-release

Choose a tag to compare

@VogelsDev VogelsDev released this 07 Jul 11:29
· 1 commit to main since this release

Follow-up to beta5. This is the first release validated by running the full end-to-end loopback lifecycle (create → mount → grow → finalize → degrade → repair → scrub → delete) on real storage — which is how the grow and scrub bugs below were found.

Fixes

  • Grow now works. The pre-reshape step ran mdadm --grow <md> --consistency-policy=bitmap, which mdadm rejects outright, so growing a pool always failed. The kernel does refuse to reshape a PPL array, so PPL is now cleared with --consistency-policy=resync before the reshape and restored (or fell back to an internal write-intent bitmap) at finalization.
  • --json output is now pure. Mutating commands streamed progress to stdout, which corrupted the JSON the RPC parses — most visibly breaking Scrub launched from the web UI. Progress now goes to stderr; only the JSON result is on stdout. The RPC still merges stderr for its streaming progress dialog.
  • Delete is now label-independent. It derives the arrays from the volume group's PVs and their members from /proc/mdstat, so a pool whose GPT labels are missing or wrong (e.g. one created before beta5) is fully torn down — arrays stopped, superblocks zeroed, disks wiped — instead of leaving an assembled array behind. A pre-beta5 pool can therefore just be deleted and recreated.
  • Pool names capped at 24 characters. The GPT partition-name field is 36 UTF-16 units and the oar@<pool>@t<NN> label adds 8 chars of framing; longer names were silently truncated by sgdisk.
  • The shipped e2e-loopback.sh harness itself is fixed (it echoed a banner to stdout that corrupted its own captured JSON — it had never run to completion before).

Docs

  • Remove a disk's previous filesystem via Storage → File Systems before adding it to a pool, to avoid a stale /srv/dev-disk-by-uuid-* mount-point directory being left behind.

Install:

wget https://github.com/carbrf/openmediavault-oar/releases/download/v8.1.0-beta6/openmediavault-oar_8.1.0.beta6-1_all.deb
sudo apt-get install ./openmediavault-oar_8.1.0.beta6-1_all.deb