VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 20 Replies Last post: Jun 19, 2009 6:02 AM by RDPetruska   Go to original post

Re: Unable to increase hard-disk space.

15. Oct 17, 2008 1:06 PM in response to: Shankariyer
Click to view Neilly's profile Novice 31 posts since
Apr 5, 2007
I understand that your host os is GNU/Linux (Ubuntu) and that your guest vm OS is Windows 2003 Server. The pointers that I and others have given you will work. Here again is my advice, but worded differently so as to be clearer (hopefully :-) )

A. Your Current Setup
1. Host OS : Ubuntu
2. Physical Disk holding the vmdk file : 21GB total, 14GB used, 6GB free
3. Guest OS : Windows 2003 Server
4. Guest OS virtual disks : 1 virtual disk of 14GB capacity
5. Guest OS virtual disk type : Basic (I am assuming this to be the case)

B. Goals
1. Increase the size/capacity of the Guest OS virtual disk
2. Make all of the increased capacity appear as a single drive C: in the guest OS.

C. Method (my recommendation)
1. DO NOT perform a vmware-vdiskmanager expansion of the vmdk file - you do not have enough free space to do this, so....
2. DO create a second vmdk file and add it to the set of resources available to your guest OS as a second drive. This second drive will be 6GB in capacity, thus equaling the free space available on your host's 21GB drive.
3. Boot up your Windows 2003 guest vm. It will see the normal unchanged drive C: and a second drive that is not formatted or partitioned and has a capacity of 6GB.
4. In your guest vm running Windows 2003 convert your C: drive from a Basic disk to a Dynamic disk. This will let you add the second disk (and a third and fourth and so on) to the C: drive thus expanding the capacity of the C: drive dynamically. This will not create a D: drive nor require managing junction points etc.

If you are unfamiliar with the concepts and procedures of Windows' Basic and Dynamic disks then I suggest you do some Googling :-)

Hope that this is a clearer explanation and gets you what you need.

Cheers,

Ron

Re: Unable to increase hard-disk space.

18. Oct 18, 2008 6:03 AM in response to: Shankariyer
Click to view gps_guy's profile Novice 16 posts since
Aug 8, 2006

You can't use the "extend" command on a c: (boot) partition directly. You need to boot from another disk first. In the past, I've booted from a Knoppix Live CD and then used qtparted to resize the C: partition. You could use the VMware converter to do a P2V conversion (though the original already a VM) and resize it during conversion.


Re: Unable to increase hard-disk space.

19. Jun 19, 2009 4:28 AM in response to: gps_guy
Click to view Vimalblog's profile Lurker 1 posts since
Jun 16, 2009

can you please send cross the steps or screen shot how to increase the space in c:\ drive by using vmware converator..

can any one help me....


Re: Unable to increase hard-disk space.

20. Jun 19, 2009 6:02 AM in response to: Vimalblog
Click to view RDPetruska's profile Guru 15,877 posts since
Jan 11, 2005
Refer to Eric's page for MANY different methods for resizing virtual disks. http://vsphere-land.com/tips-tricks/re-sizing-virtual-disks

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities