I ran into some issues while using rustfs. I am currently using it in a single-node, single-disk setup via Docker. Now I want to expand to more public servers using Docker Compose. What should I do? In the future, if one of the servers is lost, how can I replace it with a new one? #2248
-
|
I ran into some issues while using rustfs. I am currently using it in a single-node, single-disk setup via Docker. Now I want to expand to more public servers using Docker Compose. What should I do? In the future, if one of the servers is lost, how can I replace it with a new one? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @aiastia , Part 1 — Expanding single-node to multi-node with Docker Compose That said, to expand from single-node to multi-node, you cannot simply add nodes to an existing single-node deployment — single-node (SNSD) uses no erasure coding and the data layout is incompatible with distributed mode. The correct approach: Compose with all nodes defined from the start in RUSTFS_VOLUMES: Part 2 — Replacing a failed node To replace a failed node: Provision a new server with the same hostname as the failed one (RustFS uses hostnames for disk identification) If this helped you, please mark it as the answer — it helps others in the community who run into the same issue find the solution faster! |
Beta Was this translation helpful? Give feedback.
Hi @aiastia ,
Part 1 — Expanding single-node to multi-node with Docker Compose
That said, to expand from single-node to multi-node, you cannot simply add nodes to an existing single-node deployment — single-node (SNSD) uses no erasure coding and the data layout is incompatible with distributed mode.
The correct approach:
Back up all your existing data from the single node
Set up a fresh multi-node cluster using Docker
Compose with all nodes defined from the start in RUST…