www.ComputerVitals.com
 
       

Go Back   ComputerVitals > Computer help and discussion > Operating Systems

Reply
 
Share Thread Tools Display Modes
Old March 5th, 2006, 10:02 AM   #1
BuzzStPoint
Forum Coder
System Specs
 
BuzzStPoint's Avatar
 
Join Date: Jul 2005
Location: Right Behind your monitor
Posts: 9,399
BuzzStPoint is on a distinguished road
Defrag not working?

I run the disk defrag on my wifes computer and it runs for about 20 minutes. Then it says the defrag is complete..

Then you analyize the drive and it tells me it should be defraged again.. Whats the deal with that?
__________________

BuzzStPoint is offline   Reply With Quote
Old March 5th, 2006, 10:23 AM   #2
lurkswithin
Guest
 
Posts: n/a
Re: Defrag not working?

Is the drive fairly full?

Two things come to mind:

1) the drive is fairly full(no warnings yet) but there is not enough space left on the drive to perform the defraging. Being at that spot may not show a warning that the defrag did not succeed but will show to have defraqed until you run defraq again and it suggests that you need to run it.

2)This one is dependent upon how your files are located on your drive.
There are usually one or two sections that contain unmovable files. During defrag the noncontiguous files are removed and relocated to make them contiguous. This means that the fragmented files are reassigned to where they should be in order to make them in the same section as other like files.

Picture files as an example( easier to picture like files[pun intended]):

you have lots of picture files before and after a non-moveable cluster of files. The defragmentation will remove the picture files and rearrange them accordingly. The problem is that there is not enough space in front of the non-movable files to place them all so the files are placed in front of and behind.....This causes the program to read it as still fragmented because the files are split with the non-movable files and are not contiguous to the filing system.

As an added note> it doesn't matter which defrag program is used when dealing with the issue of installing contiguous files in front of or behind a cluster of unmovable files. More powerful defrag programs will sometimes compact files to get them all in one area while windows defraq will not...but same situation will occur using any defraq program if it is dealing with a large contiguous file that is fragmented.

Last edited by lurkswithin; March 5th, 2006 at 10:32 AM.
  Reply With Quote
Old March 5th, 2006, 10:41 AM   #3
lurkswithin
Guest
 
Posts: n/a
Re: Defrag not working?

from M$:

Even if you perform a full optimization, the drive may not become 100% defragmented.
CAUSE
This problem occurs when there are unmovable blocks (clusters) on the drive and a movable file is made noncontiguous by one of these blocks. Defrag tries to fit files around the unmovable blocks so that the files remain contiguous, but it is not always possible to achieve a perfect fit.

In the following simplified example, the drive has only ten clusters and three files; file A has five movable clusters, file B has two unmovable clusters, and file C has two unmovable clusters:
.....CLUSTER: 1 2 3 4 5 6 7 8 9 10
----------------------------------------
...........FILE: A B B A A A C C A
----------------------------------------
......STATUS: O X X O O O X X O O

CLUSTER = The cluster number on the drive.
FILE = The file that occupies the cluster.
STATUS = O : MOVABLE X : UNMOVABLE

In this example, files B and C cannot be moved. Because there are not five contiguous, movable clusters on the drive, file A cannot be fully optimized and the drive cannot be 100% defragmented.

Although it appears you could work around this problem by making unmovable files movable, doing so is not a good idea. Many programs mark a file as unmovable because the program keeps track of the exact location of the file. Moving the file can cause the program it is associated with to fail. For example, some programs use unmovable files as part of a copy-protection scheme.

It is better to have a slight level of fragmentation than risk moving an unmovable file that should not be moved.

http://support.microsoft.com/kb/105068/en-us



edit> the example above should have lined up top to bottom for better view but didn't< sorry!

Last edited by lurkswithin; March 5th, 2006 at 10:44 AM.
  Reply With Quote
Old March 5th, 2006, 11:36 AM   #4
BuzzStPoint
Forum Coder
System Specs
 
BuzzStPoint's Avatar
 
Join Date: Jul 2005
Location: Right Behind your monitor
Posts: 9,399
BuzzStPoint is on a distinguished road
Re: Defrag not working?

Here's what it says

Capacity: 18.6gig
used; 9.77
Free: 8.86


Heres the odd thing.. I thought that this was a 20 gig harddrive.
She has a lot of mp3's and music videos on her computer.


Edit Stats
WIndows XP
NTFS

Last edited by BuzzStPoint; March 5th, 2006 at 11:48 AM.
BuzzStPoint is offline   Reply With Quote
Old March 5th, 2006, 12:10 PM   #5
lurkswithin
Guest
 
Posts: n/a
Re: Defrag not working?

Could be either situation as stated above. But I bet it is the unmovable files issue. If possible work around the problem by creating seperate folders for some of the music videos as they are probably the ones that are causing the issue. If they are grouped in a folder take them out of the folder/grouping.
  Reply With Quote
Old March 5th, 2006, 12:22 PM   #6
SetiShock
Administrator
System Specs
 
SetiShock's Avatar
 
Join Date: Jul 2005
Location: I'm in my own little world. But it's ok, they know me here.
Posts: 12,227
SetiShock A normal user
Re: Defrag not working?

What's the model number on the drive?
And remember in the world according to uncle Bill> 1K =1024 bytes.
Throws you off when figuring drive space. It's there just configured like Bill wants it.
__________________

Last edited by SetiShock; March 5th, 2006 at 12:26 PM.
SetiShock is offline   Reply With Quote
Old March 5th, 2006, 12:32 PM   #7
domass
Junior Member
 
Join Date: Oct 2005
Location: Nebraska, USA
Posts: 107
domass A normal user
Re: Defrag not working?

Buzz,
Remember if you buy a hard drive that says 20 gig on the box, Windows will report it as 18.6 because the hard drive company counts a gig as 1000 MB and a MB as 1000 KB. Windows counts a gig as 1024 MB and so on. You know the binary thing. So if you take the 20,000,000,000 bytes that the hard drive manufacturer says there is on there and divid it by 1024, 3 times you will get 18.626.
Are you remembering to turn off everything you can while running the defrag?
domass is offline   Reply With Quote
Old March 5th, 2006, 12:33 PM   #8
BuzzStPoint
Forum Coder
System Specs
 
BuzzStPoint's Avatar
 
Join Date: Jul 2005
Location: Right Behind your monitor
Posts: 9,399
BuzzStPoint is on a distinguished road
Re: Defrag not working?

http://www.seagate.com/support/disc/...st320410a.html

Theres my drive
Seagate ST320410A

U Series 6
Capacity: 20.4 GB
Speed: 5400 rpm
Average Seek Time: 9.9 ms
Cylinders: 1023
Heads: 256
Sectors: 63

BuzzStPoint is offline   Reply With Quote
Old March 5th, 2006, 12:35 PM   #9
BuzzStPoint
Forum Coder
System Specs
 
BuzzStPoint's Avatar
 
Join Date: Jul 2005
Location: Right Behind your monitor
Posts: 9,399
BuzzStPoint is on a distinguished road
Re: Defrag not working?

domass.

That puts it clearer as for turning everything off no.. I can try that.. Cna I defrag in Safe mode?
BuzzStPoint is offline   Reply With Quote
Old March 5th, 2006, 12:41 PM   #10
SetiShock
Administrator
System Specs
 
SetiShock's Avatar
 
Join Date: Jul 2005
Location: I'm in my own little world. But it's ok, they know me here.
Posts: 12,227
SetiShock A normal user
Re: Defrag not working?

The built in will. DK pro and 9 won't.
SetiShock is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page defrag? rehless Operating Systems 5 October 11th, 2006 07:07 PM
dvd-rw drive not working BuzzStPoint Computer Hardware 6 September 1st, 2006 05:42 PM
Why I stopped working on cars.. Lobby 9 September 18th, 2005 06:08 AM
Defrag registry The Unknown Computer Software 1 August 19th, 2005 04:37 PM


All times are GMT -5. The time now is 12:07 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.