You can quickly evacuate all volumes from a specified datastore, automatically migrating them to other datastores in the same datastore cluster.


  • Verify that the specified datastore is part of a datastore cluster.
  • On the datastore cluster, enable Storage DRS and set it to No Automation (Manual Mode).
  • Detach all snapshots from all volumes on the datastore.


  1. Log in to the OpenStack Management Server as viouser.
  2. Prepare the volumes in the datastore for migration.
    sudo viocli ds-migrate-prep dc-name ds-name
    Option Description

    Enter the name of the data center that contains the desired datastore.


    Enter the name of the datastore.

  3. Place the datastore in maintenance mode.

    See Place a Datastore in Maintenance Mode in the vSphere Resource Management document.


When you place the datastore in maintenance mode, the datastore is evacuated and the volumes automatically migrate to other datastores in the same datastore cluster.