Link to home
Start Free TrialLog in
Avatar of c00kie88
c00kie88Flag for Australia

asked on

Could not power VM - no space left on device - Help please

Hi all,

I have this issue where 2 of my Vms have problem starting up. The error message are:

"Could not power on VM. No space left on device and insufficient disk space on datastore"

I have 2 hosts which are: VM1 and VM2

One of VM machine in VM1 and VM2 are refused to start because of space issue.

I have no idea why running out of space.

My questions are:

1. When i do backup  with Veeam free edition to external HDD, Does it create snapshots in datastore?

2. How do i access Datastore (HP SAN P2000) data if i have no Vcenter so that i can see what data/folders inside the datastore and delete it?

3. Is it really the datastore that running of space or the actual Vmserver itself?

I did SSH connection to VMserver as per Vmware documentation, it seems ok.

I suspect i have delete some vmdk files, but i have no idea where it is.

Please help




Thank you
SOLUTION
Avatar of Pradeep Dubey
Pradeep Dubey
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of c00kie88

ASKER

Hi Pradeep,

OMG... no wonder i'm running out space..

How do i know which vmdks file belongs to the veeam backup? Is there any clue?

There are so many of them


Thank you
You may use the VEEM backup application to find which snapshot it created during the backup and also note which are failing..

You can use disk consolidation option to get rid of such snapshots.
Hi Pradeep,

When i go back to my Veeam backup, the filename is not the same with the one in the datastore.

In the veeam backup, the file extension is *.vbk and in datastore is vmdk.

For the disk consolidation, I dont have management centre :( so can't use it.
you can just right click on VM select snapshot and click on consolidation.

User generated image
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1023657
Hi Pradeep,

I don't have the consolidate option. But anyway, i was able to go to Snapshot Manager, "Delete all" because i found many "consolidate helper" (not sure what this means). When i did select delete all, the process was stuck on 95% and i left it running overnight and went home.

When i came back, "the consolidate helper" has disappeared but i'm not sure if the process has been completed without error or not because when i checked "recent tasks" section, the history has disappeared.

When i browse the datastore, i still see so many files (see attached) and it's only for one machine. Other VM machine don't have those extra files.
Attachment is missing...
Hi Pradeep,

See attached.
imge.PNG
They are snapshot files.
see the below link for more info about the snapshot file name conventions
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc%2FGUID-38F4D574-ADE7-4B80-AEAB-7EC502A379F4.html
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi all,

Andrew, thanks for the articles. a bit overwhelming but it helps me a lot.

I find that 2 of my main  machines are running on snapshot.

Could you please help me if i'm at the right path?

I have to try to delete those delta snapshots to claim my storage space.

I will follow below instruction

http://searchvmware.techtarget.com/tip/Troubleshooting-VMware-snapshots

What is VM's home location refer to? and how do i check it?
Hi all,

I have tried creating snapshot, deleting snapshot from "snapshot manager" but it's not removing the "delta" snapshot.

so my next choice is cloning the VM. When i do the cloning, should i clone with or without the delta files and snaphots?

Am i in the right direction here?
Okay, CLONE the VM, by nature of cloning the VM, the new CLONED VM will not have any snapshots, and then you can delele the old VM, and use the new CLONED VM.

So, just CLONE the existing VM, you have issues with, and do not worry about the snapshots, just go ahead and CLOLNE....
Hi Andrew

okay.. finger cross. i'm cloning one of the vms using the vcenter converter standalone (disk based cloning) now. 8 hours to go.

Once the clone completed, i assume i can delete the old Vms and the delta/snapshot file that come with it?
Just Delete the VM, and it will remove all files associated with the VM including the snapshots.

BUT before you delete the VM, make sure you test your CLONE VM.
Hi Andrew,

The clone has been completed. I'm testing the clone now to see how it goes.
you have done cloning now verify the disk as well. Make sure VM has single disk and its running on it (cloned VM). Once you have check these things you can delete the old VM, I recommend first move them from another datastore once then check the existing cloned VM.

By moving it will ensure nothing is dependent on these files.

keep the cloned server running.
test it with power off / restart as well.
Hi Pradeep,

How do i move it to different datastore?

I have turned off my old Vms and running on the cloned one now and so far so good.
Browse the datastore and use Cut and Paste.
Hi all,

I'm unable to clone one of my server which is SBS 2011.

I got an error message "Unable to obtain hardware information".

All the disks are basic disks no dynamic disks.

I have tried VMware suggestion as per link below but still no luck.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2059581

When i tried option 6 from the link above, i have different error message something to do with can't contact - something to do with network.

When i do clone, i turn off the machine, and i choose vmware infrastucure virtual machine as source type. I tried choose "powered on" machine as source type with remote machine type but still no luck.

Any idea?
see the error message as attached when i connect while the machine turns on.

The only thing  i havent tried is installing the vconverter in the SBS 2011 server itself.
error.JPG
This is using VMware Converter?

Have you installed VMware Converter on the VM to be converted?

Do you have any space on any other datastores to create a clone?
This is what i did:

I managed to get it clone when it's powered on. I checked because of the windows firewall.. I have missed one setting. Silly me.

But i still unable to do clone when it was off. I have installed VMware converter on the VM to be converted.

Is it true that i'm not supposed to clone Domain controller? My SBS 2011 is a DC, Exchange , DNS and DHCP.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial