Merge pull request #489 from seaweedfs/docs/local-disk-full-operator-guide

docs: operator guide: local disk sizing and full-disk behaviour; --host-limit-dir placement
This commit is contained in:
Ping Qiu authored and GitHub committed 2026-11-23 02:44:51 -08:00
commit 6f50e49cd1
3 files changed
+27

No files matched your search

+16
View File
@@ -63,6 +63,22 @@ 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.
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.
- **`--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).
+1
View File
@@ -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)
@@ -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).