vmware datastore full

Dear experts,
i've a single virtual machine on a vmfs 5 datastore of 2Tb . The vsphere console says that i've just 15Gb capacity free on the datastore . But i've a Windows 2012 server on it with a single volume and Windows shows that i've over 1,5 Tb free. How is this possibile?
If i try to copy files from another server via xcopy i receive a full volume error. I've just one snapshot who takes about 16 Gb.
Is there a method to rebuild the
Who is Participating?
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.

I would use the datastore browser to check and see what information is on the datastore. Even if you only have 1 server with just 1 snapshot, the data should be somewhere on it.
tachimiriAuthor Commented:
Hi, this is the datastore content. It seems correct
I might be mistaken but your server size is 1,7 TB so that would explain why your disk is almost full..
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

And even if your Windows disk isn't full, if you didn't create a thin provisioned disk (which is not what you did looking at the screenshot) it will immediately take up all space that is needed for the server.

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
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
When you create a virtual machine disk, which is Thick, it takes away the space from the datastore immediately, even if there is no OS or space used by the virtual machine.

It's Best Practice to create a small virtual disk, and grow as you need, because it's difficult to shrink a virtual disk.

But there are methods....see my EE Articles

HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes

HOW TO:  Resize a VMware (VMDK) Virtual Disk

HOW TO: FAQ VMware P2V Troubleshooting

HOW TO: Shrink or Reduce a VMware Virtual Machine Disk (VMDK) using VMware vCenter Converter Standalone v5.5.2

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5.2 - OpenSSL HeartBleed Fix included in this version
You have to think of the concept. A Datastore is a hardwarelevel Storage with a filesystem vmfs5 in your case. In that your guest OS Windows 2012 puts files and virtually there is anotherfilesystem. Thats clear i hope. So there is no depency between the file (Win2012) and the space is used in datastore.

Its depending the size of the file in the config if it is thin or thick. Thats the magic.
tachimiriAuthor Commented:
Tanks to all. I've understood teh concept but the problem was the vmware full space message during the file copy.
Now i see that the problem was due to swap file. There wasn't enough space to increase this file. I've moved it to another datastore and now it works fine.
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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.