diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-11-10 14:13:28 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-11-10 14:13:28 +0000 |
| commit | b37ad9992b69c16644222e8f092cd4bdc5e8292a (patch) | |
| tree | d08dfacc3b325a234cf5da150db61c97d3be8c2f /doc/source/command-objects/volume.rst | |
| parent | 8b2f25682850ca747dcc0961b894ed5f5644580a (diff) | |
| parent | d7c8bb88e4a117d8ab6a53c3a7d14cc7a4105eda (diff) | |
| download | python-openstackclient-b37ad9992b69c16644222e8f092cd4bdc5e8292a.tar.gz | |
Merge "Add "volume migrate" command"
Diffstat (limited to 'doc/source/command-objects/volume.rst')
| -rw-r--r-- | doc/source/command-objects/volume.rst | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst index 8f123361..703a5c76 100644 --- a/doc/source/command-objects/volume.rst +++ b/doc/source/command-objects/volume.rst @@ -197,6 +197,48 @@ List volumes *Volume version 2 only* +volume migrate +-------------- + +Migrate volume to a new host + +.. program:: volume migrate +.. code:: bash + + os volume migrate + --host <host> + [--force-host-copy] + [--lock-volume | --unlock-volume] + <volume> + +.. option:: --host <host> + + Destination host (takes the form: host@backend-name#pool) (required) + +.. option:: --force-host-copy + + Enable generic host-based force-migration, + which bypasses driver optimizations + +.. option:: --lock-volume + + If specified, the volume state will be locked and will not allow + a migration to be aborted (possibly by another operation) + + *Volume version 2 only* + +.. option:: --unlock-volume + + If specified, the volume state will not be locked and the a + migration can be aborted (default) (possibly by another operation) + + *Volume version 2 only* + +.. _volume_migrate-volume: +.. describe:: <volume> + + Volume to migrate (name or ID) + volume set ---------- |
