Create a data disk
If the storage space of your VCS instance is insufficient, you can create data disks. Then, attach the disks to the instance, and initialize the disks for use.
- TWSC Portal
- TWCC CLI
1. Create a data disk when creating a VCS instance
- You can create a data disk when creating your VCS instance on the STORAGE tab. (Only 1 disk can be created and only type and size can be specified, but no name can be assigned.)
2. Create a data disk on Data Disk Management page
If you need to create more disks, please follow the instructions below:
- Click Virtual Disk Service (VDS) from the service list. On the Data Disk Management page, click +CREATE.
tip
You can click on the asterisk to the left of the service in "All Services" and pin your frequently used services to "My Favorite Services" to speed up the process.
- Fill in the data disk name, description, whether the data disk is newly created or restored from a snapshot, size (GB), and disk type (HDD or SSD), and then click NEXT: REVIEW & CREATE>.
- Review the configurations of the data disk and then click CREATE.
Command
twccli mk vcs [-n] # Data disk name
[-sz] # Data disk size (GB)
info
- The parameters in the square brackets [ ] are optional and the rest are required.
- Without optional parameters, the data disk will be created with the default settings.:
Disk type | Name | Disk size |
---|---|---|
HDD | twccli | 100 GB |
Example
- Create a data disk named
clitest
, and disk size is10 GB
.
twccli mk vds -n clitest -sz 10