Unsolved

This post is more than 5 years old

107 Posts

13137

November 9th, 2003 06:00

Cannot Defrag

As part of regular maintenance, I run disk cleanup and defrag approx. every one to two weeks. This last time a message came up saying a file could not be defragmented. The log report is below. Can anyone tell me why?

 Volume (C:)
    Volume size                                = 18.59 GB
    Cluster size                               = 4 KB
    Used space                                 = 8.42 GB
    Free space                                 = 10.17 GB
    Percent free space                         = 54 %

Volume fragmentation
    Total fragmentation                        = 3 %
    File fragmentation                         = 6 %
    Free space fragmentation                   = 0 %

File fragmentation
    Total files                                = 48,331
    Average file size                          = 273 KB
    Total fragmented files                     = 1
    Total excess fragments                     = 946
    Average fragments per file                 = 1.01

Pagefile fragmentation
    Pagefile size                              = 384 MB
    Total fragments                            = 1

Folder fragmentation
    Total folders                              = 38,608
    Fragmented folders                         = 1
    Excess folder fragments                    = 0

Master File Table (MFT) fragmentation
    Total MFT size                             = 102 MB
    MFT record count                           = 87,165
    Percent MFT in use                         = 83 %
    Total MFT fragments                        = 3

--------------------------------------------------------------------------------
Fragments       File Size       Files that cannot be defragmented
947             589 MB          \Program Files\Microsoft MapPoint\Data\USA_CD.mad

2 Intern

 • 

4.4K Posts

November 9th, 2003 09:00

Have you tried pressing defrag a second time? Sometimes it rethinks and does a bit more. The other thing you could try, if you have the .mad file on CD, delete it from the hard drive, defrag again, then copy it back from the CD and defrag again. If you don't have it on CD, copy it to another location, say temp folder, delete the original defrag again, copy back from the temp folder, delete in the temp folder, defrag again. (copy and delete is better than move, which might just change the address of the file without creating a new copy of it on disk).  The MFT fragmentation is normal, defrag can't do it, but if it worries you you could look at full versions of Diskeeper (I think that the XPO defrag is a 'lite' version of earlier version of diskeeper)

http://www.execsoft.co.uk/html/diskeeper/diskeeper1.htm

or any other of several defrag programs that do a bit more than the built in XP one.

107 Posts

November 9th, 2003 14:00

Thanks for your help. I just wanted to be sure there was nothing wrong.

130 Posts

November 9th, 2003 21:00

did it work?

107 Posts

November 9th, 2003 23:00

Quick question:

you said:      "The other thing you could try, if you have the .mad file on CD, delete it from the hard drive, defrag again, then copy it back from the CD and defrag again."

I assume you mean to delete it using add/remove programs, then reinstall?

107 Posts

November 9th, 2003 23:00

Clicking defrag a second time didn't work & I have not yet tried the other advise you gave.

Thanks for the interest.

49 Posts

November 10th, 2003 00:00

Nope - just back up the individual file to a CD, then delete it, defrag, and copy it back to the original location.  As long as you don't access Microsoft MapPoint, you shouldn't have any issues doing that. 

One other thought - check to see if there is any component of MS MapPoint loaded at startup through msconfig.  It may be getting loaded without your knowing it, and that may be why you can't defrag it...

Message Edited by jjmspartan on 11-09-2003 09:17 PM

2 Intern

 • 

4.4K Posts

November 10th, 2003 11:00

Just confirming that jimspartan correctly interpreted what I meant. Judging by its folder location the file is a database file  for MapPoint, temporarily deleting it from its current position, defragging and then replacing it will not affect subsequent operation of MapPoint; the idea is simply to try to get it to be relocated as one contiguous file on the drive. Whilst this is not always 100% successful, it should at least reduce its fragmentation.

2 Intern

 • 

4.4K Posts

November 10th, 2003 20:00

As I understood it, it was a.mad extension (access database module), part of MS MapPoint, so not a system file.

70 Posts

November 10th, 2003 20:00

As far as I can guess, most files that cannot be defragmented tend to be marked as system files.  Maybe that's what's going on with that .dat file.

As for resolving it....sometimes files can be defragmented when you boot into Safe Mode.  If the partition is not NTFS, maybe you can try running a DOS based defragmenter.

If that does not work, you can try booting from a WinXP boot CD and run a defragmenter from there.  Search the forums here for Bart's PEBuilder for details.  I use Vopt XP Defragmenter with my WinPE CD, but other folks have found a way to run the basic WinXP defragmenter.

The method of deleting it, defragmenting the drive, then recopying the file, would be quick and easy...but of course it does not address the problem.

49 Posts

November 11th, 2003 00:00

True, but as we all know, Micro$oft likes to stick the system attribute on some of their files in their applications occasionally, just for the heck of it seemingly...

0 events found

No Events found!

Top