openstack-manuals/doc/admin-guide-cloud/source/shared_file_systems_manage_shares_cli.rst
Joseph Robinson 856316c7dc [User Guides] Shared File Systems Section Editing
Editing the Shared File Systems Section for the
Cloud Admin Guide.

1. Reviewing the shared_file_system.rst files for
sentence length, articles, and repetition.
2. Incorporating Admin User Guide content by changing file names and
editing content:
-cli_manage_shares.rst > shared_file_systems_manage_shares_cli.rst
-dashboard_manage_shares.rst > shared_file_systems_manage_shares_dashboard.rst

Change-Id: Ibe4ced6cc6ab20196c7de16b38aa9c550ffab1b2
Implements: blueprint user-guides-reorganised
2016-01-23 18:55:52 +00:00

1012 B

Migrate shares

As an administrator, you can migrate a share with its data from one location to another in a manner that is transparent to users and workloads. You can use manila client commands to complete a share migration.

Possible use cases for data migration include:

  • Bring down a physical storage device for maintenance without disrupting workloads.
  • Modify the properties of a share.
  • Free up space in a thinly-provisioned back end.

Migrate a share with the manila migrate command, as shown in the following example:

$ manila migrate shareID destinationHost --force-host-copy True|False

In this example, --force-host-copy True forces the generic host-based migration mechanism and bypasses any driver optimizations. destinationHost is in this format host#pool which includes destination host and pool.

Note

If the user is not an administrator, the migration fails.