none
Hyper-V Storage Migration Clean Up

    Question

  • I have noticed in Hyper-V 2012R2 when migrating a VM around it leaves behind an empty folder structure. Is there a way cleaning this up automatically after the successful migration?

    For instance,

    VM located at C:\clusterstorage\FOLDER_A\VM

    Moved to C:\clusterstorage\FOLDER_B\VM

    But.... The FOLDER_A\VM still exists after a successful migration. This should be deleted to prevent confusion and allow a VM if migrated back to FOLDER_A to reside in a folder called VM and not VM_1.


    • Edited by ACWH Monday, April 28, 2014 12:39 PM
    Monday, April 28, 2014 12:38 PM

Answers

  • No. Currently there is no automated way out of the box. I'm using a little PS script to keep the folder structure clean.

    cheers

    Michael

    Monday, April 28, 2014 3:29 PM
  • Hi,

    Microsoft have registered this as a bug and told me that it will be fixed in the August 2014 rollup release. A storage migration should not leave traces behind during a live migration and should also not leave a complete copy of the VM folder and it's data when you migrate a machine that's powered off.

    • Marked as answer by ACWH Tuesday, June 24, 2014 10:18 AM
    Tuesday, June 24, 2014 10:18 AM

All replies