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).