Extending existing partition in Windows 2003 Server

Disk ManagementHi,
 I have a virtual machine running Windows 2003 server standard. It has C, E and F drive. C and E drive is on the same disk 0.
 I like to allocate more space for E drive. So I increased the hard disk size in virtual machine/Edit settings by 11GB for testing.
 When I run DiskManagement in Windows 2003 server OS, I see 11.66GB free space next to "Local Disk )E:) 39.04GB.
 When it is all done, I like to see E drive showing 51GB.
 Is there a FREE software out there that I can use?

Thanks.
LVL 1
sgleeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You've (or some-one has fallen into the trap) of using Extended Partitions! and creating a logical drive within an extended partition.

So you've got to Extend the Extended Partition first, and then Extend the Logical Drive.

see my EE Article for software

HOW TO:  Resize a VMware (VMDK) Virtual Disk

e.g. GParted LIVE CDROM

You'll need to restart the server and use the software above to complete.

BUT to be honest with you it would be MUCH quicker to Add - Hot Plug remember, a new virtual hard disk of correct size.

and then MOVE/COPY the data from E: to this new drive, delete the parititons etc and then re-assign the driver latter on your new virtual disk!

Finally Do not use PARTITIONS! (they are legacy!)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CompProbSolvCommented:
@Andrew:
I'm missing something here....   Can't he just right-click on the partition in Disk Management and extend it?
sgleeAuthor Commented:
@CompProbSolv
"Can't he just right-click on the partition in Disk Management and extend it?" --> Yes you can do that on OS newer than Windows 7.
However not on Windows 2003 and that is the reason why I posted the question.
I have found "paid" version like NIUBI Partition Editor Server Edition before posting the question, but I was curious if there is a "free" version.
NIUBI Partition Editor Server Edition  was nice menu driven software and would allow me to resize E drive to use 11.66GB Unallocated space.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@CompProbSolv

Windows 2003 does not include that option!!!!

@sglee

Your question states:-

is there a FREE software out there that I can use?

https://gparted.org/livecd.php

GParted GUI will do the same for FREE. It has a GUI with Sliders!!! you use a mouse!

Anything with SERVER in the title wants MONEY.

There is only a FREE version if you download from an unauthorised website.

(of course you can always add the disk to a new OS, e.g. WIndows 2008, Windows 2012 etc and use Disk Management on there for FREE!)
MaheshArchitectCommented:
There are free partition management tools with advanced functionality

You can use any one of them,
MiniTool Partition Wizard Free would be the best
OR
You can use paragon partition manager free edition
sgleeAuthor Commented:
Manes,

I will try both and report back.
CompProbSolvCommented:
"Windows 2003 does not include that option!!!!"

That's a pretty compelling reason!  Thanks....


As far as the free tools go, some (not sure about the ones suggested) don't work with Windows Server versions.
MaheshArchitectCommented:
Andrew is right

All partition magic software's have free versions for client OS, server category is not free
DanOwnerCommented:
AMOEI Partition Wizard is my 2 cents.  I don't think the free version works with server though, I didn't think any of the free bees did.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Why I suggested GParted LIVE CDROM, it does not care what the OS version is!

Tried and testing....

and that reminds me, please make a full backup of the server, not a snapshot before you mangle your partitions and break your OS.
andyalderSaggar maker's framemakerCommented:
>"Windows 2003 does not include that option!!!!"

Not in the GUI but diskpart.exe is there and is more powerful than the GUI anyway. No need for 3rd party utilities.
sgleeAuthor Commented:
@andy
Let me try DISKPART. I will report back.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you can find your way around DISKPART!!!

Option 2. in my EE Article posted!
DanOwnerCommented:
DiskPart scares me.  I know it does it's job correct, I worry I am reading things incorrectly.
sgleeAuthor Commented:
Diskpart Error@Andy
I get an error when I run diskpart on windows 2003 server.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Any reason why you don't like GParted LIVE CDROM.

and there is another method to complete a re-size, without changing the virtual disk size, and that's to use a supported version of VMware Converter, and migrate both C: and E: to virtual disks per drive letter.
sgleeAuthor Commented:
@Andrew,
"Any reason why you don't like GParted LIVE CDROM." -->  I was hoping that DISKPART would work because I am familiar with it whereas I have not used GParted in the past. Let me try it and report back.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are you seeking the simplest solution ? or quickest solution ?
sgleeAuthor Commented:
I always prefers "GUI" interface.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
In that case proceed with GParted....
sgleeAuthor Commented:
I have downloaded Download gparted-live-0.33.0-1-i686.iso. Can you give me some specific steps as to how to run this against this VM?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Connect to the VM, e.g. mount the ISO in the cdrom, and BOOT the VM from the CDROM!
sgleeAuthor Commented:
Gparted mountedAfter pointing database ISO file to gparted ... iso, when I turn on the VM, it goes straight to the W2003 logon screen.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
either hit escape at the BIOS, to select CDROM, or change the BIOS pararmeters to boot from CDROM as first boot device, rather than HD.

Your VM is set to boot of hard drive first!

(PS you've got to be very quick to hit escape!)
sgleeAuthor Commented:
VMX fileHave not been successful in getting into BIOS.
Tried to press ESC and F2 several times, but it boots to OS.
I found the following phrase in an article where I could edit VMX file - "set bios.bootDelay = "xxxx" in the .vmx file, where xxxx is the number of milliseconds during which the VM will wait for the F2 signal.",
But when I opened VMX file in notepad, all statements are one after another and don't know how to add a new line.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There is no need to be editing the VMX file, change the BIOS options in the options! (of the VM Settings :- e.g. Right Click Edit Settings)
sgleeAuthor Commented:
GPartedIn GParted menu, I selected 39.04GB partition and clicked "Resize/Move", but it does not give me option to extend it partition to take over 11.67GB unallocated partition.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You've got two steps to perform.

1. You need to move the existing Extended Partition down the disk, filling the existing un-allocated space.

when this has been completed, this will give you 11GB of un-allocated contiguous space next to the C: partition.

2. Then you expand the C: partition into this 11GB of un-allocated contiguous space

do you follow that method ?
sgleeAuthor Commented:
I am trying to expand E drive (not C drive).
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need to expand the Extended Disk first before you expand the Logical Drive which exists inside then!

Extended Disk is /dev/sda2

logical disk is /dev/sda5.

You cannot expand /dev/sda5 in /dev/sda2 because /dev/sda2 does not have the space!

So expand /dev/sda2 first into the unallocated space.
sgleeAuthor Commented:
Extending sda5Gparted extension completedThat was it.
I extended /dev/sda2 first. After confirming 50.71GB in sda2, then I extended /dev/sda5 to 50.70GB.
It worked like a magic.

Thanks Andrew!
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Excellent, that's how you do it!

don't use partitions next time, a volume (drive letter per virtual disk!)
sgleeAuthor Commented:
"don't use partitions next time, a volume (drive letter per virtual disk!)" --> since you advised against it, let me ask you a question.

When I set up a new server without financial limit, I tried to set up RAID 1 (two 240GB SSDs) for OS and RAID 1 or 10 (two or four large size SSDs or SAS) for Data and hot spares for both size SSDs/SAS HDs.
However if I have a limited budget, then I tried to do RAID 1 plus a hots pare. Let's say I get three 1TB SSDs. Two for RAID 1 and 1 as hot spare.
What would you recommend :
(1) Install W2016/2019 on a entire 1TB so that I see 950GB formatted in C drive. Then create virtual machines  in Hyper-V & store Virtual hard disks and configuration files in, say, C:\Hyper-V\Virtual hard disk & C:\Hyper-V folders respectively.
or
(2)  Install W2016/2019 on a 100GB partition and it will leave about 850GB. Login to OS, open Disk Management and create a extended partition for the remaining 850GB space, assign drive letter E to that partition. Then create VMs in E:\Hyper-V\Virtual hard disk & E:\Hyper-V folders respectively.

Is there a different from performance and management perspective?
andyalderSaggar maker's framemakerCommented:
Odd that diskpart did not work (and odder that nobody mentioned it previously). Presumably you had no other disk utilities open at the same time.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@andyalder

Pointer was given to my EE Article which includes it...but requires.......

@sglee

last question is off topic, and requires a new question to be posted.
sgleeAuthor Commented:
Thanks Andrew.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
not a problem.
andyalderSaggar maker's framemakerCommented:
sgleeAuthor Commented:
DiskMgmt@andyalder
Yes I can run Diskpart after enabling "Virtual Disk Service" in services.msc.
I added 1GB to the VM for testing.
What DISKPART commands are needed to extended E drive (55.70GB) to add an additional 1GB (1012MB Unallocated) to it?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Select and Expand the Extended Partition.

Select and Expand the Logical Drive.
sgleeAuthor Commented:
Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: IIS

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C                NTFS   Partition     29 GB  Healthy    System
  Volume 1     E   Local Disk   NTFS   Partition     56 GB  Healthy    Pagefile
  Volume 2     D   CRMSVOL_EN   CDFS   DVD-ROM      596 MB  Healthy
  Volume 3     F   No Volume    NTFS   Partition    279 GB  Healthy

DISKPART> select volume 1

Volume 1 is the selected volume.

I don't see "1012MB unallocated" listed anywhere.
What do I enter next?
andyalderSaggar maker's framemakerCommented:
https://support.microsoft.com/en-ca/help/325590/how-to-extend-a-data-volume-in-windows-server-2003-in-windows-xp-in-wi explains the exact command to EXTEND SIZE=1024 your volume, but it will not work because the pagefile is currently on that volume.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.