Rebuild a Volume: Meta1


First, run gridinit_cmd restart @meta1; this allows you to check that meta services are up. If scores are low, the rebuilder can take a long time and can fail due to a timeout. You can check the score by running openio cluster list meta1.

Launch rebuilding

You can launch the rebuild by using the openio-admin meta1 rebuild command:

# openio-admin meta1 rebuild


If you want more information about current rebuilding, you can change the report interval using the --report-interval option. The default value is set to 3600 seconds, but if you want a report every minute, you can launch rebuilding using openio-admin meta1 rebuild --report-interval 60.

By default, rebuilding uses only one worker; you can set a number of workers using the --workers option. For example, openio-admin meta1 rebuild --workers 42 launches rebuilding using 42 workers.

Workers have a limited number of prefixes to rebuild per seconds, 30 by default: the goal is to maintain the cluster performance during the rebuilding. You can change this value using the --items-per-second option. If you want to unlimit the number of prefixes to rebuild per second, you can use openio-admin meta1 rebuild --items-per-second 0.