TechSpot

Unable to Defrag Drive

By Bluemouse
Mar 16, 2007
  1. Hi all,

    I seem to be having a few issues with my C:/ drive, and I was wondering if you all could help?

    Whenever I run the disk defrag, I am left with way too many fragmented files ... "some files could not be defragmented"


    Code:
    Volume Local Disk (C:)
        Volume size                                = 218 GB
        Cluster size                               = 4 KB
        Used space                                 = 181 GB
        Free space                                 = 37.42 GB
        Percent free space                         = 17 %
    
    Volume fragmentation
        Total fragmentation                        = 22 %
        File fragmentation                         =[b] 44 %[/b]
        Free space fragmentation                   = 0 %
    
    File fragmentation
        Total files                                = 99,083
        Average file size                          = 2 MB
        Total fragmented files                     = 152
        Total excess fragments                     = 259,387
        Average fragments per file                 = 3.61
    
    Pagefile fragmentation
        Pagefile size                              = 2.00 GB
        Total fragments                            = 1
    
    Folder fragmentation
        Total folders                              = 9,991
        Fragmented folders                         = 1
        Excess folder fragments                    = 0
    
    Master File Table (MFT) fragmentation
        Total MFT size                             = 129 MB
        MFT record count                           = 112,091
        Percent MFT in use                         = 84 %
        Total MFT fragments                        = 3
    
    It then proceeds to give me a whole bunch of NON-system files which I couldnt defrag. I tried running in safe mode as well, but got the same results.

    I ran chkdsk, and get this:

    Code:
    
    WARNING!  F parameter not specified.
    Running CHKDSK in read-only mode.
    
    CHKDSK is verifying files (stage 1 of 3)...
    File verification completed.
    CHKDSK is verifying indexes (stage 2 of 3)...
    Deleting index entry cookies.txt in index $I30 of file 12738.
    Deleting index entry sessionstore.js in index $I30 of file 12738.
    Deleting index entry SESSIO~1.JS in index $I30 of file 12738.
    Deleting index entry Favorites.xml in index $I30 of file 131118.
    Deleting index entry FAVORI~1.XML in index $I30 of file 131118.
    Index verification completed.
    
    Errors found.  CHKDSK cannot continue in read-only mode.
    
    Ran chkdsk /f at reboot, found 0 bad sectors
    Ran chkdsk /r at reboot, not sure results (fell asleep) but it went back to windows.

    Still can't figure out what to do.

    Thanks :)
     
  2. Bluemouse

    Bluemouse TS Rookie Topic Starter Posts: 195

    To add,

    most of these files are .avi or .exe files (software installs, movies, etc). They also have a "[excess allocation]" in brackets next to the file list.
     
  3. zipperman

    zipperman TS Rookie Posts: 1,179   +7

    See my post on chdsk.No /f
    Do this first,then
    Clear your Tools/Browseing History option so you
    don't Defrag temporary files.
    When useing Defrag,do a Disk Cleanup then do the Analyze.
    Then Defrag.It should make some improvement and i doubt it will delete any files.
    Keep a written record of you passwords etc.
     
  4. Bluemouse

    Bluemouse TS Rookie Topic Starter Posts: 195

    The files that it cannot defrag are NOT system/temp files. They are mainly avi/exe/mp3 files in one very large folder of mine (separated into many smaller subfolders). I have already cleared my browsing history.

    What do those chkdsk errors mean anyways? Do you have a link to your post?

    Thanks :)
     
  5. jobeard

    jobeard TS Ambassador Posts: 9,348   +622

    >Average file size = 2 MB
    >Free space fragmentation = 0 %
    >Cluster size = 4 KB

    you have a collection of MASSIVE size files and the 4kb cluster says your
    average file has 500 clusters each!

    you'r best course of action is to:
    1. run cleanup to free space
    2. backup to other media
    3. reformat and set a larger cluster size
    4. restore from media

    consider moving Music, Videos, games to removable media to leave your
    C:\ disk for the OS and programs.
     
  6. Tedster

    Tedster Techspot old timer..... Posts: 6,000   +15

    XP defragger is a very ineffeficient defragger. It does not defrag back up files and some system files. You'ld be better of with a good defragger like diskeeper.
     
  7. Bluemouse

    Bluemouse TS Rookie Topic Starter Posts: 195

    Yea, I actually managed to fix it by running diskeeper about 6x and moving the files that weren't working to my second drive.

    Why would it do that though? What were those chkdsk errors anyways?

    Thanks :)
     
  8. zipperman

    zipperman TS Rookie Posts: 1,179   +7

    My results

    As you can see no red lines at bottom.Thats all to expect.
    Heres part of my Report.
    Master File Table (MFT) fragmentation
    Total MFT size = 66 MB
    MFT record count = 66,775
    Percent MFT in use = 99 %
    Total MFT fragments = 2

    --------------------------------------------------------------------------------
    Fragments File Size Files that cannot be defragmented
    None
    =================================================
    This should be the same for yours if there on the drive you defragged.
    Post your report.
    See attached,no red lines.:)
     
  9. Bluemouse

    Bluemouse TS Rookie Topic Starter Posts: 195

    Volume Local Disk (C:):
    Volume size = 218 GB
    Cluster size = 4 KB
    Used space = 174 GB
    Free space = 44,670 MB
    Percent free space = 19 %

    Fragmentation percentage
    Volume fragmentation = 0 %
    Data fragmentation = 0 %

    File fragmentation
    Total files = 101,347
    Average file size = 2,122 KB
    Total fragmented files = 110
    Total excess fragments = 463
    Average fragments per file = 1.00

    Paging File fragmentation
    Paging/Swap file size = 2,046 MB
    Total fragments = 1

    Directory fragmentation
    Total directories = 10,183
    Fragmented directories = 2
    Excess directory fragments = 5

    Master File Table (MFT) fragmentation
    Total MFT size = 128 MB
    MFT record count = 114,302
    Percent MFT in use = 86 %
    Total MFT fragments = 3
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...