• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Create new virtual drive in existing Virtual Machine - in VMWare

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
zargf8ns
Asked:
zargf8ns
  • 20
  • 17
31 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
zargf8nsAuthor Commented:
Andrew - here's a snapshot of Datastore 4.
Datastore4.jpg
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
can you screenshot the disk settings in the VM ?

this is extremely odd, and also screenshot the root of the datastore ?
0
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
correct, place can you click the "/" - the root of the datastore!
0
 
zargf8nsAuthor Commented:
OK - hope I got it right this time ... Joe W.
DataStore-Root-3.jpg
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
Here it is .. Joe W.
Datastore-Properties.jpg
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Nothing, that seems odd with those properties.

Right Click the datastore4, and select delete.
0
 
zargf8nsAuthor Commented:
Got this error when I tried to delete the Datastore. Joe W
DatastoreDeleteError.jpg
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what does it state the free space is ?
0
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, that will work.
0
 
zargf8nsAuthor Commented:
How do you point to the VM that's copied into the new Datastore 4 ?  Joe W.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Browse to the VM Folder, Right Click the VMX File, and Select Add to Inventory.

It's covered in my EE Article.
0
 
zargf8nsAuthor Commented:
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
 
zargf8nsAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If my Answers have been Helpful, please assign points.
0
 
zargf8nsAuthor Commented:
Ooppssss ... OK, will do. Joe W.
0
 
zargf8nsAuthor Commented:
How do I assign points after the question is closed. I don't see a link.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Next to the post, Top Right, select Accept Multiple Solutions or Accept as Solution
0
 
zargf8nsAuthor Commented:
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.

  • 20
  • 17
Tackle projects and never again get stuck behind a technical roadblock.
Join Now