vmware datastore full

Posted on 2014-08-22
Last Modified: 2014-08-22
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
Question by:tachimiri
    LVL 23

    Expert Comment

    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.

    Author Comment

    Hi, this is the datastore content. It seems correct
    LVL 23

    Expert Comment

    I might be mistaken but your server size is 1,7 TB so that would explain why your disk is almost full..
    LVL 23

    Accepted Solution

    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.
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    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
    LVL 8

    Expert Comment

    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.

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
    VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
    Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
    Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now