diff --git a/seaweed-block/README.md b/seaweed-block/README.md index a406d221f8..0b882194a2 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -39,7 +39,21 @@ Services: [standalone deployment](docs/standalone-deployment.md). Operator guide ## Try it -The [first volume check](docs/standalone-deployment.md#first-volume-read-only-check) +**From 1.0.1 (main), not in v1.0.0:** one command starts a single-host trial on loopback, with SeaweedFS's +`weed mini` as the chunk store. Build `sw-block`, `blockmaster` and `blockvolume` from `main` (the v1.0.0 binaries +above do not have it), and have SeaweedFS's `weed` on `PATH` or pass `--weed`: + +```bash +sw-block mini --dir ./swb-mini --weed /path/to/weed +``` + +It starts `weed mini`, `blockmaster` and one `blockvolume` (volume `v1`, 256 MiB, `walstore-chunk`, so snapshots and +restore work at once), and prints every command it runs. It never runs `sudo`: it prints the `nvme connect` command +that attaches `v1`, and the status, check and snapshot commands. Before you stop it with Ctrl-C, unmount `v1` and run +the `sudo nvme disconnect` it printed. Without a `weed` binary it starts the local engine only, with no snapshots +and a banner saying so. More in [standalone deployment](docs/standalone-deployment.md#quick-start-sw-block-mini). + +**With v1.0.0:** The [first volume check](docs/standalone-deployment.md#first-volume-read-only-check) starts `blockmaster` and one `blockvolume`, attaches a 256 MiB volume over NVMe/TCP on loopback, shows the device and its status, and stops. It does not format or write the attached device; it only creates local backing files