Setting removal
Slices are reallocated when storage resources are removed from the pool.
At a high level, all the slice data on the removed sets is moved to the remaining. The slices are reallocated according to the capacity of the remaining storage resources.
For example, a Storage Pool has three sets: 10 PB, 20 PB, and 25 PB for a total of 55 PB. The
percentages of each set are:
- 10 PB / 55 PB = 18.18%
- 20 PB / 55 PB = 36.36%
- 25 PB / 55 PB = 45.45%
The storage pool is storing 40 PB of data. Based on the set capacities and their respective
percentage of the total capacity, this much data is stored on each set (40 PB / 55 PB = 72.72% full):
- 10 PB * (40 PB / 55 PB) = 7.27 PB
- 20 PB * (40 PB / 55 PB) = 14.54 PB
- 25 PB * (40 PB / 55 PB) = 18.18 PB
When a 10 PB set is removed, the percentages of each set are:
- 20 PB / 45 PB = 44.44%
- 25 PB / 45 PB = 55.56%
The 7.27 PB stored on the 1-PB set reallocates onto the remaining sets. In the end, the two sets
should have a percentage of stored data roughly equal to their percentage of the total capacity:
- 20 PB * (40 PB / 45 PB) = 17.77 PB
- 25 PB * (40 PB / 45 PB) = 22.22 PB