The issue of expanding from a single hard disk to multiple hard disks #440
Replies: 3 comments 2 replies
-
I just want to do dynamic expansion. The storage space of the old hard disk before was not enough. Is there any way to re-segment the data from the old hard disk and put it into a new disk? |
Beta Was this translation helpful? Give feedback.
-
The minimum length of EC is 4. Therefore, you need at least 4 disks. |
Beta Was this translation helpful? Give feedback.
-
I also want to ask if I want to take out the data from my old disk and put it on the new disk. The new disk uses 4 hard disks, 3 data slice disks + 1 verification disk. What should I do? If one of my 4 hard disks breaks down in the future, can I use the erasure code principle to remove the bad disk and add a new disk as a new data slice disk? Does rustfs support such an operation? If so, what should I do? I currently failed to start the original rustfs docker project when adding new disk mounting and environment variables, which makes me very distressed |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'd like to ask why when I expanded from 1 hard drive to 2 hard drives, it didn't work.
The volumes configuration I used is as follows:
volumes:
/volume2/rustfs/logs:/logs
/volume2/rustfs/new:/data/d1
/volume3/rustfs2/data:/data/d2
environment:
RUSTFS_VOLUMES=/data/d{1...2}
I used this method for expansion. Both directories are new, and when uploading files, the stored files in d1 and d2 are exactly the same. However, what I expect is expansion, meaning that the contents of d1 and d2 should not be duplicated so that more files can be stored. My two hard drives have different storage capacities: one is 3.6TB, and the other is 3.2TB.
But if I use the previously stored directory, it fails to start, with the following volumes configuration:
volumes:
/volume2/rustfs/logs:/logs
/volume2/rustfs/data:/data/d1
/volume3/rustfs2/data:/data/d2
environment:
RUSTFS_VOLUMES=/data/d{1...2}
Could you please help explain this?
Beta Was this translation helpful? Give feedback.
All reactions