Solved

ESXi 5.1

Posted on 2014-01-13
7
555 Views
Last Modified: 2014-02-05
We have a host with 2*146GB hardisk, 48GB, 2 processors @2.0GHz. We installed and configured ESXi 5.1.0. Upon create 2 vm's of  73/60/50/40GB vharddisk, 2cores, 24GB memory, 4 network adapters, the second vm cannot power on siting not enough diskspace available to create a swapfile from 0Kb to equivalent of 3.0GB in Kb. Please, advise accordingly on how to go about the problem.
0
Comment
Question by:Mohlalefi
7 Comments
 
LVL 28

Assisted Solution

by:jhyiesla
jhyiesla earned 125 total points
ID: 39776863
Can you clarify how you have your physical disks set up and if each VM has 4 disks with the space usage that you listed?  If they do, then you just physically don't have enough HD space... assuming thick  provisioning.

Yous say 146 GB *2 and if we assume maximal space, then that works out to be 292 GB and if each VM has 4 drives with the space you list then that about 223 GB/ VM.
0
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 39776873
You will need to reduce the size of disks.

When you power on a VM, the Host Server must create a SWAP file equal to the Memory allocated in the VM, on the datastore, or it's reserved memory size.

Your datastore has ran out of disk space.

Either

1. add more storage to the datastore. (insert more disks in the host!)
2. reduce the size of the virtual disks attached to VMs.
3. reduce the memory in the VM.
4. Re-create you VMs, using Thin Disks (but there is a danger here, if you over commit in the future).

Quite simply, you have used up all your storage.

You should leave at least 20% free, on your datastore.
0
 

Author Comment

by:Mohlalefi
ID: 39776909
1.The host  have 2*146GB and raided with raid 1
2. I attached 1 virtual hardisk for each vm, trying 73GB at first, 60GB second, 50GB thirdly and lastly 40GB not all of them at the same time. With this trials the same error appear.
4. The target is to have each vm attach virtual disks of 73GB, will it be possible enough
0
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 39776928
What space do you have left on the datastore?

did you delete the virtual disks, when you created them?

check the datastore for the virtual disks?

RAID 1 only gives you 146gb of datastore.

You will be able to create two VMs with 2 x 73GB disks, total of 146GB in use, but you will be able to power them, on, because you will need 48GB for swap files.

Do you really needs 73GB disks for the VM?

Would 40GB each be enough?

Create smaller disks for the VMs.
0
 
LVL 5

Accepted Solution

by:
Steve M earned 125 total points
ID: 39776961
Do you need 24GB of ram for each VM?  if you reduce the memory to something like 8 or 16GB each, you will only need 16 - 32GB of swap space.

40GB VHD + 16GB swap = 56GB x 2 = 112GB  <-- This should work, but as Andrew mentioned, make sure you deleted your old disks from the datastore.

./Steve
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

862 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

24 Experts available now in Live!

Get 1:1 Help Now