Disclosed is a copy-on-write based write method for a virtual disk, comprising: upon detection of a write operation performed on a virtual disk, detecting a write amplification ratio of the write operation; if the write amplification ratio is equal to or greater than a preset threshold, activating a copy-on-write function for the write operation to temporarily write, to a cache of the virtual disk, a file to be written corresponding to the write operation; and upon reception of a storage instruction, allocating, to the write operation, continuous address spaces in the virtual disk, and writing the file in the cache to the virtual disk. Also disclosed are a copy-on-write based write device for a virtual disk, and a storage medium.
展开▼