Setting resize
Set Resize will reallocate slices between existing sets in a Storage Pool after more capacity is added.
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
Both the 10 PB and 20 PB sets are partially populated with a max capacity of 25 PB each. The user
adds the additional drives to the devices in these sets to reach 25 PB total capacity in each. It
results in a storage pool with the following percentages:
- 25 PB / 75 PB = 33.33%
- 25 PB / 75 PB = 33.33%
- 25 PB / 75 PB = 33.33%
Because the 10 PB and 20 PB now have more capacity, the data is reallocated to be roughly even
across all sets. For the 20 PB set, it has more capacity but a lower percentage of the total
capacity so it holds less data than before. In the end, the three sets should have a percentage of
stored data roughly equal to their percentage of the total capacity:
- 25 PB * (40 PB / 75 PB) = 13.33 PB
- 25 PB * (40 PB / 75 PB) = 13.33 PB
- 25 PB * (40 PB / 75 PB) = 13.33 PB