You can safely remove a Cinder volume from a running instance without stopping the instance. After removal, you can put the volume into maintenance mode or migrate it to another datastore.

1

Using SSH, log in to the VMware Integrated OpenStack manager.

2

Switch to root user.

sudo su -
3

Prepare a datastore for maintenance.

viocli ds-migrate-prep [-d DEPLOYMENT] DC_NAME DS_NAME

Option

Description

-d DEPLOYMENT

Indicates the name of the VMware Integrated OpenStack deployment.

DC_NAME

Indicates the data center name.

DS_NAME

Indicates the datastore name.

You can now put the volume into maintenance mode or migrate it to another datastore.