The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    A problem with disk defragmentation

    Discussion in 'Windows OS and Software' started by wearetheborg, Oct 28, 2007.

  1. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    So I used
    http://w3.win.tue.nl/nl/onderzoek/onderzoek_informatica/visualization/sequoiaview//
    and found out I had pagefile.sys and hiberfil.sys that were taking up 2GB each. So I gor rid of them (pagefile.sys temporarily), and defragmented.

    Now HDD looks like
    xxxxxxxxxxxxxxxxxxFFFFFFFFFFFxxFFFFFFFFFFFFFFFFFxx

    where x denotes files, and F denotes free space.
    Why are there three clumps of files ? Why is is not looking like
    xxxxxxxxxxxxxxxxxxxxxxxxxFFFFFFFFFFFFFFFFFFFFF ???
     
  2. f4ding

    f4ding Laptop Owner

    Reputations:
    261
    Messages:
    2,085
    Likes Received:
    0
    Trophy Points:
    55
    Some files are unmovable?
     
  3. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105

    The disk defragmenter does not list these files as unmovable. They are colored blue - "contiguous files"
     
  4. Sredni Vashtar

    Sredni Vashtar Notebook Evangelist

    Reputations:
    28
    Messages:
    593
    Likes Received:
    0
    Trophy Points:
    30
    Those are Vista's MTF files.
    It's its way to keep resources for itself. I had to use the PerferctDisk 8 demo to defrag those files (it will reboot the system and perform a defrag before loading Vista), after temporarily disabling and deleting the hyberation file, disabling shadow copy and other files Vista like to place at the middle and at the end of the disk. One has to do with error log at boot, IIRC.
    Otherwise I could not have shrinked Vista's partition to install Linux (those files are the reason for the "there is not enough space on disk to perform this action" message given by the partition manager.
     
  5. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    This is win XP.
     
  6. Sredni Vashtar

    Sredni Vashtar Notebook Evangelist

    Reputations:
    28
    Messages:
    593
    Likes Received:
    0
    Trophy Points:
    30
    Oh, ok then.
    Those are XP MTF files.
     
  7. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105

    And they show up as free space in the disk defragmenter ? :confused:
     
  8. Sredni Vashtar

    Sredni Vashtar Notebook Evangelist

    Reputations:
    28
    Messages:
    593
    Likes Received:
    0
    Trophy Points:
    30
    No, they show up as files in the middle and at the end of the disk.
    Try using PerfectDisk 8 (the demo will run for 30 days) and do a system files defrag. I had to disable many things in Vista in order to achieve the kind of defragging with all the data at the beginning of the disk. Besides, I guess that having those files in the middle and at the end of the disk is a "feature". That's what MS call them.
     
  9. Jalf

    Jalf Comrade Santa

    Reputations:
    2,883
    Messages:
    3,468
    Likes Received:
    0
    Trophy Points:
    105
    The goal of a defragmenter isn't (necessarily) to bunch all files up together. It is simply to ensure that each individual file is not fragmented. What you're after could really be better described as defragmenting the free space, rather than the files.

    The point is, of course, that there's no pressing reason why all the files should be clustered together at one end of the disk. As long as the individual files aren't fragmented, you won't take a performance hit when reading them, and that's usually the goal with defragging. Some defraggers will also have optional modes that compact the files like you wanted, but not all. (I know O&O can do it)
     
  10. Andromeda

    Andromeda Notebook Consultant

    Reputations:
    25
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    30
    To the OP: Consolidating free space to a level of 100% is of limited value IMO. Your opinion may vary.

    It is more important to have the fragmented files defragmented so they are not scattered all over the platter.

    As for the MFT, it is placed physically around 1/3rd the way into the disk, and there is also a fragment (the mft 'mirror') that contains a copy of the first few crucial records from the MFT; this is placed further down.

    The MFT and it's allocated zone ought to show up in a different color, not as free space, when you analyze with a defragmenter. And FYI, the XP defragmenter cannot defrag the MFT to the best of my knowledge; only the commercial defraggers such as Diskeeper can defrag the MFT entirely, that too during a boot-time defrag. (It's partially defragged during an online defrag).
     
  11. orev

    orev Notebook Virtuoso

    Reputations:
    809
    Messages:
    2,829
    Likes Received:
    1
    Trophy Points:
    56
    I would add that consolidating the files into 1 area of the disk actually CAUSES more fragmentation in the long run. One should not use such a feature.
     
  12. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Aha, gotcha, thanks.

    Gues I'm being a little Monk-like :D