Link to home
Start Free TrialLog in
Avatar of Thor2923
Thor2923Flag for United States of America

asked on

expanding C drive Vmware 2003 server

I have a situation that needs to be fixed quickly and a mistake could cause me serious issues. We have our Exchange CAS server and the C drive is running out of space. We used EDIT SETTINGS in vpshere and increased its size from 20GB to 45GB. We now look in disk management and see 25GB unallocated. How can I add this to my C drive or can I? The C drive is BASIC and NTFS. We are using Vmware 5
Avatar of SebastianAbbinanti
SebastianAbbinanti
Flag of United States of America image

Shutdown the VM.
The mount the VMDK to another VM.
Use Disk Manager to extend the partition.
Then unmount and remount to the correct VM.
As always, backup your VM before you begin.

Thanks,
S.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I boot to a gparted live ISO and use it to resize the partition to use all of the new space: http://gparted.sourceforge.net

It's quick and easy!
Avatar of Thor2923

ASKER

should I remount the vmdk to a 2008 server?
The 2008 server should work fine.

Thanks,
S.
What server is this Windows 2008 or Windows 2003?

there is no need to remount anywhere, and risk corruption, or shutdown!
As the question list only in windows server 2003 zone (topic), i will assume its a windows server 2003...

shutdown the machine/ and back it up.

user accronis disk director to extend C drive :
http://www.acronis.com/homecomputing/products/diskdirector/

restart the machine.
Acronis may not be free.

Take a snapshot. Use extpart utility from Dell. Extend and reboot. If it works without errors then remove the snaphot.
download dell extension disk utility.
this will be best and easy to use.
and on windows 2008 its in min
increase space from vc center in vm properties then go to disk management in 2008.
select c drive and click expand.
I followed the link in this answer and found a method I used once but could not recall the exact details, DELL EXTPART. It specifies that you cannot use this solution in a 64 bit environment, but this is not true. You just need to download the tool onto a 32 bit PC and extract it, then copy the DELL\EXTPART folder over to the server you want to expand the drive on. I WORKED LIKE A CHAMP!  You just have to type extpart C: 4096 or how ever much you want to expand by. Do you forget to increase your drive size in the "edit settings" section of the VM. This is much easier than booting to GPART or trying to mount and unmout drives to a 2008 server.
I agree, need to update article, however most newer 64 bit OS, have the Extend Option in Disk Management, so no need to use any third party utils!

Glad resolved easily and quickly, and in realtime, with no downtime!