# Storage migration on LVM fails. (LV deactivated too early)

**URL:** <https://forum.opennebula.io/t/storage-migration-on-lvm-fails-lv-deactivated-too-early/7744>\
**Category:** Operations\
**Created:** [October 18, 2019, 6:33am UTC](https://forum.opennebula.io/t/storage-migration-on-lvm-fails-lv-deactivated-too-early/7744 "2019-10-18T06:33:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergjack](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@sergjack](https://forum.opennebula.io/u/sergjack)\
**Post date:** [October 18, 2019, 6:33am UTC](https://forum.opennebula.io/t/storage-migration-on-lvm-fails-lv-deactivated-too-early/7744/1 "2019-10-18T06:33:55Z")

</div>

Hi  
I’m using opennebula for a while, maybe from 5.6 verison.  
Now I’m on 5.8.1  
I’m using LVM system datastores with shared LUN.  
When I trying to migrate VM from one datastore to another driver fails:  
Command execution failed (exit code: 1): /var/lib/one/remotes/tm/fs\_lvm/mv nebulanode3:/var/lib/one//datastores/101/722/disk.0 nebulanode3:/var/lib/one//datastores/106/722/disk.0 722 100  
Thu Oct 17 17:36:49 2019 [Z0][TM][E]: mv: Command “dd if=/dev/vg-one-101/lv-one-722-0 of=/dev/vg-one-106/lv-one-722-0 bs=64k” failed: dd: failed to open ‘/dev/vg-one-101/lv-one-722-0’: No such file or directory  
It deactivates LV before starting copying.so there is no such source device.  
It doesn’t matter if VM is running or not.  
I not sure how it should work, and why driver deactivating device, but I sure that migration was worked on previous versions.
