1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Shrink volume C

Discussion in 'Windows 10' started by Gordon, 2016/07/28.

  1. 2016/07/28
    Gordon

    Gordon Well-Known Member Thread Starter

    Joined:
    2002/05/22
    Messages:
    117
    Likes Received:
    2
    I want to shrink volume C, the Windows partition. The PC was delivered with Windows 10 pro 64 bit already installed on Volume C, a 256 GB SSD. The C volume size was over 200 GB. I want to shrink volume C to about 60 GB, but disk management will not allow it. It did let me shrink the volume down to 112 GB.

    File explorer shows that partition as capacity 112 GB, used 21.4 GB. Disk management shows it as 112.92 GB, 81% free.

    I assumed that it was the page file blocking me from shrinking it any further, so I changed the option to no page file. I still can not shrink the volume. How can I see what files are sitting on the high end of that volume, and move them. I really don't want to format the disk and do a fresh install so I am hoping there is an easier way to shrink volume C.

    Thanks, Gordon
     
  2. 2016/07/28
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    The reason is that the files on the volume are spread over a size of 112 GB (between the first and the last "fragment "). Go google on "shrink volume on SSD drive" and you will get results, mostly referring to Win7 or Win8 but the same goes for Win10.
     

  3. to hide this advert.

  4. 2016/07/28
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    I use Image for Linux to create images of my Win10 laptop. The manual (click and scroll down to page 38) describes "compacting" the volume to reduce the size of the image. I assume it works for shrinking the volume as well.

    I'm sure there are other third party tools that can do the job.
     
  5. 2016/07/28
    Bill

    Bill SuperGeek WindowsBBS Team Member

    Joined:
    2002/01/11
    Messages:
    3,371
    Likes Received:
    412
    Fragmentation should have nothing to do with it. The repartitioning software will move any files or fragments as needed. That said, You can use the one in Windows, or I've used EASEUS Partition Master Home Edition hundreds of times over the years on SSDs and drives with no problem.

    I think, however, that you should not attempt to shrink it below 100GB. Windows uses a lot of space for temporary files and the disk management routines like lots of space for TRIM wear leveling.
     
    Bill,
    #4
  6. 2016/07/28
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    "Fragment" - bad choice of word on my part. What I mean is that the space between the beginning of the volume/partition and the end of the last file contained within it, is the limiting factor when it comes to shrinking the volume/partition.

    It seems like it didn't work for Gordon.
     
  7. 2016/07/28
    Gordon

    Gordon Well-Known Member Thread Starter

    Joined:
    2002/05/22
    Messages:
    117
    Likes Received:
    2
    You are correct that the built in tools, Windows 10 disk management, would not allow me to shrink the volume any smaller. However, I think I figured out what the problem is. If I am reading the event log correct, then it lists an event ID 259, which indicates that the system volume information file is sitting at the end of the volume preventing any more size shrink. I think that file holds the restore points and I am not ready to disable or delete the restore points at this time.

    I have an external disk enclosure on order. When it arrives I will be able to create an image stored off line. After I get a good image, then I will be brave enough to disable system restore. I think that will clear the restore points and remove that file. Then maybe I can shrink volume C a little more.

    Thank you for the help.

    Gordon
     
  8. 2016/07/29
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    You're welcome ... :) ... and don't forget to tell us the final outcome!
     
  9. 2016/07/29
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    I did a test on an old WinXP computer. I booted Image For Linux (I have the payed version but used the evaluation version) from a CD (burnt from the ISO) and went through the steps until I had chosen the partition to Image. I checked the information which stated 9681 MiB used, 68840 MiB free and 18932 MiB to restore. I set it to compact to the size 15000 MiB. It took a minute or two and when finished, I exited IFL. I rebooted IFL and went through the same procedure again and found that the information now stated 15000 MiB to restore.

    If you go this route, I'm sure you will buy a license out of gratitude! (No, I don't own any shares in Terabyte ... :rolleyes: ... !)

    Edited:

    I forgot to mention that I have images of that system which means that I took no chances. Make sure you don't either ... :cool: ... !
     
    Last edited: 2016/07/29
  10. 2016/07/29
    Bill

    Bill SuperGeek WindowsBBS Team Member

    Joined:
    2002/01/11
    Messages:
    3,371
    Likes Received:
    412
    But what I am saying is the resizing program will (or should) remove those spaces. Partition Master does. But I note all these programs need a lot of space to temporarily move data in and out of the way of each other while resizing. That could be the limiting factor here.
     
    Bill,
    #9
  11. 2016/07/29
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    I've never used PM but I take your word for it. Gordon uses some imaging software, I don't know which but maybe it is able to compact a volume, like IFL is.
     
  12. 2016/07/29
    Bill

    Bill SuperGeek WindowsBBS Team Member

    Joined:
    2002/01/11
    Messages:
    3,371
    Likes Received:
    412
    It's a great program and 100% free for home, non-commercial use. Worth checking out.
     
  13. 2016/07/30
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    I think I will!
     
  14. 2016/07/30
    Gordon

    Gordon Well-Known Member Thread Starter

    Joined:
    2002/05/22
    Messages:
    117
    Likes Received:
    2
    I do use Acronis True Image 2014. I don't know if it will shrink a drive or not, never attempted to use it for that. Right now, I have no place to store an image so I am in wait mode until the external enclosure gets here. I will most likely use the Windows 10 built in disk management tool to shrink drive C. Can you recommend a better tool for that?

    From everything I have read on support web sites it sounds like there could be 3 unmovable files sitting on the high end of that drive. Those are the files for system restore, hibernate, and the page file. So the advice given is to disable hibernate, disable system restore, and set page file to NONE. Then Shrink the drive. After you get the drive sized, then enable those features again.

    I do miss the old defrag application where it showed you unmovable files. Then there is the question of what does a defrag on an SSD really do.

    Is there an easy way to see the location of files on the drive as it is today?

    That Is my plan and I will post an update here in about a week. Wish me well.

    Gordon
     
  15. 2016/07/30
    Bill

    Bill SuperGeek WindowsBBS Team Member

    Joined:
    2002/01/11
    Messages:
    3,371
    Likes Received:
    412
    That is a back up program. Not a partition manager.
    There's no question about this. You NEVER defrag a SSD. If you look in recent versions of Windows, the program is not even called Windows Defrag anymore. It is now "Optimize Drives ". When Windows detects a connected SSD, it knows not to defrag it.

    The reason you don't defrag a SSD is because of how data is stored on and retrieved from a SSD. A hard drive is like a drawer in a file cabinet with the pages (file segments) of the report (file) you need scattered (fragmented) in no particular order from front to back. To retrieve all the pages in the right order, you have to stand in front of the file cabinet and rifle through the drawer sequentially, going back and forth, front to back across the platters every time, picking up the pages in the correct order. This takes a lot of time - especially if page 1 is in the front and page 2 in the back then page 3 near the front again, and so on. And remember, this is a mechanical arm (read: slow) moving back and forth.

    For a SSD, think of a mail sorting box. You simply stand in front of the box and directly grab each page of the report. It takes the same amount of time and effort to grab every page, regardless where it is located. It does not matter if the pages are next to each other and in the correct order (not fragmented) or if the pages are scattered all over the place. It takes the exact same amount of time to gather up the whole file in the correct order. And this is not a mechanical arm moving a magnetic Read/Write head back and forth. It is done totally through intelligent electronics (read: very fast).

    Also, TRIM is a maintenance tool for SSDs that intentionally moves file segments about for "wear leveling" - a feature to ensure even use across the SSD - greatly extending the lifespan of the whole SSD. Actual defragging would simply add pointless wear on a SSD without adding any performance advantages.

    I must quickly add the concerns about excess wear decreasing the number of read and writes a SSD can perform was a problem with first generation SSDs only. Today's generation SSDs still have a limited number, but the numbers are so great, only very busy 24/7/365 industrial data centers need to worry about it.

    :( I already did. See post # 4 above.
     
  16. 2016/08/04
    Gordon

    Gordon Well-Known Member Thread Starter

    Joined:
    2002/05/22
    Messages:
    117
    Likes Received:
    2
    I decided to take Bill's advice and not shrink volume C less than 100GB, so spending time to free up 12GB was just not worth the effort. Now that I have an old 1TB drive in an external enclosure that I removed from the Windows XP desktop, I don't need that extra 12GB.
    So I am marking this as solved. Thanks to everyone for your guidance.
    Gordon
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.