VK Cloud logo

Moving a disk between projects

  1. Make sure that the OpenStack client is installed, and authenticate in the project.

  2. Log in to the project from which you need to move the disk.

  3. Detach the disk you want to move from the VM.

  4. View the list of disks:

    openstack volume list --long
  5. Make sure the disk is detached from the VM (Status: available).

  6. Copy the disk ID.

  7. Create a disk transfer request:

    openstack volume transfer request create <DISK_ID>
  8. Copy the authorization key auth_key and the request ID id.

  9. View the list of disks and make sure the status of the disk being transferred has changed to awaiting-transfer:

    openstack volume list
  10. Log in to the project to which you need to move the disk.

  11. Accept the disk transfer request by specifying the authorization key auth_key and the ID id:

    openstack volume transfer request accept --auth-key <AUTH_KEY> <REQUEST_ID>
  12. Make sure the disk has appeared in the project:

    openstack volume show <DISK_ID>

Additional commands for working with disk transfer requests

  • View the list of transfer requests:

    openstack volume transfer request list
  • Delete a transfer request:

    openstack volume transfer request delete <REQUEST_ID>
Was this article helpful?