diff --git a/seaweed-block/docs/operations-manual.md b/seaweed-block/docs/operations-manual.md index 3fd57073cd..e8763b5d05 100644 --- a/seaweed-block/docs/operations-manual.md +++ b/seaweed-block/docs/operations-manual.md @@ -118,16 +118,16 @@ systemd and root access. ## 1. Install the binaries and units **Plan blockmaster's state storage before starting it.** Keep the holders' local data off blockmaster's state -filesystem. With the shipped unit, the state directory is `/var/lib/sw-block-master`, including the authority and -lifecycle stores. A different directory on the same filesystem is not enough. +filesystem. With the shipped unit, the state directory is `/var/lib/sw-block-master`, including the authority +store and any lifecycle store. A different directory on the same filesystem is not enough. v1.1.2 stops the startup's ancestor sync at the state filesystem's boundary, so a dedicated state filesystem isolates the startup syncs; run `sync` after creating and mounting it. This commits the installer's mount-point entry on its parent filesystem. A failed device lookup logs a fallback to the full ancestor walk. See [directory recovery](design/lifecycle-directory-sync.md). -**Do not mount an empty filesystem over existing blockmaster state.** It hides the authority and lifecycle -stores beneath the mount, and starting blockmaster there can create a separate state history. For a new install, +**Do not mount an empty filesystem over existing blockmaster state.** It hides the existing stores +beneath the mount, and starting blockmaster there can create a separate state history. For a new install, install the units (step 2 below), then create and mount the state filesystem and configure its persistent mount and the unit's mount dependency as migration step 5 shows, all before the first start in [section 2](#2-cluster-spec-and-blockmaster). @@ -161,7 +161,7 @@ To migrate an existing installation: The dependency orders the service after its mount; the assertion refuses startup if the mount is absent, including if its configuration is lost. Keep these protections installed after the migration. 6. Mount the copied filesystem at the configured state directory, verify that it contains the copied authority - and lifecycle stores and their permissions, and run `sync`. + store, the lifecycle store if `--lifecycle-store` is set, and their permissions, and run `sync`. 7. Enable and start blockmaster with `sudo systemctl enable --now sw-blockmaster` and verify that it opens the copied stores and reloads the existing records before considering the migration complete. If verification fails, stop it with `sudo systemctl disable --now sw-blockmaster`, keep it stopped, and correct