<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Storage on Barn</title><link>https://barn.pgsty.com/v1.5/tags/storage/</link><description>Recent content in Storage on Barn</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 11 Nov 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://barn.pgsty.com/v1.5/tags/storage/index.xml" rel="self" type="application/rss+xml"/><item><title>In-place root growth: recovery and native acceptance</title><link>https://barn.pgsty.com/v1.5/blog/design/root-disk-growth/</link><pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/root-disk-growth/</guid><description>&lt;p&gt;&lt;strong&gt;Status (2026-11-11):&lt;/strong&gt; The unreleased development build implements &lt;code&gt;barn resize -D&lt;/code&gt;, with ext4 and XFS acceptance on macOS/arm64 using QEMU/HVF guests. Released 1.1.0 still limits resize to CPU/memory. See &lt;a href="../vm-resource-overrides/"&gt;VM specification design&lt;/a&gt; for input precedence and &lt;a href="https://barn.pgsty.com/v1.5/docs/reference/cli/#root-disk-growth"&gt;root growth&lt;/a&gt; for the command contract.&lt;/p&gt;&#10;&lt;h2 id="scope"&gt;Supported scope&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-9bf3f4b0-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="2"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-9bf3f4b0-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;barn resize -D 128GiB meta&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;BARN_DISK&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;128GiB barn resize meta&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The target is an absolute root capacity. Growth is supported; shrinking is rejected. Repeating a completed target neither changes the image nor restarts the VM. CPU/memory changes may accompany growth; scale does not multiply disk size. Changes to images, architecture, data disks, networking, and shares still require explicit recreation.&lt;/p&gt;</description></item><item><title>Farrow 0.7.0: simpler test labs and automatic recovery</title><link>https://barn.pgsty.com/v1.5/release/0.7.0/</link><pubDate>Thu, 17 Sep 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/0.7.0/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This version shipped as Farrow. Its download assets have been retired. See the &lt;a href="https://github.com/pgsty/barn/blob/v0.7.0/.github/releases/0.7.0.md"&gt;original tagged release notes&lt;/a&gt; or &lt;a href="https://barn.pgsty.com/v1.5/docs/start/installation/"&gt;install the current Barn release&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Farrow 0.7.0 streamlines first-run startup and recovery for local test labs: re-running &lt;code&gt;farrow up&lt;/code&gt; finishes interrupted work, retries guest bootstrap stages, and updates guest helper scripts in place without restarting running VMs.&lt;/p&gt;&#10;&lt;h2 id="what-changed"&gt;What changed&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Shorter first run.&lt;/strong&gt; Interactive &lt;code&gt;up&lt;/code&gt; can generate the default inventory, install missing host tools, and bring an intact inactive Farrow network back online. Fast checks stay quiet while longer tasks display progress and a compact summary.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Independent guest stages.&lt;/strong&gt; Data disks, host shares, guest hostnames, node-to-node SSH, and private networking initialize independently. If an optional stage fails, Farrow reports the specific limitation while keeping management SSH available, and subsequent &lt;code&gt;up&lt;/code&gt; runs skip stages that are already healthy.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Automatic test-disk recovery.&lt;/strong&gt; Healthy filesystems are mounted as-is; unrecognized or confirmed-corrupt filesystems on test data disks are reformatted and remounted with an explicit data-loss notice. Transient probe failures, missing devices, busy mounts, and host I/O errors never trigger formatting.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Fewer manual fixes.&lt;/strong&gt; Unwritable host shares fall back to read-only and recover on the next &lt;code&gt;up&lt;/code&gt; once permissions are fixed. Occupied automatic SSH forward ports are reassigned for stopped guests. Interrupted image downloads resume automatically and fail over across official repositories while enforcing SHA-256 digest verification.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Clean output and backward-compatible state.&lt;/strong&gt; Guest warnings are stored in a disposable cache outside the schema-2 VM documents and node directories, so older Farrow binaries can still inspect and manage the deployment.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="upgrade-notes"&gt;Upgrade notes&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Re-running &lt;code&gt;up&lt;/code&gt; performs guest recovery (there is no separate &lt;code&gt;repair&lt;/code&gt; command), whereas &lt;code&gt;start&lt;/code&gt; powers on existing nodes without applying inventory changes. Passing &lt;code&gt;--no-wait&lt;/code&gt; skips readiness and recovery checks. See the &lt;a href="https://barn.pgsty.com/v1.5/docs/start/storage/"&gt;storage guide&lt;/a&gt; for data-disk recovery rules.&lt;/li&gt;&#10;&lt;li&gt;A guest with working management SSH and optional stage warnings returns exit code &lt;code&gt;0&lt;/code&gt;. Automation that requires every optional feature should inspect &lt;code&gt;nodes[].warnings&lt;/code&gt; and &lt;code&gt;nodes[].repairs&lt;/code&gt; in &lt;code&gt;--json&lt;/code&gt; or &lt;code&gt;--yaml&lt;/code&gt; output.&lt;/li&gt;&#10;&lt;li&gt;If an earlier 0.6.0 bootstrap failed after deleting the staged control-node private key, &lt;code&gt;up&lt;/code&gt; restores management SSH and reports a &lt;code&gt;control-ssh&lt;/code&gt; warning; run &lt;code&gt;farrow plan&lt;/code&gt; and &lt;code&gt;farrow recreate&lt;/code&gt; on the control node if it needs peer-to-peer SSH.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="install-or-upgrade"&gt;Upgrades and historical packages&#10;&lt;/h2&gt;&#10;&lt;p&gt;The release shipped macOS and Linux (&lt;code&gt;amd64&lt;/code&gt;/&lt;code&gt;arm64&lt;/code&gt;) archives, Linux DEB/RPM packages, the installer script, checksums, SBOMs, and a Homebrew formula.&lt;/p&gt;</description></item><item><title>Farrow 0.4.0: one command, working data disks, one voice</title><link>https://barn.pgsty.com/v1.5/release/0.4.0/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/0.4.0/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This version shipped as Farrow. Its download assets have been retired. See the &lt;a href="https://github.com/pgsty/barn/blob/v0.4.0/.github/releases/0.4.0.md"&gt;original tagged release notes&lt;/a&gt; or &lt;a href="https://barn.pgsty.com/v1.5/docs/start/installation/"&gt;install the current Barn release&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Farrow 0.4.0 turns the first run into a single command, makes default data disks work out of the box on Debian and Ubuntu images, and unifies output formatting across all CLI commands while keeping the Pigsty inventory format, fixed-IP deployment model, state layout, and embedded catalog revision &lt;code&gt;2026082903&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>