# Error Copying image

**URL:** <https://forum.opennebula.io/t/error-copying-image/1224>\
**Category:** Product Support\
**Created:** [September 18, 2015, 4:28pm UTC](https://forum.opennebula.io/t/error-copying-image/1224 "2015-09-18T16:28:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 18, 2015, 4:28pm UTC](https://forum.opennebula.io/t/error-copying-image/1224/1 "2015-09-18T16:28:15Z")

</div>

Hello everyone,

Sorry to be a bother again, but I was following this little step [Import VM](https://forum.opennebula.io/t/running-opennebula-as-vm-and-import-it-afterwards-in-itself/1057) to import my current VMs into OpenNebula and got the following error

Fri Sep 18 10:07:41 2015 : Error copying image in the datastore: Error copying /VMs/WebServer.img to /var/lib/one//datastores/1/790ad3e61adcd4b20a6b3201c617f894

note: the double slashes in the url before datastores

---

<div class="post-metadata">

**Author:** ![Nexusguy59](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nexusguy59/32/4538_2.png) [@Nexusguy59](https://forum.opennebula.io/u/Nexusguy59)\
**Post date:** [September 19, 2015, 12:11pm UTC](https://forum.opennebula.io/t/error-copying-image/1224/2 "2015-09-19T12:11:57Z")

</div>

I think i have this figured out but still would like to know where the // are coming from. Can someone help me with it please?

---

<div class="post-metadata">

**Author:** ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)\
**Post date:** [September 20, 2015, 3:58pm UTC](https://forum.opennebula.io/t/error-copying-image/1224/3 "2015-09-20T15:58:10Z")

</div>

> [@Nexusguy59](#):
>
> Can someone help me with it please?

I wuld like to bet on _/var/lib/one/config_ 😄

KindRegards  
Anton Todorov

---

<div class="post-metadata">

**Author:** ![vahit](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vahit/32/4454_2.png) [@vahit](https://forum.opennebula.io/u/vahit)\
**Post date:** [October 27, 2015, 1:33pm UTC](https://forum.opennebula.io/t/error-copying-image/1224/4 "2015-10-27T13:33:10Z")

</div>

You can’t add image from `/var/lib/one` directory to datastore, that directory is restricted directory and opennebula don’t allow you to use from it and it’s subdirectories.  
Move your image to another directory and test again. 🙂

---

<div class="post-metadata">

**Author:** ![anandharaj](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@anandharaj](https://forum.opennebula.io/u/anandharaj)\
**Post date:** [October 29, 2015, 2:41am UTC](https://forum.opennebula.io/t/error-copying-image/1224/5 "2015-10-29T02:41:05Z")

</div>

And having // is not an issue for Linux.
