yesterday night I converted a physical server into a virtual one. I used the vCenter Converter from VMware for this task. After converting and deploying the server as a virtual machine I enlarged the virtual hard disk. This was one of the main reasons for the virtualization. After resizing the virtual hard disk, I wanted to assign the newly gained disk space to the existent partitions. So I started the VM with GParted Live and wanted to assign the free space to the other partitions. But, for some reasons, GParted wasn’t able to enlarge the partitions. Shrinking would have worked, but enlarging didn’t.
After this I tried a commercial tool. This one seemed to be able to resolve this task. But what can I try before buying the commercial tool? What am I doing wrong? It’s not the first time I enlarged partitions using GParted, it always worked fine. Except this time.
I’m on VMware Server 2.0.1 (I know, 2.0.2 is out, will update as soon as possible) running on Debian 5.0 on a DELL PowerEdge. The guest OS is Windows Server 2003 Standard 32-Bit.
Any suggestions appreciated.
If you're attempting to make an NTFS partition bigger after increasing the disk size, this can be done inside Windows itself live. No need to power off or use third party tools. The steps are detailed in KB325590, but here they are:
This should work on Server 2003 (for non-system partitions) and Server 2008 onwards (for all partitions, system or not).
What exactly was the error? Gparted should have given you a post-operation report. I've had an issue that fit this description before when resizing partitions; I told gparted to expand the partition to the last cylinder of the drive, rebooted, and the drive was the "same size" even though everything reported it was the full size of the drive. I re-opened gparted and lowered the partition from the last cylinder to just a few cylinders shy of the full drive, having a few meg of wasted space; applied the changes and at reboot the partition had been expanded to nearly the size of the drive.
The person new to gparted I'd suggest double-checking he or she applied the change after setting it, but you said you've used it before without issue...
Is there any way to see a screen shot of the gparted status and/or the results of the attempt to expand the partition?
For Windows Server 2003, you need to do an offline resize of the system partition, no way around it. The OS itself doesnt support it on older OSes than Windows Server 2008.
You should be able to simply use a WinPE ISO to boot your VM and use the diskpart steps mentioned above to resize your disk. Why gparted is not working is hard to say. I would retry with a WinPE-based iso.