Can you allocate more space to a VM after you install the OS?

We just installed a blade server with vm software.  We also just installed a san.  We allocated 50 gb for an exchange server to that blade.  We realizd we wanted more so if we go into that san can we expand the lun and have vmware recognize that?
TriCountyITAsked:
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.

almilyoCommented:
Are you using vmware's virtual disk files? You can increase the size of them with vmware-vdiskmanager

vmware-vdiskmanager -x 80Gb My_Virtual_Disk_File.vmdk

Will resize  My_Virtual_Disk_File.vmdk to 80GB. You will need to change the partitionsize inside the guest OS to make use of the extra space though.

0
almilyoCommented:
If you try that backup all your virtual disk files first.
0
TriCountyITAuthor Commented:
THis i all in beta mode so we can screw stuff up and redo it.  So how do you use that command?  Where do you type it in?
0
The Ultimate Tool Kit for Technolgy Solution Provi

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 for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

almilyoCommented:
Sorry, I should have prefaced that by saying I'm more familiar with virtual server, than the higher end products.

You'd run the command on the machine hosting the vm, search the machine for the file vmware-vdiskmanager, and run it on that machine.
0
TriCountyITAuthor Commented:
I figured you would say that :).  THis is an ESX server and I have no idea how to run commands on it.
0
almilyoCommented:
Sorry!  Never used ESX :(
0
TriCountyITAuthor Commented:
I need to figure out how to format the extra space as vmfs.
0
ahajdukCommented:
If you expand the LUN, the 50GB of space you allocated from the SAN, say by another 50GB the SAN will show a 100GB LUN, but ESX will see a 50GB VMFS and an unused 50GB of space. You will need to create an extent that will add this new 50GB of space to the original giving you a 100GB VMFS.

What version of ESX are you using ESX 2.x or ESX 3.x
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
VMware

From novice to tech pro — start learning today.