Creating a Disk from a Snapshot
Scenarios
When you create a disk from a snapshot, the new disk contains the same data as the snapshot. This enables you to copy data between disks within the same AZ or across AZs for purposes such as environment cloning or data backup. This section describes how to create a new data disk from a snapshot.
Background
Disks created from snapshots use lazy loading. They can be attached and used immediately after creation without waiting for all snapshot data to finish loading. Snapshot data is loaded into the new disk in the background as needed. After loading is complete, the disk delivers the same performance as a newly purchased disk of the same type.
Customer impact during lazy loading:
- Read/write performance impact
First read (data not yet loaded): When data is accessed for the first time, the system reads it directly from snapshot storage, which results in higher latency than the disk's rated performance. Subsequent reads of the same data blocks return to normal performance.
First write (data not yet loaded): When writing to an unloaded data block, the system must first load the corresponding snapshot data before completing the write, which may increase initial write latency. Write performance for already loaded or previously written data blocks is not affected.
Data loading completed: The disk provides the same read/write performance as a newly purchased disk of the same type. Lazy loading does not affect the disk's final performance or capacity.
- Typical impact scenarios
During data loading, workloads involving large-scale random first-time reads or writes, such as full database scans, batch file copies, or batch data loading during application cold starts, may experience higher I/O latency and lower throughput, resulting in slower response times.
Before loading completes, measured disk performance may be lower than the IOPS and throughput limits displayed on the purchase page. Performance benchmarking is not recommended during this period because results may not reflect steady-state performance.
Lazy loading does not affect data integrity or correctness, and does not prevent operations such as disk attachment, partition creation, or file system mounting.
Usage recommendations:
- For performance-sensitive workloads, perform a full read after disk creation to trigger data loading before using the disk in production. For example, run dd if=/dev/vdX of=/dev/null bs=1M to sequentially read the entire disk.
- For workloads that need to go into production immediately, create disks from snapshots during off-peak hours and allow sufficient time for data loading to complete.
- Do not interpret higher read/write latency during lazy loading as a disk failure or a performance issue. If performance problems persist after loading completes, contact technical support.
Constraints
| Item | Description |
|---|---|
| Legacy snapshots |
|
| Standard snapshots |
|
| General constraints |
|
You can view the snapshot upload progress in the status column. If there is a progress bar, the upload is still in progress. After the progress bar disappears, the upload is complete.
Follow-Up Operations
- If you choose not to attach the disk to a server during creation, attach it to an ECS by referring to Attaching an EVS Disk before using it.
- If you choose to use existing partitions instead of re-initializing the disk, mount the partitions in the OS.
- In Linux, mount the partitions on desired mount points and configure auto-mount at system startup. For details, see the steps for mounting partitions and configuring auto-mount in Initializing a Linux Data Disk (Less Than or Equal to 2 TiB).
- In Windows, you can simply use the existing partitions.
- If you choose to re-initialize the disk, do as follows:
Note that re-partitioning a disk will erase all the existing data on the disk, so you are advised to use snapshots to back up the disk data first.
- In Linux, unmount the partitions, delete them (by running fdisk <disk-name>, entering d and the partition number, and entering w), and then re-initialize the disk.
- In Windows, delete the partitions (using the volume deletion tool) and then re-initialize the disk.
For details about how to initialize a disk, see Initializing EVS Data Disks.
File system mounting, partition checks, and other operations are not affected by lazy loading. However, the first access to file data triggers on-demand snapshot loading, which may temporarily increase application response times after mounting. Performance returns to normal once loading completes.
Helpful Links
- For more snapshot FAQs, see Snapshot.
- To buy new data disks, see Purchasing an EVS Disk.
- To view all the disks created from a snapshot on the snapshot details page, see Checking EVS Snapshot Details.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot

