Vmware Esxi insufficient resource error

Dear ,

I have a windows server 2008 R2 Running on Vmware esxi 5.5 .. This server was running out of Space ( C : Drive : windows installation path )

I was planning to increase the size of C drive and unfortunately I forgot to do that and I did a shutdown to the server before that .

after the shutdown the server is not starting up and it keeps giving the error ( insufficient resource error ) , .. ( from Vsphere client)

the server is very critical and I want to start it again by anyhow as the configuration done on it was very complex

Please Assist
mu3tasemAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Do you have enough Memory and CPU in the host to start the VM ?

Do you have enough storage space on the datastore to start the VM ? (remember that the host creates a swap file on the datastore which equals the size of memory allocated to the VM) - if it cannot create the VSWAP file the VM will not start.

So I would check those three items first ?
mu3tasemAuthor Commented:
I did not change anything before the shutdown .. the host has enough resources for the three..

the data store has limited space free..  this is the only remark I can see
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the data store has limited space free..  this is the only remark I can see

that could be the issue.

Please post a screenshot of the error message for confirmation. Please post screenshot of storage space free on datastore, post screenshot of RAM in VM?

If your VM has 64GB of RAM, you must have at least 64GB of space on the datastore, or it will not power on.

If someone has created a new VM, if your VMs have snapshots attached, this can use up storage space

Do you have enough free space on datastore, which is the same size as RAM in VM?

Reduce RAM in VM, may get the VM restarted?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

mu3tasemAuthor Commented:
I reduced the memory and it didn't work. Enclosed the sceenshots
error-when-power-on-the-vm--upper-in.PNG
error-when-power-on-the-vm--bottom-i.PNG
data-Store-space.PNG
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, you have 17 Mega Bytes on the Datastore.

So you VM can only have 17MB of MEMORY!

This is WHY

YOU DO NOT HAVE ENOUGH RESOURCES.

Clear up space on your datastore, you must ensure, you keep the datastore 20-30% FREE!
mu3tasemAuthor Commented:
how I can do the clear up or increase the space of the data store from the existing resources .. I don't want to delete any of the other VMs
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will have to examine the datastore of all your VMs, and remove unwanted files, check you do not use your datastore for hosting ISO files or any other files.

You will need to check all your VMs for snapshots, and check and clean them up.

see my EE Article

HOW TO: VMware Snapshots :- Be Patient

Maybe reduce storage space, or remove VMs....

without understanding you existing setup and server, it's difficult to speculate how you can add storage space.

Increase datastore or add datastores.

BUT whilst you had this VM off, something must have used it's storage space....
mu3tasemAuthor Commented:
I will go through the files and check what I can delete ... what is my target in this case? I should increase from 17 MB up to what?

and if reduce the server memory will the space needed be less?  .
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The critical server, what RAM is assigned to this VM ?

this is the space you need FREE on the datastore.
mu3tasemAuthor Commented:
deleting the files will not be enough to allocate the space .. is there a way to shrink existing provisioned space

for example server 1 is provisioned with 80 GB .. can I shrink it to 70 so the 10 GB will go to the datastore ?> if possible I can apply it to another server also so the total will be sufficient to cover
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The only supported method of shrinking, is to use a V2V - VMware Conversion but you will need the shrinkage space to create this smaller copy, without any storage space you will have to delete or move VMs.

You should reserve 20-30% of the datastore, so that it's not used.

Do you only have a single datastore on this server ?
mu3tasemAuthor Commented:
HI Andrew ,

i have found some ISO files and i could delete them ... the server is up NOW !! THank you ALot

I want to upgrade the C deive size from windows prospective .. what is the best practice to do
?
mu3tasemAuthor Commented:
can you also please calrifiy why thgis error happened ? i am sorry but i didnt understand the relation between datastore limitation  and the RAM..
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
HI Andrew ,

i have found some ISO files and i could delete them ... the server is up NOW !! THank you ALot

I want to upgrade the C deive size from windows prospective .. what is the best practice to do
?

Good,  this is a new question I believe your question has been answered, please select a solution and close this question. Please post a new question and myself of other experts will glady answer it.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
can you also please calrifiy why thgis error happened ? i am sorry but i didnt understand the relation between datastore limitation  and the RAM..

When you Power ON a virtual machine guest, The Host Creates a memory SWAP file called vSWP equal to the memory allocated to the Guest VM, on the datastore in the same folder, if you look at the datastore you will see one for each VM powered on!

No storage space on the datastore, does not have the ability to create the VSWP file, and hence cannot power on the VM, this is by design, and is used if the Host does not have enough RAM for the VM.

see here

https://kb.vmware.com/s/article/1030719

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
mu3tasemAuthor Commented:
Dear Andrew ,

Thank you alot for your support ; your interfere was really helpful

Regards
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
VMware

From novice to tech pro — start learning today.