moana icon indicating copy to clipboard operation
moana copied to clipboard

Rebalance integration

Open aravindavk opened this issue 3 years ago • 0 comments

File system crawler to list the files from each directory from Storage unit and issue the setxattr for each file. Stat the file and collect the size of the file and update the total size crawled and rebalanced.

Ex: setlxattr(file, "trusted.distribute.migrate-data", "1")

Status: Percentage of completion: Size of the files crawled or rebalanced / Total size of Storage Unit

Start rebalance:

Start the above crawler in all the Storage units. Start in any one Storage unit from each distribute group.

kadalu volume rebalance-start PROD/vol1

Stop rebalance:

Stop the rebalance service that is started earlier.

kadalu volume rebalance-stop PROD/vol1

Rebalance Status

  • Show the health of each service.
  • Show the percentage of completion.
kadalu volume rebalance-status PROD/vol1

aravindavk avatar Oct 29 '21 06:10 aravindavk