Files remain in source datastore after Storage vMotion

Recently I did Storage vMotion on a few servers in vSphere 6.0  and  noticed the same files  remain in the source and destination datastore.  I  find this behaviour confusing, since I was expecting the source datastore to delete all the files automatically after the sVM.

Any idea why this happens and how to fix this going forward.
cgeorgeisaacAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Normal behaviour after a storage vMotion, some files can be left behind, BUT check which ones are in use!

and you can then dispose of the orphans.
0
cgeorgeisaacAuthor Commented:
I think it is orphaned files.  Mostly it is "slots" and few delta files.
How can I find out if these files are in use?  I did not find these files in the new (destination) datastore.
Unable to delete.  SOIC is not enabled.    
Is there an easier way to delete these files.
Not too sure if rebooting the EXSi Host will help.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
To avoid confusion you may try consolidating the VM. This will remove snapshot and if you still find the  files those are orphan.

Usually if you migrate the VM what so ever is not associated with VM will be leftover. If it is associated and not able to move then your storage vMotion will not be completed.

You may also try touch command to see if those files are in use. Go to VM directory type "touch * " see if those files are busy.

For sure those leftovers are orphan files.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.