VMware vSphere

 View Only
  • 1.  howto fix this ??? multiple vmdk files

    Posted Jul 27, 2014 10:59 AM

    This night the vmware server stoped some servers because disc space was low

    Currently I see for one server multiple vmdk files

    The server was configured for  400 G but it has 1.18 T :smileysad:

    I removed the snapshot from the snapshot manager but they where not consolidated into one file.

    So in the snapshot GUI there are no snapshots anymore

    When i see the vmx file i see that the 3th vmdk file is used as disc but the size does not match the server size



  • 2.  RE: howto fix this ??? multiple vmdk files

    Posted Jul 27, 2014 11:38 AM

    You need enough place. Then make a new snapshot and delete it immediately or you can use the vmkfstools after shutting down the srvmail01-VM. The syntax would be:

    vmkfstools -i srvmail01-000003.vmdk new_srvmail01.vmdk

    As result you get a clean VMDK without any snapshot.

    Then you can change the disk name either in the VMX file or you rename "new_srvmail01.vmdk" back to "srvmail01.vmdk" via vmkfstools:

    vmkfstools -E new_srvmail01.vmdk srvmail01.vmdk



  • 3.  RE: howto fix this ??? multiple vmdk files

    Posted Jul 27, 2014 11:49 AM

    I still see snapshots in your VM's folder.

    All the vmdk's with -0000x.vmdk are snapshot files. Do you have a backup software that takes a incremental backup of your server? I ask this because you have CBT anabled on your VMDK's and i have seen this happen many a times with backup softwares.

    They take a snapshot and fail to commit. This causes snapshots to pile up unnecessarily. Do you see any errors under Tasks and Events?

    Can you manually take another snapshot and the do a Delete All operation? This will consolidate the disks.

    Before you do anything be sure you have a backup.



  • 4.  RE: howto fix this ??? multiple vmdk files

    Posted Jul 27, 2014 03:00 PM

    Welcome to the Community,

    which version/build of ESXi do you currently use? Depending on the version/build you will need more or less temporary free disk space on the datastore to be able to delete the snapshots. The issue in this case is most likely caused by the thin provisioned virtual disk. If you are using ESXi 4.0 Update 2 or later, and there are no other virtual machines with thin provisioned virtual disks or snapshots, which may grow, you should be able to delete all the snapshots with approximately 20-25 GB free disk space. If you can free up that much disk space, create a new snapshot for the VM (with the VM powered off) and then select "Delete All". Due to the sizes of the snapshots deleting the snapshots might take a few hours, so please be patient.

    André