Extra AVHDX files

sglee
sglee used Ask the Experts™
on
Extra avhdx filesHi,
  I have a HyperV  virtual machine that has two disks (P...K1-0.vhdx & P...K1-1.vhdx) - C drive and E drive. Each drive carries three files (vhdx, vhdx.mrt vhdx.rct).
 But then there are extra files of avhdx (4AD ...avhdx & B59...avhdx) seen on the screenshot and I like to get rid of it.
 Here is how they are created.
 I created new virtual machine using first disk - P...K1-0.vhdx. But when I tried to add 2nd disk (P...K1-1.vhdx), I added it to the wrong existing virtual machine (called TS1).
 When I eventually added 2nd disk (P...K1-1.vhdx) to the right virtual machine and started the VM, it complained about "file being currently used ...".
 So I rebooted the hyper-V server and was able to start my virtual machine with P...K1-0.vhdx & P...K1-1.vhdx. But my TS1 VM would not start saying "file being currently used ..." and it was put in "saved state". I deleted "saved state" from TS1 and now TS1 is working now.
 However during this process, two sets of extra avhdx, MRT and RCT  files were created and I like to delete them because they are not used and not intended.
 But I just wanted to check to make sure that I can delete them without casuing problems. Fyi, I have not created any snapshot for any VMs in Hyper-V server.

 Can I just delete them?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Snapshots (past name checkpoints).

Same as VMware vSphere - manually delete them, and you could end up with corrupt VM.

see here

To understand Hyper-V Snapshots further consult this article

Hyper-V Snapshots FAQ

Author

Commented:
@Andrew
I read the article, but they don't address my particular situations.
Again I did not create snapshots. None of existing virtual machines are using  any of these avhdx files.
When I click each VM, I don't see any history of snapshots.
I know that backup programs creates snapshots during the backup time and delete them when the backup is finished.
Perhaps these were created by backup programs on the day or after the fiasco and are left as an orphan ?
These files have 12-16-2018 dates.
I will try to delete them over the weekend.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
I know that backup programs creates snapshots during the backup time and delete them when the backup is finished.

and if they were created by a backup application, they do not come under the management of the VM, via Hyper-V.

Do you use a backup application?

SUPPOSED TO  delete them when the backup is finished

but many DO NOT
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Author

Commented:
Let me delete them over the weekend and report back.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Rather than delete them MOVE them, just in case they are required, otherwise the virtual machine disk will be corrupted.

Author

Commented:
I moved those 6 avhdx files to a temporary folder, rebooted the VM, and VM is working fine.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial