Help Center > > Getting Started> Example: Quickly Creating and Using an EVS Disk
None

Quickly Creating and Using an EVS Disk

Updated at: Jan 08, 2021 GMT+08:00
  • When a server is purchased, a system disk is automatically added and attached. You do not need to purchase the system disk independently. Data disks can be purchased during or after server creation. If you add data disks during server creation, the system automatically attaches the data disks to the server. If you purchase data disks after server creation, you need to manually attach the purchased data disks to the server.

  • After a disk is attached, the disk can be used only after you have logged in to the server and initialized the disk.

  • System disks are automatically initialized. Therefore, you only need to initialize data disks.

Step 1: Log In to the EVS Console

1. Log in to the management console and choose Storage > Elastic Volume Service to switch to the EVS console.
2. Click Buy Disk.

Note

1. The disk and the server must be in the same AZ.
2. After a disk is attached, the disk can be used only after you have logged in to the server and initialized the disk.

1

Choose Elastic Volume Service.

Apply for a VPC.

2

Buy a disk.

Apply for an ECS.

View Image

Step 2.1: Buy a Disk (Set Billing Mode, Region, AZ, and Data Source)

1. Select a billing mode, region, and AZ. In this example, Pay-per-use is selected.
2. Select the data source. In this example, Create from snapshot is selected.

Note

1. The disk and the server must be in the same AZ.
2. You can create a new disk or create the disk from a data source. Data sources include backups, snapshots, and images.

1

Select a billing mode, region, and AZ.

Select the charging mode.

2

Select a data source.

选择实例配置

View Image

Step 2.2: Buy a Disk (Set Disk Type and Capacity)

1. Select a disk type. In this example, Ultra-high I/O is selected.

2. Set the disk capacity. In this example, 100 GB is configured.

Note

1. For details about disk types, see Disk Types and Disk Performance.
2. The capacity of a data disk ranges from 10 GB to 32768 GB.

1

Select a disk type.

Select the charging mode.

2

Set the disk capacity.

选择实例配置

View Image

Step 2.3: Buy a Disk (Set Advanced Settings and Auto Backup Policy)

1. Set Share and SCSI parameters. There are two disk devices types: VBD and SCSI. If SCSI is not selected, the disk device type will be VBD. It is recommended that you select Share and SCSI together. In this example, Share and SCSI are not selected.

2. Set the Encryption parameter. In this example, Encryption is not selected.

3. Set the Auto Backup parameter and select the backup policy. In this example, Auto Backup is selected and the default backup policy is used.

Note

1. For details about shared disks, see Shared EVS Disks and Usage Instructions.
2. For details about disk device types, see Device Types and Usage Instructions.

3. For details about disk encryption, see EVS Disk Encryption.

1

Set Share and SCSI parameters.

Obtain the instance's connection address.

2

Set the Encryption parameter.

Download and install a client.

3

Set the Auto Backup parameter and backup policy.

Access the cache instance.

View Image

Step 2.4: Buy a Disk (Set Disk Name and Quantity)

1. Set a disk name. In this example, volume-test is used.

2. Set the disk quantity. In this example, the quantity is set to 1.

Note

1. When the disk is created from a backup, batch creation is not supported, and the disk quantity must be set to 1.
2. When the disk is created from a snapshot, batch creation is not supported, and the disk quantity must be set to 1.

1

Set a disk name.

Obtain the instance's connection address.

2

Set the disk quantity.

Download and install a client.

View Image

Step 3.1: Attach a Shared EVS Disk (Perform This Step If You Create a Shared Disk)

1. In the disk list, locate the row that contains the to-be-attached disk and click Attach in the Operation column.

2. Select the servers where the disk is going to be attached and select a device name for each server. Ensure that the selected servers and the disk are in the same AZ.

Note

1. A shared disk can be attached to a maximum of 16 servers.
2. By simply attaching a shared disk to multiple servers cannot implement file sharing among servers. You also need to set up a shared file system or cluster management system. 

1

Locate the to-be-attached disk.

Obtain the instance's connection address.

2

Select servers and device names.

Download and install a client.

View Image

Step 3.2: Attach a Non-Shared EVS Disk (Perform This Step If You Create a Non-Shared Disk)

1. In the disk list, locate the row that contains the to-be-attached disk and click Attach in the Operation column.

2. Select a server where the disk is going to be attached and select a device name for the server. Ensure that the selected server and the disk are in the same AZ.

Note

1. A non-shared disk can be attached to one server only.
2. After a disk is attached, the disk can be used only after you have logged in to the server and initialized the disk. For more information, see Introduction to Data Disk Initialization Scenarios and Partition Styles.

1

Locate the to-be-attached disk.

Obtain the instance's connection address.

2

Select a server and a device name.

Download and install a client.

View Image

Step 4: Initialize a Data Disk (Perform This Step If You Create a Non-Shared Disk)

1. Log in to the server.

2. Initialize the disk.

Note

1. Before initializing the disk, select an appropriate partition style based on your needs. For details, see Introduction to Data Disk Initialization Scenarios and Partition Styles.
2. To initialize a data disk less than 2 TB, see Initializing a Windows Data Disk (Windows Server 2008) or Initializing a Linux Data Disk (fdisk).
3. To initialize a data disk greater than 2 TB, see Initializing a Windows Data Disk Greater Than 2 TB (Windows Server 2012) or Initializing a Linux Data Disk Greater Than 2 TB (parted).

1

Initialize a Window data disk succeeded.

Obtain the instance's connection address.

2

Initialize a Linux data disk succeeded.

Download and install a client.

View Image

Operation Tutorials

helpcenter-videoicon Created with Sketch.

Buying an Elastic Volume Service Disk

helpcenter-videoicon Created with Sketch.

Deleting Elastic Volume Service Disks (Data Disks)

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel