Managing Virtual Disks
Data disks can be used to meet the data persistence requirements of the business.
TOC
Creating a Virtual DiskProceduresMounting a Virtual DiskProceduresExpanding a Virtual DiskProceduresUnmounting a Virtual DiskProceduresDeleting a Virtual DiskProceduresCreating a Virtual Disk
Create a data disk for the virtual machine. Only one virtual disk can be added at a time; if multiple disks are needed, please repeat this operation.
Note: Virtual disks can be mounted online when the virtual machine is in running state.
Procedures
-
Access the Container Platform.
-
In the left navigation bar, click on Virtualization > Virtual Disk.
-
Click on Create Virtual Disk.
-
Configure the information based on the following instructions.
-
Click on Create.
Mounting a Virtual Disk
Mount the data disk to a virtual machine, attaching the already created virtual disk to the target virtual machine.
Note: Virtual disks can be mounted online when the virtual machine is in running state.
Procedures
-
Access the Container Platform.
-
In the left navigation bar, click on Virtualization > Virtual Disk.
-
Click ⋮ > Mount next to the virtual disk to be mounted.
-
Select the target virtual machine and click Mount.
Expanding a Virtual Disk
Expand the system disk and data disk already mounted to the virtual machine.
Procedures
-
Access the Container Platform.
-
In the left navigation bar, click on Virtualization > Virtual Machine.
-
Click the name of the virtual machine to enter the Details page.
-
In the Virtual Disk area, find the disk to be expanded and click ⋮ > Expand.
-
Enter the new capacity and click Expand.
Unmounting a Virtual Disk
Unmount the data disk from the virtual machine; only virtual machines in the stopped state can unmount disks.
Procedures
-
Access the Container Platform.
-
In the left navigation bar, click on Virtualization > Virtual Disk.
-
Click ⋮ > Unmount next to the virtual disk to be unmounted and confirm.
Deleting a Virtual Disk
Deletion is only supported when the virtual disk is in an unmounted state.
Note: System disks cannot be deleted.
Procedures
-
Access the Container Platform.
-
In the left navigation bar, click on Virtualization > Virtual Disk.
-
Click ⋮ > Delete next to the virtual disk to be deleted and confirm.