diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index b43e7ffc7e..e4dc205846 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -52,6 +52,11 @@ one live blockvolume per volume ([one process per volume](releases/one-process-p - **Geometry:** a volume's size is `--durable-blocks` x `--durable-blocksize` on `blockvolume`. It must equal `size_bytes` in the cluster spec (for example 65536 x 4096 = 268435456). + If a blockvolume was started with the wrong `--durable-blocks` and its log repeats `geometry_mismatch`, first + confirm the volume never served: `sw-block ops chunk show --volume --chunk-filer --chunk-path ` + prints `"epoch":0` and `"holder":""` in its head. Only then stop the unit, remove `.bin`, `.bin.chunkfresh`, + `.bin.chunkmap` and `.replica-floor` from `--durable-root`, and start it with the right flags. Never remove + these files for a volume whose head shows an epoch above 0 or a holder: they hold its acknowledged writes. - **Memory:** plan for about 32-36 MiB per running volume. That was measured with 150-200 volumes on one host. - **Measured throughput on one host** (16 cores, 23.7 GB RAM, one consumer NVMe drive, fsync on every volume): @@ -189,6 +194,7 @@ Every command on the pages above, and the test that runs it. | `systemctl enable`, `stop`, `disable`, `reset-failed`, `systemd-tmpfiles --create` as written on these pages | not run: the tests above start transient units, not the installed ones | not run | | Headroom refusal at create, and both ways out (free space; `--durable-root` on a file system with room) | `TestHeadroomRefusesARestoreAndAForkTargetThenServesThem`, `TestHeadroomRefusedTargetBlastRadiusAndAnotherRoot`, `TestHeadroomRefusedRestoreTargetSurvivesItsSourceDeleteAndGC` (`cmd/blockvolume`, root, loop-mounted file systems) | binary | | Full local disk; full `--host-limit-dir` | `TestProcedureLocalDiskFull` (`cmd/blockvolume`, root, `testdata/diskfull.sh`); what a Linux guest sees: `TestProcedureLocalDiskFullKernelInitiator` (kernel NVMe/TCP host) | binary | +| A start with the wrong `--durable-blocks` (`geometry_mismatch`): the guard (`sw-block ops chunk show`), removing the local files, a start with the right flags | `TestWrongGeometryCureAsWritten` (`cmd/blockvolume`) | binary | | SeaweedFS (filer or volume server) down during a cut | `TestProcedureStoreDownDuringACut` (`cmd/blockvolume`) | binary | | `blockmaster` refuses a `--workspace-max-clock-skew` whose half does not exceed its fence-exit budget (at or below 10.1 s) | `TestBlockmasterRefusesASkewBoundAtOrBelowTheFenceExit` (`cmd/blockvolume`, tag `subprocess`) | binary | | The missing lock directory (`host volume lock directory unavailable`) and its cure (tmpfiles entry or chown) | not run in 1.0 | not run |