Creating Additional Volumes
To create an additional disk (volume) and attach it to a server, open a project and click the Volumes tab.
Click Create volume.
In the new window, set the following parameters:
- Volume type
Click Create (6).
The new disk will appear at the top of the list.
To manage your disk, expand the volume block.
You can change the size of the volume under the Size tab provided you have resources available.
The dropdown menu offers the same disk actions: rename volume, detach/attach volume, extend volume size, make snapshot, transfer to other project, and delete.
Under the Control tab, you can choose what machine (1) or project (2) you’d like to attach the volume to.
You can also delete volumes.
Transferring Volumes between Projects
Volumes can be transferred between different projects.
Let's say we have to accept a volume from another project. Choose the appropriate option from the dropdown menu.
In the open window, select the number of volume and enter the Volume ID and Key. Then click Transfer.
You can retrieve the volume ID and key from the Control tab in the volume block by clicking Transfer volume to another project.
Under the Snapshots tab, you will be find a list of server snapshots and the Create snapshot button.
To schedule a snapshot, click Add schedule (1).
In the new block, enter how frequent snapshots should be created (2) and the maximum number of copies (3). Confirm the task by clicking the check box (4).
After clicking Create snapshot (5), a snapshot will instantly be generated and appear in the Snapshots archive (6).
You’ll find two icons to the right of each snapshot: Create disk from this snapshot (7) and Delete (8).
Connecting Volumes from the Server Block
Additional volumes can be added from the server block:
- Open the Volumes tab.
- Choose the volume from the dropdown men in the bottom left corner.
- Click Attach volume.
The disk will appear in the volume list.
To detach a volume, click Detach to the right of the volume name.
Snapshots can be created by clicking the camera icon.
Increasing Disk Space
To avoid losing any data, we recommend creating a snapshot of your disk under the Volumes tab before performing any actions with partitions or the file system.
To increase disk space:
- Increase the quota for the desired volume type in the project control panel.
- Open the project and disable the virtual machine whose disk you wish to modify.
- Increase the disk space by clicking the "+" icon under the Volumes tab.
- Enable the virtual machine.
If the operating system was installed from a pre-configured image in the control panel, no additional steps are required.
If the volume does not automatically extend, it will have to be done manually.
To manually extent disk space in Linux:
Print out a list of all file system partitions using the command:
Run the following command with the name of the last file system partition:
Change the display units to sectors:
Pull up partition information and take note of the sector where the partition begins:
p d n p 1
- Fdisk will ask for the starting sector of the partition.
- Enter the value from above.
- Fdisk will ask for the final sector.
Enter the maximum possible value.
Write your changes to the volume with command:
- Fdisk will complete the operation.
After rebooting, expand the file system to the extended partition:
Check the partition size:
In Windows, after adding additional disk space, open Disk Management. Right click the volume you wish to extend, and click Extend Volume.
To shrink a volume, we recommend creating a new disk with the appropriate amount of disk space and transferring your data.