Написать в техподдержку Позвонить нам
Admin Panel Logout

In this article:

    Create and delete a disk

    MCS control panel

    To create a disc in your MCS account, you should:

    1. Go to the "Disks" section of the "Cloud Computing" service.
    2. In the top menu select "Create Disc".
    3. Configure the parameters of the created disk:
      Disc name The displayed name of the created disc
      Description Disc description
      Disc type Selecting the type and zone of availability
      A source Blank disk, disk snapshot, or image
      The size Specifies the size of the disk in GB
      Boot disk When you mark an item, it will be possible to create a VM from disk
      Connect disk to instance When checking the item, the disk will be connected to the VM after creation
      Select instance Selecting the virtual machine to which the disk will be connected
    4. After setting the parameters, click "Create disk".

    Note

    You can create low-latency disks if you have access to high-performance virtual machine templates. You can get access to high-freq configurations using technical support .

    To create it, you need to select a high-freq template, after which the low-latency disk appears in the VM creation wizard:

    Data stored on this type of disk is not backed up at the disk subsystem level. It is highly recommended to set up regular backups in case you need to recover your data after a disaster.

    To remove a disc, select the "Remove disc" item in the "Disks" section of the "Cloud Computing" service in the context menu of the disc. This will also remove snapshots of the disk.

    OpenStack CLI

    To create a disc in the OpenStack client:

    Get available disc types:

     $ openstack volume type list

    Create a disk of the selected type and specified size:

     $ openstack volume create --type <disk type ID> --size <size> <disk name>

    It is also possible to use the following parameters:

    • --image <image ID> - specifying the image from which the disk will be created
    • --snapshot <snapshot ID> - specifying the snapshot from which the disk will be created
    • --source <disk ID> - specifying the disk on the basis of which the disk will be created (disk cloning)
    • --description <description> - arbitrary disc description
    • --availability-zone <zone> - specifying the disk availability zone
    • --property <key = value> - specifying arbitrary disk properties
    • --bootable - creates a bootable disk

    To remove a disk in the OpenStack client:

    Get a list of disks in a project:

     $ openstack volume list --long

    Get disk information:

     $ openstack volume show <disk ID>

    Remove disk:

     $ openstack volume delete <disk ID>

    Was this article helpful?