# Empty Disk Image attachment is taking too long time

**URL:** <https://forum.opennebula.io/t/empty-disk-image-attachment-is-taking-too-long-time/13677>\
**Category:** Product Support\
**Created:** [March 20, 2025, 12:33pm UTC](https://forum.opennebula.io/t/empty-disk-image-attachment-is-taking-too-long-time/13677 "2025-03-20T12:33:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indjas](https://avatars.discourse-cdn.com/v4/letter/i/58956e/32.png) [@indjas](https://forum.opennebula.io/u/indjas)\
**Post date:** [March 20, 2025, 12:33pm UTC](https://forum.opennebula.io/t/empty-disk-image-attachment-is-taking-too-long-time/13677/1 "2025-03-20T12:33:46Z")

</div>

We have Opennebula configured and successfully added few hosts and deployed VMs.

To build an image, we required to attach add-on disk of 50GB to the VM.

For Add-on Disk We created an Empty disk image with below details

Type - DATABLOCK  
Persistent : no  
**Attributes**  
DEV\_PREFIX vd   
DRIVER raw   
TOTAL\_IOPS\_SEC 5000

**Actual Issue**

- Add-on Disk attachment taking too much time.

**Since its empty disk it should consider zeroing**. However I could see dd clone process is taking place.

PS : This is test environment and we request to provide any alternatives to disable this or any alternatives to attach disk faster.

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [March 21, 2025, 9:29am UTC](https://forum.opennebula.io/t/empty-disk-image-attachment-is-taking-too-long-time/13677/2 "2025-03-21T09:29:20Z")

</div>

Hello @indjas

By default, OpenNebula may perform a full dd operation to initialize disks.

You can try 2 options, but there could be some issues around Data Security (however, since it’s a new empty disk, it won’t affect your case):

1. Use Sparse Files (more info on the doc: [Local Storage Datastore](https://docs.opennebula.io/6.10/open_cluster_deployment/storage_setup/local_ds.html?highlight=sparse#additional-configuration))
2. Use QCOW2 Format (more info: [Image Template](https://docs.opennebula.io/6.10/management_and_operations/references/img_template.html?highlight=qcow2), or [Creating Disk Images](https://docs.opennebula.io/6.10/management_and_operations/guest_os/creating_images.html?highlight=qcow2))

In any case, you can search on our documentation for more info.

Regards,
