pingqiuandClaude Opus 5.5 d67ffe029c feat(sw-block): volume start and volume stop
volume start runs an existing volume as sw-blockvolume@<volume>: it
writes the unit's settings file, resolves the layout id, enables and
starts the unit, waits until it serves, and prints the connect command.
volume stop refuses while a guest is connected (unless --force), takes a
cut, refuses when the cut failed or its outcome is unknown (unless
--no-cut, giving the recovery point's age), stops the unit, and ends
with what it promises: the recovery point in the object store is the
cut; writes after it are on this host only.

mini and the unit share one blockvolume settings builder; a test renders
the settings through the shipped unit and compares them with mini's
flags. A second supervisor on one durable root is refused (guard test).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:25:41 -08:00
Languages
Go 84.6%
Rust 7.8%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%