PDA

View Full Version : How to defragment this locked file?


Source
05-08-2008, 06:53 PM
Helloa,

Could anyone tells me how i defragment the following locked file[s];
http://img186.imageshack.us/img186/5009/naamloos2qx2.png

Have tried 'Defragment before OS loads' and it defragmented the Pagefile and MFT if i'm right.

But what is that 'Update sequence number change journal' ~ 'C:\$Extend\$UsnJrnl:$:$DATA' ..Journal thingy?
More important, how to defgrament it & why is it so fragmented all over the drive?

..

Btw, why is my C: disk (OS on it), so 'messy' while other drives, after one defragmentation are clean and all lined up?
Tryed 'Complete /Acces' .. 'Complete /Name' .. but neither of them gets it lined up as by my other drives. (Pagining file aside).
http://img181.imageshack.us/img181/9270/naamloosad3.png

Dont think that it matters much, does it?
Was just wondering.

Use O&O Defrag 10 for the record.

alexanderhuzar
05-08-2008, 09:24 PM
Download and install a defragmenter that does a "boot-time" defragmentation.

Raxco PerfectDisk and Diskeeper are 2 amazing defraggers that both do this.

Download a trial version of both and see which one you like more. I do recommend Diskeeper thou. It does the best job of any defragmenter I have heard of.

Source
05-09-2008, 01:32 AM
Have tried 'Defragment before OS loads' and it defragmented the Pagefile and MFT if i'm right.Tryed that already, with a trial of Diskkeeper.
Called it different but thanks for the replay.

alexanderhuzar
05-09-2008, 09:48 PM
You also have to make sure you have at least 15% free space on the target partition that you are concerned with. Any less and defraggers just don't work anywhere nearly as efficient.

Note: Diskeeper does not make your drive appear "neat". It will NOT place all your data in a continuous stream followed by empty space. What it will instead do is in certain places purposely leave empty space between data to allow for file growth and modification so as to decrease the chance of fragmentation. It will also not defragment certain files if doing so will not improve performance.

Also: for ALL defragmenters, make sure the LAST ACCESSED timestamp for all files on your system is ENABLED. Some "tune-up" utilities like to turn this off in an effort to improve system responsiveness, but the result is that defragmenters have no idea how to best optimize files based on current usage.

MikeB12
05-09-2008, 11:41 PM
concerning usnjrnl you're asking about. this article is about an error related message. but they do doc ow to recreate usnjrn. apparently it's purpose is to track changes to an ntfs volume.
http://support.microsoft.com/kb/311724
Method 2
Use the Fsutil.exe tool from a Windows XP CD-ROM to delete the Change/USN journal:
1. Copy the Fsutil.exe file from a Windows XP CD-ROM to the computer that you want to delete the Change/USN journal on.
2. Click Start, click Run, type cmd, and then click OK.
3. Change to the directory that you copied the Fsutil.exe file to in step 1. For example, if you copied the Fsutil.exe file to the root folder of drive C, type cd c:\, and then press ENTER.
4. At the command prompt, type fsutil usn deletejournal /D driveletter, and then press ENTER, where driveletter is the drive that contains the Change/USN journal that you want to delete.
5. If you want to create a new Change/USN journal, run the chkdsk /f command on the drive that you deleted the journal from.

here's the thread where it was referenced http://www.kessels.com/forum/index.php?topic=495.0


if it were me, I'd probably leave it be if it's not producing errors.. plus I'm not sure I'd want to trash all my previous ntfs tracking, seems like that would help more than hurt, even if it is fragmented.

Source
05-10-2008, 10:17 AM
Just found this:
The Jrnl file is actually contiguous, it actually is set to use a certain amount of space and if it isn't using that much space it simply appears to have gaps in between the parts where information is. Defragmentation programs sees these gaps as representation of a fragment where-as it is actually [Excess Allocation] . This simply states that the files is allocated more space than it is currently using. In other words, what Alexanderhuzar said,What it will instead do is in certain places purposely leave empty space between data to allow for file growth and modification so as to decrease the chance of fragmentation.

So I just keep it and ignore it :P
Thank for the replays!

Oc-Ghost
05-10-2008, 03:58 PM
try sysinternals pagedefrag (http://technet.microsoft.com/en-us/sysinternals/bb897426.aspx) :up: