1. Joined : Jun 2015
    Posts : 24
    Windows 10 Pro
       26 Oct 2016 #1

    Hyper V causing corrupted drive


    I have a Server 2012 R2 machine with Hyper-V running on it. Have 2 virtual machines and had no issues with it. I recently ran a windows update on it and since then have been having issues.
    If I shut down the PC and swap out the boot drive with a drive that has Windows 10 on it and reboot I get a message saying a drive is corrupt. Checking the partitions where the VM's and VM drives are they are usually corrupt and beyond use.

    I tried a demo of Server 2016 and it does exactly the same thing. Previously this was working fine and I use it to do computer labs learning things like Exchange server and the likes.

    I have even shut the VM's down and then powered down but the directory or files still end up corrupted.

    Has anyone else seen this issue? Maybe MS are no longer shutting things down cleanly and expect to tidy things up when the machine reboots?
      My System SpecsSystem Spec

  2.    26 Oct 2016 #2

    Hi there

    I believe Windows 12 server allows a different file format than standard NTFS / FAT32 -- so check whether the disks allocated to your HYPER-V was formatted in a "W10 readable format".

    Another possible solution --> re-boot server -- export the VM's to another HDD formatted with NTFS then re-boot W0 and import the VM's.

    Cheers
    jimbo
      My System SpecsSystem Spec


  3. Joined : Jun 2015
    Posts : 24
    Windows 10 Pro
       26 Oct 2016 #3

    jimbo45 said: View Post
    Hi there

    I believe Windows 12 server allows a different file format than standard NTFS / FAT32 -- so check whether the disks allocated to your HYPER-V was formatted in a "W10 readable format".

    Another possible solution --> re-boot server -- export the VM's to another HDD formatted with NTFS then re-boot W0 and import the VM's.

    Cheers
    jimbo
    The drive was formatted under Windows 10 as NTFS and is readable at the root directory. Just the VM directory shows as corrupted and can not access them. Same with the VHDx's. They are either gone or 0 size. So cant export them anyway. I did think it might be permissions thing but doesn't appear to be. I think it is something the Server 2012 is doing and then Windows 10 tries to fix it but kills all the files. The VM's have been set to save on machine shut down and the shutdown seems really fast compared to what it used to take.
    Maybe it is a fast shutdown thing? I might check on that tomorrow and turn it off if it is on in the power settings.
      My System SpecsSystem Spec


  4. Joined : Jun 2015
    Posts : 24
    Windows 10 Pro
       26 Oct 2016 #4

    Did some more investigation today. Started with empty folders and no VM's. Added a Server 2016 demo VM and took it through to it was able to be run and latest updated done on it. I then shut down the VM. Once that was done I shut down the Hyper V service to fully disconnect it. Checked and all folders were correct. VM and VHDx were in correct place.

    Made a backup copy of each into a separate drive.

    Shut down the PC and rebooted into Windows 10. Checked the VM folder and appears intact. Checked the VHDx folder and blank. Drive was gone or at least no visible. The drive usage appeared to indicate it was there but nothing. Ran a disk check over it and it said there were errors. Said it would fix them and after that I could not open the drive at all and had to reformat it.

    I am thinking it is a permissions thing but I can see the copies I made fine. Copied the VHDx back to where it should be and when I get a bit more time will see it the VM still works.
      My System SpecsSystem Spec


  5. Joined : Jun 2015
    Posts : 24
    Windows 10 Pro
       28 Oct 2016 #5

    Did a few more tests today and something strange is going on. Added another VM making it two and updated the files on it. The server wanted an update as well so I updated that. Shut both VM's down and then shut the Hyper V service down. Checking the drives folder they were okay and the VM folder appeared okay as well. However running a checkdisk on the VM drive resulted in errors again and it required fixing. The fix was okay and the files appear okay.

    Looks like something is not shutting down properly and leaving files open which corrupt the disk and need fixing and it must by the Hypervisor but I can't see why or how to fix it. It was running fine originally and now after an update it is doing this.

    Very frustrating. Only way around it is to copy everything to another folder so there is a back up if it gets corrupted while shutting down. Defeats the purpose really. Might try a completely separate drive and see what that does.
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
File corrupted after copying to flash drive
Recently i bought 2 flash drive, toshiba and sandisk, and when i copy files to toshiba, it ended up corrupt, so i copied the same files to sandisk, its fine, so i do a scan with malwarebytes, clear, i've formatted the toshiba, issue still persist,...
Drivers and Hardware
Corrupted Flash drive
i have an older flash pen drive (32gb) and i think it may be corrupted it will only format exFAT and when i pop in a file it comes back as unusable so if anyone can inform me no how to hack it back to normality it would be appreciated also...
Drivers and Hardware
Bitlocker corrupted my Boot drive during installation
I am running Windows 10 Pro on a HP Proliant ML110 G7 machine, and decided to install bitlocker using a password and USB key. The machine does NOT have a TPM installed. I first activated it on 2 logical volumes. Then I tried to activate it on my...
AntiVirus, Firewalls and System Security
Solved How do I fix a corrupted directory on external USB drive?
I noticed I have a corrupted directory on my external drive and whenever I use FreeFileSync to backup my data, it flags it: 48742 Can someone please help me delete this unwanted directory? Everytime I try to delete it, I get this: 48743
Drivers and Hardware
Solved Get windows 10 key off of corrupted hard drive?
OK, so I've been in some deep crap with my computer lately. I just built a new system over the summer andg ot windows 10 on it by installing windows 7 (because I had an unused product key for it) then upgrading to windows 10. It worked perfectly for...
Windows Updates and Activation
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 05:12.
Find Us
Twitter Facebook Google+



Windows 10 Forums