From 69a52a1b79e060924cbb754bda2c06a630695298 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Mon, 23 Nov 2026 01:20:50 -0800 Subject: [PATCH 1/2] docs: operator guide: size the local disk, what a Linux guest sees when it fills, and where --host-limit-dir goes Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index bf11851b41..479552f85f 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -63,6 +63,18 @@ one live blockvolume per volume ([one process per volume](releases/one-process-p - Above about 100 volumes the drive's flush rate, not the software, sets the limit. - Treat these numbers as one host class, not a guarantee. +- **Local disk:** a volume's store grows sparsely up to its full size. Size each durable root's file system for + every volume on it: + - the volume size; + - plus its WAL, 64 MiB; + - plus room for a cut's copy-on-write side files. A cut writes them next to the store while guest writes overwrite + blocks it has not uploaded yet. + + Alert on local free space. On a full local disk, a Linux guest's writes fail after about 75 s with an I/O error + (EREMOTEIO), and the guest file system may then go read-only. Once space is freed, new writes succeed without a + restart. Data the guest had already flushed is kept. +- **`--host-limit-dir`:** keep it on a local file system with free space. When it cannot be written, background cuts + are refused (they fail closed); the seal at stop still runs. - **SeaweedFS space:** every cut and snapshot stores the chunks that changed since the previous one. Space comes back only by GC and then a SeaweedFS vacuum (below). From 1fe7c24ef413c3c03ad7f482bb3fa8a0dfc84a94 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Mon, 23 Nov 2026 02:34:49 -0800 Subject: [PATCH 2/2] docs: the create-time headroom refusal in the operator guide; release note Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 4 ++++ seaweed-block/docs/releases/README.md | 1 + seaweed-block/docs/releases/local-disk-headroom.md | 10 ++++++++++ 3 files changed, 15 insertions(+) create mode 100644 seaweed-block/docs/releases/local-disk-headroom.md diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 479552f85f..a4f13e59ba 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -70,6 +70,10 @@ one live blockvolume per volume ([one process per volume](releases/one-process-p - plus room for a cut's copy-on-write side files. A cut writes them next to the store while guest writes overwrite blocks it has not uploaded yet. + blockvolume refuses to create a volume when the durable root has less free space than its size plus the WAL (the + refusal names both numbers), and warns at start when the free space is below its remaining growth plus the WAL; + there is no override. + Alert on local free space. On a full local disk, a Linux guest's writes fail after about 75 s with an I/O error (EREMOTEIO), and the guest file system may then go read-only. Once space is freed, new writes succeed without a restart. Data the guest had already flushed is kept. diff --git a/seaweed-block/docs/releases/README.md b/seaweed-block/docs/releases/README.md index 528ea41d80..67b832bef6 100644 --- a/seaweed-block/docs/releases/README.md +++ b/seaweed-block/docs/releases/README.md @@ -6,6 +6,7 @@ is still outside the supported boundary. - [Holder identity and pre-release upgrades](holder-identity.md) - [One live process per volume per host](one-process-per-volume.md) +- [Local disk headroom at volume create](local-disk-headroom.md) - [v0.1 Alpha — Kubernetes Block Foundation](v0.1-alpha.md) - [v0.2 Alpha — Day-1 Activation And First Volume](v0.2-alpha.md) - [v0.3 Alpha — Helm Install And Observable First Volume](v0.3-alpha.md) diff --git a/seaweed-block/docs/releases/local-disk-headroom.md b/seaweed-block/docs/releases/local-disk-headroom.md new file mode 100644 index 0000000000..9c210d751f --- /dev/null +++ b/seaweed-block/docs/releases/local-disk-headroom.md @@ -0,0 +1,10 @@ +# Local disk headroom at volume create + +Creating a volume now requires local free space for its full size plus the WAL, checked per volume at create time. + +- **Create:** blockvolume refuses to create a volume when the durable root's file system has less free space than + the volume size plus its 64 MiB WAL. The refusal names both numbers. There is no override. +- **Start:** an existing volume still opens, so its acknowledged data stays served. It logs a `WARNING` when the free + space is below its remaining growth plus the WAL. +- **Why:** on a full local disk a Linux guest's writes fail after about 75 s with an I/O error (EREMOTEIO). + See [Size a host](../operator-guide.md#size-a-host).