Move the disk
The only thing that can be transferred network disk:
- to another segment of the pool any availability zone and any region — you can choose another project or account when migrating;
- to another project or account — only within one segment of the pool.
Move the disk to another segment of the pool
To move a disk to another pool segment You need to create an image of the disk, transfer the image and create a new disk from it. It is not possible to directly transfer a disk to another pool segment.
When transferring a disk image, you can select a different project or an account.
- Create a disk image.
- Transfer the image to another segment of the pool.
- Create a disk from the image.
Transfer the disk to another project or account
Move a network drive to another project or account can only be within the same pool segment. You can migrate a single disk or several at once.
Control panel
OpenStack CLI
Move one disk
- Disconnect the disk from the cloud server.
- In control panel go to Cloud platform → Disks.
- On the menu. of the disk, select Transfer to another project.
- Click Start transferring. The disk will enter the status
AWAITING-TRANSFER
and will be unavailable for work. In the window that opens, the data for completing the migration — the migration ID and Key — will appear. - Optional: to cancel the transfer at any time (put the disk back in status)
ACTIVE
), in the menu of the disk, select Transfer control and press Cancel the postponement. - In the adjacent browser tab, open the project to which you want to move the disk.
- Go to the section Cloud platform → Disks. Make sure you open the list of disks in the same pool segment from which the disk is being migrated.
- On the menu. of the section header, select Accept disks from another project.
- In the window that opens, enter the Transfer ID and Key that you received in step 4. Click Accept.
Transfer multiple disks
- Disconnect the disk from the cloud servers.
- In control panel go to Cloud platform → Disks.
- On the menu. of the section header, select Move disks to another project.
- Select the desired disks and click Download the list. A JSON file with the data to be transferred will be downloaded to your computer. The disks will go to the status
AWAITING-TRANSFER
and will be unavailable for work. - Optional: to cancel the transfer at any time (put the disk back in status)
ACTIVE
), in the menu of the disk, select Transfer control and press Cancel the postponement. - In the adjacent browser tab, open the project to which you want to migrate disks.
- Go to the section Cloud platform → Disks. Make sure that you open a list of disks from the same pool segment from which the disks are being migrated.
- On the menu. of the section header, select Accept disks from another project.
- In the window that opens, open the tab Multiple disks.
- Click Download the list and attach the JSON file you received in step 4. A list of disks to migrate will appear.
- Check the list of disks. Press Accept.
-
Disconnect the disk from the cloud server:
openstack server remove volume <server> <volume>
Specify:
<server>
— ID or server name. The list can be viewed withopenstack server list
<volume>
— ID or disk name. The list can be viewed withopenstack volume list
-
Create a request to move the disk to another project:
openstack volume transfer request create <volume>
-
If you want to transfer multiple disks at once, enter:
openstack volume transfer request create <volume_1> <volume_2> <volume_3>
-
Save from the output of the command:
auth_key
— key value;id
— Transfer ID.
-
Optional: to cancel the transfer, delete the request:
openstack volume transfer request delete <id>
-
Configure authorization in the OpenStack CLI for another project.
-
Confirm the transfer:
openstack volume transfer request accept --auth-key <auth_key> <id>