Running out of space on the guest machines in VMware

WE have  a client who is just about running out of space on both of their guest machines.
When I log into vsphere client and click on Configuration tab, and in the hard ware section I click on storage it shows Capacity 1.09 TB and 379.25 GD free.

Can I allocate that free drive space to one of the Guest Machines.
vshere.PNG
BBraytonAsked:
Who is Participating?
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.

Scott GorcesterCTOCommented:
Yes you should be able to shut down the VM, change the drive space in vcenter and the restart your VM. You will then have to extend the drive in the VM as long as the OS supports that. In Windows 2008 and newer this is very easy and in other OS's it might be a little more of a challenge.

Scott Gorcester MCITP
0
BBraytonAuthor Commented:
OK where would I have to go in Vsphere to allocate more drive space.
I'm new in Virtual so bare with me.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

BBraytonAuthor Commented:
I think i found it. DO I right click on the virtual Machine and go to edit settings.
then CLick on hard disk 1 or 2
then under Disk provisioning its set to Thin Provisioning.
Provision size you can make it larger
0
BBraytonAuthor Commented:
its set to 500 GB
and under it it telly you Maximum size is 879.gb
0
BBraytonAuthor Commented:
tells not telly
0
Scott GorcesterCTOCommented:
You can right click the VM and choose properties and there is an area where you set the hard disk size.

I will see if I can find a step by step for you. Here is some good info

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004071

Scott
0
Scott GorcesterCTOCommented:
Sounds like you are there!

Scott
0
Scott GorcesterCTOCommented:
You also want to be careful with thin provisioning to make sure that in the event you "overprovision" that you never let the physical space fill up. In other words you can create two 1TB thin volumes from 1TB of physical space but if storage needs approach or exceed your physical space your system can shut down.

Scott
0
BBraytonAuthor Commented:
Thanks!!
0
BBraytonAuthor Commented:
What would be a good approach to make sure i don't overprovision?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
see my EE Article

HOW TO:  Resize a VMware (VMDK) Virtual Disk

Two processes are involved,

1. Increase the size of the VMDK (virtual disk).
2. Expand the OS.

BUT be carefull here....because you need space on the datastore for the SWAP file equal to memory in the VM, and ALSO space for the Snapshots, if you use Backups.....

350GB, is getting very close to the limit, of using up all the space on the datastore.

So it may be wise to select a larger datastore.

If this currently thin provisioned, what is the maximum datastore size ?
0
WGSBCommented:
One addition: you don't have to shut down the guest OS to do this in server 2008 and up.  Just assign the extra space in VM > edit then in disk management in the guest OS right click the new space and extend volume.  Done!

And like Scott says do watch out with Thin provisioning.  If you go to the datastores view in inventory and select the datastore > summary tab you will see capacity/provisioned space/free space.  As he said with thin provisioning provisioned space can be greater than the total capacity.  So basically just try to keep provisioned space under capacity and create new a datastore, extend that one or move VMs if it exceeds.
0
BBraytonAuthor Commented:
The OS is SBS2011
0
WGSBCommented:
I haven't used SBS 2011 personally but from a bit of research I understand it functions the same way as Server 2008 in this respect.
0
BBraytonAuthor Commented:
Yes its based on Server 2008 r2
0
BBraytonAuthor Commented:
How about if I just add more Physical drive space. There are 3 or 4 empty bays on the physical server. I could probably add 1.5 TB
0
BBraytonAuthor Commented:
Would that be the better way to go?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That would be a much better idea.

Lets have some details, what is the server ?

Because ideally, you would want some RAID protection, is the current datastore a single disk, or a RAID volume, of many disks.

What is the physical server...because some storage controllers, you can expand the current array, others you cannot.
0
WGSBCommented:
What version of VMware is it by the way?

Adding more drive space involves several more steps in a VMware environment but is certainly an option.  With that said 379 GB free is OK depending on the provisioned space.  As a general rule of thumb you should maintain at a minimum 15% free space or more.  ESXi at least warns at 25% remaining free space and alarms at 15% remaining.  So you have 100 GB you can assign to the guest OS before hitting the warning stage.  Again, watch provisioned space.

Also removing unnecessary data under the guest OS may be an option but requires further research on the specific applications etc.
0
BBraytonAuthor Commented:
Vsphere client is version 5.1.0
Vmware ESXi Version 5.1.0
0
BBraytonAuthor Commented:
Its a raid volume of 5 disks and there are 3 more bays for more disks.
Its a Dell Power edge R520
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You may be able to add these 3 disks to the existing virtual disk set.

otherwise, you would have to create a RAID set on these 3 additional disks, and then create a new datastore.

this depends on the storage controller in use.

and you would have to take the server down, to do this, so all VMs, would be off, downtime required.
0
BBraytonAuthor Commented:
Once I create a new Datastore with the guest OS see it as unallocated Space?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No.

You will need to

1. increase the size of the virtual disk (vmdk), if not already done.
2. using disk management in the OS, select the volume and extend it into the allocated space.

the Virtual machines, does not know it's virtual server or stored on a datastore....with plenty of space.
0

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
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
Microsoft Virtual Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.