Use the viocli prepare command to prepare datastores for migration.

Note: This command does not support multi-attach volumes.

The viocli prepare command uses the following syntax.

viocli prepare datastore dc-name ds-name [--vcenter-name = VCENTER_NAME] [-v]
Parameter Mandatory or Optional Description

dc-name

Mandatory

Name of the data center containing the desired volumes.

ds-name

Mandatory

Name of the datastore containing the desired volumes.

--vcenter-name vcenter-name

Optional

Name of the vCenter CR. Default is management vCenter.

-v or --verbose

Optional

Displays output in verbose mode.

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