Solved

Run out of space on C: disk? Vmware 4.1

Posted on 2011-09-20
5
662 Views
Last Modified: 2012-05-12
Hi All,

I have a Virtual guest that has an out of space on C: The disk which isnt thin provisioned. THe O/S is server 2003. Is there anyway that i can increase the size of the disk?

Thanks
0
Comment
Question by:MJB2011
5 Comments
 
LVL 5

Expert Comment

by:AJS2011NZ
Comment Utility
Extend the VMDK, then use something like Dell's ExPart to extend the OS partition.
0
 

Author Comment

by:MJB2011
Comment Utility
Extend the VMDK by just increasing the disk size of the guest?
0
 
LVL 25

Accepted Solution

by:
Tony1044 earned 500 total points
Comment Utility
With 2003 this is a bit trickier than later OS's.

Extend the partition within the settings of the virtual machine in the VI console.

From within the guest OS, launch disk manager and do a rescan of the disks. I wouldn't resignature if prompted.

Then you require a third party software that supports extending server partitions (there's a LOT of free stuff but none I am aware of that does servers).

Acronis do a reasonably priced one.

Of course, given the nature of the work you're going to carry out, make sure you have a backup/snapshot first.
0
 
LVL 25

Expert Comment

by:Tony1044
Comment Utility
It would appear that the Dell expart software can do 2003 partitions, so it'd be a good place to start after extending in the virtual machine properties.
0
 
LVL 22

Expert Comment

by:Luciano Patrão
Comment Utility
Hi

First you need to increase the disk on the VMware side.
If there is any snapshots on that VM, you cannot change disk size. You need to delete that snapshots.
You should backup your VM with a proper Virtual Backup tool. Snapshots is not an option in this case.

VMware KB how to:

http://kb.vmware.com/kb/1004047


It depends on your Windows. For Windows 2003/2000 or XP you can use diskpart on the Windows Side.

In Windows XP and in Windows 2000, you cannot use Diskpart.exe to extend a simple volume on a Dynamic disk that was originally created on a Basic disk. You can extend only simple volumes that were created after the disk was upgraded to Dynamic disk. If you try to extend a simple volume on a Dynamic disk that was originally created on a Basic disk, you receive the following error message. This restriction was removed in Windows Server 2003.

Also you cannot use Diskpart on disks that have the system page file on the same partition. You need to use a 3trd parties Partition Tools to extend the disk, or you need to migrate the system page file to another partition that you are not extending.

You need to use a 3trd party Partition Tools

http://kb.vmware.com/kb/1004071

I use gparted and work ok

http://sourceforge.net/projects/gparted/files/gparted-live-stable/

For Windows 2008, vista and 7, you do not need to use any 3trd party Partition Tools, you can extend the disk on Windows side in the Windows Disk Management.

Just extend the disk, after you have increase the disk in the VMware side. You may need a reboot after extend the disk in the Windows side.

Hope this can help

Jail
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now