mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
docs(readme): try it with sw-block mini (from 1.0.1, main)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
61f1eee24e
commit
ffba6a77b5
1 file changed
+15
-1
+15
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user