?
Solved

Create new virtual drive in existing Virtual Machine - in VMWare

Posted on 2015-01-18
37
Medium Priority
?
226 Views
Last Modified: 2015-01-28
We created a new virtual machine in VMware that is using a Datastore of 2.7 tereabytes. It is the only virtual machine on that datastore. The virtual machine was created with it's original virtual drive space of 100GB. That would theoretically leave 2.6 TB of remaining space to create additional virtual drives that the operating system (Windows Server 2008 R2) could recognize. When we try to create an additional virtual hard drive of 1TB it says that there is not enough space available to do that. We also tried to expand the existing virtual hard drive to greater than 1TB , but the maximum it will allow us is 768GB. What are we doing wrong. We and to create two additional virtual hard drives that the OS will recognize, each of 1TB in size.
0
Comment
Question by:zargf8ns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 20
  • 17
37 Comments
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556167
What version of ESXi are you using ?

Was it converted from ESXi 4.x to 5.x ?

We created a new virtual machine in VMware that is using a Datastore of 2.7 tereabytes. It is the only virtual machine on that datastore. The virtual machine was created with it's original virtual drive space of 100GB. That would theoretically leave 2.6 TB

Correct, but it would be slightly less than 2.6TB, because there is space required for the 100GB VMDK, and also, a virtual swap file is created the same size as memory allocated in the VM, when powered on, so yes, approximately 2.6TB should be available for other VMs to be created.

What space does it show free on the datastore ?

Your VM does not have any snapshots attached ?

Can you upload screenshots of VM folder and datastore ?

see my EE Article to check if you have snapshots

HOW TO: VMware Snapshots :- Be Patient
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556316
Andrea - thank you for your quick response. I have attached a PDF slideshow for your review that should answer your questions. The ESXi installation was not converted from 4.x .... it was a fresh install of 5.X .... I do not think we have created any snapshots of the VM in question. We just created it yesterday to be Backup Domain Controller. Thanks for your help. Joe W. \ Safe Harbor
New-Virtual-Drives-in-Esxi-5-1-0-799733.
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556330
if you look at datastore4, which is 2.7TB in size, the free space presently is 645GB, so this is the reason why you cannot create a 1TB virtual machine disk, because it does not have the space.

So we need to investigate what is currently stored on datastore4.

select the datastore and click browse....
0
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556335
Andrew - here's a snapshot of Datastore 4.
Datastore4.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556368
can you screenshot the disk settings in the VM ?

this is extremely odd, and also screenshot the root of the datastore ?
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556408
Andrew - sorry for the delay - here are some screen shots ... We noticed when the VM was first created we could not use all of the 2.7TB of space that was on the datastore ... only 2.1TB ,  with the remaining 645.52GB that could be used for something else.  Why were we initially limited to that space?    Joe W \ Safe Harbor
DiskSettingsIn-VM-1.jpg
DiskSettingsIn-VM-2.jpg
DiskSettingsIn-VM-3.jpg
DiskSettingsIn-VM-4.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556410
something is not correct with datastore4.

can you check the root of datastore4 in the datastore browser?

if you look at the screenshot, it states the maximum size of disk will be approx 740GB, which is taking the free space into consideration.

it looks like the 2.7TB is not created correctly.

What is the datastore, you have 1,2,3 and 4, what are these created on ?
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556428
They are SATA drives that are installed on a Dell PowerEdge T110, with Virtualization activated. ESXi 5.1 is installed at the root of this server and loads on bootup.  Each of the datastores are on a separate SATA drive. There is no RAID configuration involved with any of the drives. Each drive is recognized individually. Isn't the 740GB space the remainder of the 2.7TB drive ?  I  know the numbers don't quite match up. I hope I gave you the correct screen shot for the Datastore Root. Thanks, Joe
DataStore-Root.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556462
Yes, but it does not make sense....

you have a 100GB virtual disk, on a 2.7GB datastore, and it states 645GB is FREE.

so these are SATA 3TB disks ?

the screenshot is not quite correct, go to the datastore4, and click browse, and select the root.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556474
Datastore 4 where this new VM is located is a 3TB drive. Datastore 1 is 2TB, Datastore 2 is 1TB, datastore 3 is 3TB, Hope I got the correct screen shot for you. Joe W.
DataStore-Root-2.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556484
correct, place can you click the "/" - the root of the datastore!
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556492
OK - hope I got it right this time ... Joe W.
DataStore-Root-3.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556500
Okay, I think you will need to move the current VMs off this datastore, and re-format.

the other 3TB datastores are correct , on the other SATA disks ?
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556517
Can you give me a quick guide on moving the VM? We do not have Vmotion, just one ESXi server. And, do you reformat Datastore 4 within the VMware interface ? Have not done this before.  Joe W.
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556521
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556596
OK - the VM that is in Datastore 4 has been copied to another location. What is the procedure for reformatting Datastore 4 properly ?  Joe W.
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556636
BUT before you DELETE, can you select the datastore4, and select Properties, and screenshot here....

let me have a look before you delete...it.

Right Click the datastore4, and select DELETE.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556644
Here it is .. Joe W.
Datastore-Properties.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556672
Nothing, that seems odd with those properties.

Right Click the datastore4, and select delete.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556680
Got this error when I tried to delete the Datastore. Joe W
DatastoreDeleteError.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556690
Yes, I thought as much.

What make and model of server is this?

Is it on the HCL ?

You are going to have to, check the disk at the console or via SSH ?
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556715
I deleted the VM that was associated with the Datastore. I could then delete the datastore. I will now add the datastore back as datastore 4. Are there any special steps I should take in order to prevent this problem from happening again? Joe W.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556722
I recreated datastore 4, but since it said that the maximum size could only be 2.1TB, I made the size 1.955TB. Can we now copy back the VM I saved earlier to one of our server back into this datastore and use it as a VM ?
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556730
what does it state the free space is ?
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556744
Here's a screen shot .... I'm uploading the VM I saved to it now. Says it will take approx. an hour. Hope I'm not messing up. Joe W.
New-Datastore4-Free-space.jpg
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556749
looks better, but I'm still confused, as to WHY, it appears to be the same model of SATA 3TB disk as datastore3, but is missing 1TB!

the only method would be to check the disk, (outside of ESXi), reboot and use a disk eraser on the disk, to completely destroy any data on it, and then re-check in ESXi.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556759
If I put a brand new WD 4TB hard drive in it's place and create a new datastore 4 (let's assume that there aren't any problems with portioning, etc ...), can I copy the VM I copied earlier to another location back into the new datastore 4 and then point a new VM to the VM folder in datastore 4 and make it work ? Joe W.
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556773
Yes, that will work.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40556776
How do you point to the VM that's copied into the new Datastore 4 ?  Joe W.
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40556779
Browse to the VM Folder, Right Click the VMX File, and Select Add to Inventory.

It's covered in my EE Article.
0
 

Assisted Solution

by:zargf8ns
zargf8ns earned 0 total points
ID: 40566126
Deleted all VMs on datastore4. Replaced the datastore4 drive (3TB) with a new 3TB hard drive. Added that new drive as datastore2. Created new VM running Windows Server 2008 R2 (100GB in size). Can make additional virtual drives on datastore2 if necessary. Installing new drive has solved the initial problem. We are now in good working order.
0
 

Author Comment

by:zargf8ns
ID: 40566132
I've requested that this question be closed as follows:

Accepted answer: 0 points for zargf8ns's comment #a40566126

for the following reason:

Feedback from Expert was invaluable. My comment was simply to recap what had been done, using the Experts Advise.
0
 
LVL 123
ID: 40566133
If my Answers have been Helpful, please assign points.
0
 

Author Comment

by:zargf8ns
ID: 40566137
Ooppssss ... OK, will do. Joe W.
0
 

Author Comment

by:zargf8ns
ID: 40566142
How do I assign points after the question is closed. I don't see a link.
0
 
LVL 123
ID: 40566246
Next to the post, Top Right, select Accept Multiple Solutions or Accept as Solution
0
 

Author Closing Comment

by:zargf8ns
ID: 40574830
Just recapping the conversation. Expert was invaluable.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
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 use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Suggested Courses

752 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