+ 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
    3,098
    Thank Post
    314
    Thanked 296 Times in 206 Posts
    Rep Power
    122

    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
    497
    Thank Post
    155
    Thanked 110 Times in 85 Posts
    Rep Power
    43
    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,988
    Thank Post
    842
    Thanked 584 Times in 456 Posts
    Rep Power
    276
    @AButters is right, we use easeus diskmanager server edition because it's cheap!

  4. #4

    Join Date
    Sep 2010
    Posts
    614
    Thank Post
    26
    Thanked 70 Times in 65 Posts
    Rep Power
    21
    +1 on disk part.

  5. #5
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,098
    Thank Post
    314
    Thanked 296 Times in 206 Posts
    Rep Power
    122
    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
    614
    Thank Post
    26
    Thanked 70 Times in 65 Posts
    Rep Power
    21
    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
    3,098
    Thank Post
    314
    Thanked 296 Times in 206 Posts
    Rep Power
    122
    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
    497
    Thank Post
    155
    Thanked 110 Times in 85 Posts
    Rep Power
    43
    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,993
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    107
    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,926
    Thank Post
    155
    Thanked 605 Times in 544 Posts
    Rep Power
    160
    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
    3,098
    Thank Post
    314
    Thanked 296 Times in 206 Posts
    Rep Power
    122
    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,868
    Thank Post
    878
    Thanked 954 Times in 786 Posts
    Blog Entries
    9
    Rep Power
    338
    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
    3,098
    Thank Post
    314
    Thanked 296 Times in 206 Posts
    Rep Power
    122
    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
    12,271
    Thank Post
    1,670
    Thanked 2,017 Times in 1,466 Posts
    Blog Entries
    2
    Rep Power
    451
    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,868
    Thank Post
    878
    Thanked 954 Times in 786 Posts
    Blog Entries
    9
    Rep Power
    338
    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
  •