expand partition on Server 2003 sata HDD

Posted on 2011-10-26
Medium Priority
Last Modified: 2012-05-12
I have a Server 2003 Standard R2 with Service pack 2.  It has two partitions on a SATA HDD:
C: (10gb)contains windows and several programs, 0GB is available
D: (65gb)contains data files, many programs, 40GB is available

I need to free up space on the C: drive.  Can I safely expand the partition into the D: drive?  Does data need to be removed from the D: drive first?
Question by:AE_JB
LVL 70

Assisted Solution

garycase earned 400 total points
ID: 37034771
Yes, it's relatively simple.

Assuming your drive currently "looks" like this:


then yes, you'll have to do a bit of manipulation before you can expand C:

You can only expand it if there is free space immediately after it ... i.e. the disk needs to look like this:

where the x's represent free space.

You can easily do this using Boot-It BM.    Download it [http://www.terabyteunlimited.com/bootit-bare-metal.htm ];  create a bootable CD using the included MakeDisk utility;  boot to the CD, select CANCEL at the first prompt; then OK.    Then click on Partition Work ... and then do the following:

(a)  Resize the 2nd partition (D:)  -- make it smaller by as much space as you want to add to C:
(b)  "Slide" the 2nd partition so there is 0 free space AFTER it  (This will put it at the "end" of the disk so all of the free space is between C: and D:
(c)  Now Resize the 1st partition (C:)

Done :-)

Assisted Solution

Zouleous earned 700 total points
ID: 37034932
This is a classic task for old programs like Partition Magic.  Doing this without 3rd party programs can be painful.  First of all you can't resize the Windows partition while Windows is running.  Second problem is you don't have contiguous unallocated space to extend the C drive in to.  I'll give you three options.  The first costs money and is the easiest and most reliable solution.  The other two are free and get harder to do.  There may be better ways, but here are my thoughts.  All partitions will have to be NTFS and I'll assume they are.  Backup the entire server before you do anything obviously.  If you're doing RAID on these volumes it would have to be hardware based.  I'm giving you a high-level overview of what needs to be done...not specific steps and how to use each tool.  Peronally I don't like any of these options and think you should probably rebuild the server the way you want it.  That's based on the fact I don't do this stuff everyday and I'm too concerned over too much down time.  I'll tell you what I know about this process.  If this is a production server you may want to test this process on a non-production server before you go messing with really important stuff.

1.  easiest option - Buy 3rd party software designed to do this on a server.  Search Google for "server partition tools".  Acronis comes to mind.

2. next harder option - use a GParted Live CD you can download for free from here http://gparted.sourceforge.net/.  It's a free open-source Lynux based partition management tool.  Once you boot in to GParted you will need to shrink drive D.  This will create unallocated space at the END of the drive.  You need this unallocated space BEFORE drive D.  You then perform a move to move it to the end of the drive.  You should then be able to extend drive C in to the unallocated contiguous space.

3.  hardest option - This is probably the more complicated and messy way of doing this, but uses all Microsoft tools.  Create a WinPE boot disk using WAIK or preferably using MDT (Microsoft Deployment Toolkit).  MDT can automate the creation of WinPE boot disks, but if you don't have MDT already setup then well...sucks to be you.  You could do it with manually with WAIK (Windows Automated Installation Kit).  I'll assume you haven't installed any programs on drive D that affect the OS from starting if they weren't there.  If Drive D has file shares then make note of all the shares names and the share permissions.  Use Robocopy to copy the content off to another location while you work.  Hopefully you are familiar with Robocopy since this will retain any security permissions set on the files and folders.  Once you're confident you have a full backup of what was on drive D and are sure how to restore it then proceed, but this is not for the faint at heart.  Reboot in to WinPE and use diskpart to delete the D partition.  Next extend Drive C the amount you want.  Then recreate Drive D with the remaining unallocated space.  Finally robocopy everything back to drive D.  Lastly thank god you were able to get through it without building the server.

Assisted Solution

Zouleous earned 700 total points
ID: 37034942
And now that I'm done typing all that it sounds like the guy above me has an easiser solution.  He's explaining the same process I said in number 2, but using a different boot disk.
LVL 47

Accepted Solution

noxcho earned 500 total points
ID: 37034943
Have a look on this video tutorial: http://www.youtube.com/watch?v=Gsw-_3cTDmM
It is not as complicated as you think.
LVL 93

Assisted Solution

nobus earned 400 total points
ID: 37036539
while all the above will do what you want -why not install a larger disk size?
no more space problems, and disks are cheap now

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

850 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