From a87ffd835471c6732241b8b0ecb68ee9720d69ff Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 13:19:26 -0800 Subject: [PATCH] docs(operator-guide): the backup-sink warning states the measured facts only Measured with SeaweedFS 4.53: the S3 sink copied the bytes but no entry attribute, the copy did not open, and three attribute-only updates of a 4 MiB chunk sent three full uploads. The unmeasured remote-storage and second-filer statements are dropped. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index e36e4027bf..709bf2a113 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -203,16 +203,13 @@ default) can expire the host's slots; keep host clocks synchronized. ## Snapshots, restore and space -**Warning: SeaweedFS's own copy tools are not a backup of a block volume.** -- Do not copy the filer directory that holds the block store (`--chunk-path`, `/swblock/chunks` by default) to S3 - with SeaweedFS's tools. Neither S3 path gives back a working store, because sw-block keeps attributes on each entry: - - the S3 backup sink does not carry those attributes at all, and it re-uploads the whole 4 MiB chunk on any update - of its entry (each cleaning mark or reuse); - - S3 remote storage writes them as object tags (S3 allows at most 10 per object) but does not read them back. -- A copy to a second SeaweedFS filer keeps the attributes, but it copies entry by entry and asynchronously. A copy of - a live volume can hold a HEAD that names chunks not yet copied, or chunks the source has since cleaned. It is a - consistent backup only of a volume that was sealed and idle while the copy caught up. -- Export of a snapshot to another object store, and import from it, is planned for v1.0.2. +**Warning: SeaweedFS's S3 backup sink is not a backup of a block volume.** Measured with SeaweedFS 4.53: +`weed filer.backup` with its S3 sink, pointed at a volume's directory in the block store (`--chunk-path`, +`/swblock/chunks` by default), copied every object byte for byte but none of the attributes that sw-block keeps on +each filer entry. A store put back from that copy did not open: `blockvolume` refused it and did not serve. The sink +also uploads the whole object again on each update of its entry: three attribute-only updates of one unchanged 4 MiB +chunk sent three full 4 MiB uploads. Export of a snapshot to another object store, and import from it, is planned for +v1.0.2. A chunk volume delete refuses to reserve a volume while its lease may still be live. Once the permanent reservation succeeds at blockmaster, the volume cannot be returned to service, even if a snapshot dependent