Solved

ESXi 5.1

Posted on 2014-01-13
7
545 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
Comment Utility
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 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
Comment Utility
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
Comment Utility
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 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

772 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

10 Experts available now in Live!

Get 1:1 Help Now