Use the viocli ds-migrate-prep command to prepare a datastore for maintenance. The viocli ds-migrate-prep command helps you ensure that the specified datastore in your VMware Integrated OpenStack deployment does not contain broken references.

The viocli ds-migrate-prep command uses the following syntax.

viocli ds-migrate-prep [-d NAME] DC_NAME DS_NAME [--verbose] 
Parameter Mandatory or Optional Description

-d NAME or --deployment NAME

Optional

Name of the deployment to use.

If you do not enter a value, the default deployment is used.

DC_NAME

Mandatory

Specifies a data center by name.

DS_NAME

Mandatory

Specifies a datastore by name.

You can also run viocli ds-migrate-prep -h or viocli ds-migrate-prep --help to display the parameters for the command.