+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
Windows Server 2008 R2 Thread, Extend C on a physical Server in Technical; One of my servers has got to a point where it needs it C: extending - 2Gb left and ive ...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,776
    Thank Post
    251
    Thanked 220 Times in 168 Posts
    Rep Power
    87

    Extend C on a physical Server

    One of my servers has got to a point where it needs it C: extending - 2Gb left and ive got a load of windows updates to do. It has a D: which is set at 292Gb and this has about 48Gb spare and these are on DISK 0 configured in a RAID 5. I thought i could shrink D: and then expand C: but after testing this on a test server this isn't the case, so i was wondering if anyone knew how to get round this.. would Gparted sort this out?

  2. #2
    AButters's Avatar
    Join Date
    Feb 2012
    Location
    Wales
    Posts
    383
    Thank Post
    103
    Thanked 78 Times in 63 Posts
    Rep Power
    36
    If it's 2008 or above you can use Diskpart

    If it's 2003 you can't expand the C drive with Diskpart, you'll have to use third party tools like partitionmagic or the like.

  3. #3

    Oaktech's Avatar
    Join Date
    Jul 2011
    Location
    Bournemouth
    Posts
    2,464
    Thank Post
    678
    Thanked 451 Times in 363 Posts
    Rep Power
    229
    @AButters is right, we use easeus diskmanager server edition because it's cheap!

  4. #4

    Join Date
    Sep 2010
    Posts
    497
    Thank Post
    26
    Thanked 53 Times in 50 Posts
    Rep Power
    16
    +1 on disk part.

  5. #5
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,776
    Thank Post
    251
    Thanked 220 Times in 168 Posts
    Rep Power
    87
    Sorry forgot to mention, its running 2008R2. When i run diskpart i get "There is not enough free space on specified disk(s) to extend the volume." Would the machine require a reboot before i can extend the volume?

  6. #6

    Join Date
    Sep 2010
    Posts
    497
    Thank Post
    26
    Thanked 53 Times in 50 Posts
    Rep Power
    16
    from memory you need to have unallocated space on the volume you want to shrink to give more space to one you want to expand.

    so you will need to shrink D: and then expand C: onto the freed space

  7. #7
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,776
    Thank Post
    251
    Thanked 220 Times in 168 Posts
    Rep Power
    87
    This is from a test server which which i have set up...

    Ive got some unallocated space but cannot extend C. Its like i need to move the unallocated space so it sits next to C: but i cant.
    Attached Images Attached Images

  8. #8
    AButters's Avatar
    Join Date
    Feb 2012
    Location
    Wales
    Posts
    383
    Thank Post
    103
    Thanked 78 Times in 63 Posts
    Rep Power
    36
    You need to use the command pompt and run "diskpart"

    then type "list volume"

    that will give you a list of volumes and the drive letter

    then type "select volume #" where # is the volume number, e.g on mine C drive is volume 2, so I would type "select volume 2"

    then type "extend" and it will automatically add the 9.77GB you have spare onto your C drive.

    That should be it!

  9. #9
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,941
    Thank Post
    115
    Thanked 272 Times in 250 Posts
    Rep Power
    104
    I've done this this a few times with GParted when I have ended up with the Bitlocker partition. I simply moved the partition so the free space was contiguous with the partition to be extended; however this was with VMWare machines but the same principles should apply.

  10. #10

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,492
    Thank Post
    134
    Thanked 492 Times in 440 Posts
    Rep Power
    139
    I've done it on a DC a couple of times using Acronis Disk Director, or Partition Magic. Key was, it was done outside of Windows. Worked nicely though.

  11. #11
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,776
    Thank Post
    251
    Thanked 220 Times in 168 Posts
    Rep Power
    87
    Quote Originally Posted by AButters View Post
    You need to use the command pompt and run "diskpart"

    then type "list volume"

    that will give you a list of volumes and the drive letter

    then type "select volume #" where # is the volume number, e.g on mine C drive is volume 2, so I would type "select volume 2"

    then type "extend" and it will automatically add the 9.77GB you have spare onto your C drive.

    That should be it!
    I tried this before i posted the screen shot - thats when i was getting the error message.

    Oh well, looks like i will have to use Gparted and hope for the best. Trouble is this server im trying to increase is one of the DNS/DC servers. Ill just have to make sure that any FSMO roles on it are removed and hope for the best... eeek!

  12. #12

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    5,245
    Thank Post
    772
    Thanked 805 Times in 671 Posts
    Blog Entries
    9
    Rep Power
    299
    The reason you can't is because the unallocated space is not continuous with the C: drive, it's split after the D: partition. If you delete D (I'm guessing you don't want to do that) then you'll be able to expand the partition in either the GUI or with diskpart. Not sure if some clever partitioning tools (or a Linux boot disc) could move the D: partition to the end of the drive so the available space is in the right place.

  13. #13
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,776
    Thank Post
    251
    Thanked 220 Times in 168 Posts
    Rep Power
    87
    gparted will do this but dont want to risk it. Im going to see if school will let me buy a copy of partition magic otherwise it looks like it could be a PITA.

  14. #14

    nephilim's Avatar
    Join Date
    Nov 2008
    Location
    Dunstable
    Posts
    11,129
    Thank Post
    1,433
    Thanked 1,699 Times in 1,272 Posts
    Blog Entries
    2
    Rep Power
    365
    Do you have the ability to clone the drive to a bigger one then turn the machine off at the end of the day, put the new HDD in and away you go? I've done that before to give myself an extra 500GB which did the trick at the time.

  15. #15

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    5,245
    Thank Post
    772
    Thanked 805 Times in 671 Posts
    Blog Entries
    9
    Rep Power
    299
    Quote Originally Posted by nephilim View Post
    Do you have the ability to clone the drive to a bigger one then turn the machine off at the end of the day, put the new HDD in and away you go? I've done that before to give myself an extra 500GB which did the trick at the time.
    Not a bad suggestion. What are the contents of the other partition? If you stuck a second drive into the server can you Robocopy the contents to a new drive, freeing up the space after the C partition and then allowing you to expand?

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Eliminating Printer "sessions" on W2k3 Terminal Server
    By Behuck in forum Thin Client and Virtual Machines
    Replies: 12
    Last Post: 17th January 2008, 04:18 PM
  2. Windows Server R2 on a member server
    By ctbjs in forum Windows
    Replies: 1
    Last Post: 2nd May 2007, 11:32 AM
  3. Running SIMS on centrally hosted servers
    By StevenEdgar in forum MIS Systems
    Replies: 22
    Last Post: 2nd February 2007, 11:01 AM
  4. Replies: 7
    Last Post: 2nd January 2007, 11:48 PM
  5. Setting DHCP Vendor Classes on Windows 2003 Server
    By acb_ in forum How do you do....it?
    Replies: 13
    Last Post: 17th July 2006, 11:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •