3 Nodes with 2 Drives each #299
-
Good day, I use K8s and moving to RustFS I would like to keep the multiplication of my data to times 3 (original and 2 copies) in these 6 drives. My option would be to have
the 6 pod setup could use some kind of DC or similar parameter, whcih will help Rust identify the location of the data (think of Elasticearch Location and replicas). Is there a way to achieve this setup, in order not to change hardware? What I would like to achieve is: Having each object copied on each physical node at least once. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Hi @varet80, 3 nodes, each node has two disks, a total of 6 disks. The minimum number of stripes is 4, so it can only be divided into one stripe. In a stripe, the M volume can only be set to 50% of the stripe at most. That is, EC:3. Therefore, I think there is no way to meet your needs. |
Beta Was this translation helpful? Give feedback.
-
If you need to implement such a function. You should use bucket replication: |
Beta Was this translation helpful? Give feedback.
-
As with MinIO, once a stripe is set, it cannot be modified. Therefore, if there is data, you need to back it up first. |
Beta Was this translation helpful? Give feedback.
You can satisfy 3 + 3 stripes.
3 data disks, 3 parity disks.
Parameters in RUSTFS:
#Set stripes
RUSTFS_ERASURE_SET_DRIVE_COUNT=6
#Set check disks
RUSTFS_STORAGE_CLASS_STANDARD =EC:3
If you encounter any problems, we are happy to help you!