ESXi

 View Only
  • 1.  No space on storage.

    Posted Nov 28, 2012 07:32 AM

    Hi. I want to describe my scenario and i hope that someone could tell me what i did wrong, because i could not see why there was no more space on the storage.

      I have created a vm with 2 partitions, the OS partition 60 GB and the data partition with 650 GB. The storage capacity is  1000 GB.

      On that vm i have installed windows 2008 R2 and SQL server 2008 R2. I have created a database and then in that database i have tried to import a backup of a database. The backu file is 460 GB big and it is on an external disk. During the import, about 60 % or 70 % i got error in vSphere 5 that there is no more space on that storage.

      There is no more space for virtual disk Host_1-000001.vmdk. You might be able to continue this session by freeing disk space on the relevant volume and clicking retry.

       The way i see it this 00001.vmdk was created by vsphere during the import, as a temp file, because i see its gone now. And it was like 300 GB big. How should i set up the datasetore and the vm? Should i have at least 600 GB free on the datastore to make sure that vSphere has enough space to create the temp file?

          Thank you.



  • 2.  RE: No space on storage.

    Posted Nov 28, 2012 08:51 AM

    It sounds as though you have created a snapshot on the virtual machine. If you deleted the snapshot, then copied the data to your virtual machine then it should work ok.



  • 3.  RE: No space on storage.

    Posted Nov 28, 2012 08:53 AM

    Hi. Yes it there was a snapshot. It was a small one, created when the vm was created. Is this the reason why the temporary file was created? I will give it a try. Thank you!



  • 4.  RE: No space on storage.

    Posted Nov 28, 2012 08:57 AM

    Hi,

    Yes, once you created the snapshot, your data would have been copied into the snapshot file, rather than the VMs disk. When you delete the snapshot the data is merged. If your datastore was 1 TB and your VM is configureed to use 700 GB or so, then after your snapshot, copying 400 GB of data to the VM could fill the datastore.



  • 5.  RE: No space on storage.

    Posted Nov 29, 2012 12:02 AM

    You may want to take a look at http://kb.vmware.com/kb/1015180 for a description on how snapshots work in VMware products.

    André



  • 6.  RE: No space on storage.

    Posted Nov 28, 2012 08:54 AM

    The import won't use any additional storage space, but you will have to account for the swap file - amount of allocated ram minus any reservations.

    This 0001.vmdk is probably left over from a snapshot. Do you have any active snapshots on this VM?



  • 7.  RE: No space on storage.

    Posted May 22, 2013 12:53 PM

    Hi. Once the snapshot removed, all was ok. Thank you all for your answers.

    Best regards Alex.:smileyhappy: