VMworld

This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Feb 20, 2008 6:52 AM by David Waldron  
Click to view prashant's profile Candidate 1 posts since
Nov 16, 2007

Dec 17, 2007 12:33 AM

Disk expansion


I've a vmdk file of 15GB which contains a partition of 6gb C: drive. and remaining 9gb space unused.

I' need to expand the partition to 12gb. can someone suggest different ways to make it possible without loosing data.

System must boot after expansion.

Click to view marcel s.'s profile Candidate 5 posts since
Dec 21, 2007
1. Dec 21, 2007 6:38 AM in response to: prashant
Re: Disk expansion

if the 9gb unformatted space is located "behind" your 6gb partition, it is no problem to expand the 6gb partition with third party tools like partition magic or something like that without having to be afraid of possible data loss, this is a common way.

unfortunately, windows has not implemented a file system which can deal with lvm's like Unix.

Click to view David Waldron's profile Candidate 7 posts since
Feb 20, 2008
2. Feb 20, 2008 6:52 AM in response to: prashant
Re: Disk expansion

There are a number of methods to extend your drive that are all fully supported. The first, and simplest (but possibly the most dangerous in a physical environment and not recompensed by me personally) is simply to extend the volume if it is 2003 (must convert to a dynamic disc first) or to create a volume set in 2000. I wouldn't do this in the physical world, but in the virtual world where you can backup the vmdk, create snapshots, etc, it is far less potentially dangerous.

Microsoft also provides a utility called diskpart (that can be downloaded from their web site) that can be used to expand partitions in both physical and virtual drives. There are a couple of caveats to the application, however:

1) You cannot expand the running system partition (C: Drive) with the newest version of the tool, so you would need to boot to a PE Disc or another windows installation on another drive in order to run diskpart on the C drive.
2) If you find a copy of the Windows 2000 version of the tool, you can expand the running system drive but will most likely need another program called fsextend to extend the file system after the partition has been extended.

Lastly, use the VMware Converter. Even the starter edition has the ability to convert a virtual machine to a virtual machine and resize both the partition and the vmdk.

HTH

--Dave

h h h h h h h h h h h h h h h

-->