diff --git a/seaweed-block/README.md b/seaweed-block/README.md index 22023b00e7..6ad5c5c7ef 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -11,6 +11,11 @@ Seaweed Block gives a VM, sandbox or container a plain block device over NVMe/TC the host and its changed data is checkpointed to your SeaweedFS, or every write is copied to replicas on other hosts. Its first use case is agent workspaces: disks that must outlive the sandbox that uses them. + + + Seaweed Block in two modes. One blockmaster per cluster issues epochs and leases and decides failover; the sw-block CLI talks to it. Left, checkpointed local block (supported): on a host, the guest writes over NVMe/TCP or iSCSI to blockvolume, which completes write and fsync on its local write-ahead log and extent and checkpoints the changed 4 MiB chunks to SeaweedFS (master, volume servers and filer) in the background; blockmaster reads the HEAD records from the filer. Right, replicated network block (preview): the guest writes to the primary blockvolume, which sends every write to replica blockvolumes on other hosts; SeaweedFS is not used. + + **[Quick start](#quick-start-explained)** · [Two modes](#two-modes) · [Architecture](#architecture) · [Project status](#project-status) · [Documentation](#documentation) diff --git a/seaweed-block/docs/assets/seaweed-block-mode-overview-dark.svg b/seaweed-block/docs/assets/seaweed-block-mode-overview-dark.svg new file mode 100644 index 0000000000..8cf0bd2a0a --- /dev/null +++ b/seaweed-block/docs/assets/seaweed-block-mode-overview-dark.svg @@ -0,0 +1,67 @@ + +Seaweed Block: block storage for SeaweedFS, in two modes +One blockmaster per cluster issues epochs and leases and decides failover; the sw-block CLI talks to it. Left, checkpointed local block (supported): on a host, the guest writes over NVMe/TCP or iSCSI to blockvolume, which completes write and fsync on its local write-ahead log and extent and checkpoints the changed 4 MiB chunks to SeaweedFS (master, volume servers and filer) in the background; blockmaster reads the HEAD records from the filer. Right, replicated network block (preview): the guest writes to the primary blockvolume, which sends every write to replica blockvolumes on other hosts; SeaweedFS is not used. + + +Block storage for SeaweedFS, in two modes +One control plane; each volume is either checkpointed to SeaweedFS or replicated to other hosts. + +blockmaster +epochs, leases, failover + +sw-block +operator CLI + +control API +Checkpointed local block (supported) + +Host + +Guest +VM, sandbox + +blockvolume +WAL + extent +fsync completes here + +NVMe/TCP +or iSCSI + +SeaweedFS +weed master, volume, filer +chunks and HEAD records + +changed 4 MiB chunks + +lease + +HEAD records +Replicated network block (preview) + +Host A + +Guest +VM, container + +blockvolume +primary +local store + +NVMe/TCP +or iSCSI + +Host B + +blockvolume +replica + +Host C + +blockvolume +replica + +every write + + +epochs + diff --git a/seaweed-block/docs/assets/seaweed-block-mode-overview-light.svg b/seaweed-block/docs/assets/seaweed-block-mode-overview-light.svg new file mode 100644 index 0000000000..cf45a9da45 --- /dev/null +++ b/seaweed-block/docs/assets/seaweed-block-mode-overview-light.svg @@ -0,0 +1,67 @@ + +Seaweed Block: block storage for SeaweedFS, in two modes +One blockmaster per cluster issues epochs and leases and decides failover; the sw-block CLI talks to it. Left, checkpointed local block (supported): on a host, the guest writes over NVMe/TCP or iSCSI to blockvolume, which completes write and fsync on its local write-ahead log and extent and checkpoints the changed 4 MiB chunks to SeaweedFS (master, volume servers and filer) in the background; blockmaster reads the HEAD records from the filer. Right, replicated network block (preview): the guest writes to the primary blockvolume, which sends every write to replica blockvolumes on other hosts; SeaweedFS is not used. + + +Block storage for SeaweedFS, in two modes +One control plane; each volume is either checkpointed to SeaweedFS or replicated to other hosts. + +blockmaster +epochs, leases, failover + +sw-block +operator CLI + +control API +Checkpointed local block (supported) + +Host + +Guest +VM, sandbox + +blockvolume +WAL + extent +fsync completes here + +NVMe/TCP +or iSCSI + +SeaweedFS +weed master, volume, filer +chunks and HEAD records + +changed 4 MiB chunks + +lease + +HEAD records +Replicated network block (preview) + +Host A + +Guest +VM, container + +blockvolume +primary +local store + +NVMe/TCP +or iSCSI + +Host B + +blockvolume +replica + +Host C + +blockvolume +replica + +every write + + +epochs +