glusterd2 icon indicating copy to clipboard operation
glusterd2 copied to clipboard

[RFE] Intelligent Volume Expand by adding subvolumes

Open aravindavk opened this issue 7 years ago • 1 comments

PR #1281(Issue #852) adds support for Volume expand by expanding the bricks. When distribute count is not given or given more than the existing value then we need to expand the volume by adding more sub volumes.

  • Collect expand size as API input
  • Get existing sub volume size
  • if expand size > sub volume size, then number_of_new_subvols = ceil(expand_size / subvol_size)
  • Number of new bricks required = num_bricks_in_existing_subvol * number_of_new_subvols
  • Expand defaults based on existing sub volumes(File system type, replica count, disperse count etc)
  • Plan brick layout based on above information
  • Reuse the prepare bricks transaction steps
  • Reuse the Volume expand Transaction steps

aravindavk avatar Dec 11 '18 10:12 aravindavk

Not within the new MVP of GCS/1.0

atinmu avatar Jan 17 '19 10:01 atinmu