© J.C. Kessels 2009
MyDefrag Forum
May 18, 2013, 07:56:20 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
MyDefrag Forum
>
MyDefrag v4 Forum
>
Questions and help
>
MFT reserved area causing MFT fragmentation
Pages: [
1
]
« previous
next »
Print
Author
Topic: MFT reserved area causing MFT fragmentation (Read 3630 times)
poutnik
JkDefrag Hero
Posts: 1105
MFT reserved area causing MFT fragmentation
«
on:
March 27, 2009, 07:51:33 pm »
It is funny to observe, that MFT reserved area causes MFT fragmentation,
forcing it to wrap around it by sorting action. ( I do not have MFT at start ).
No problem, just funny.
I wonder, why MS does not allow to put MFT inside ?
Logged
It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
WindHydra
JkDefrag Hero
Posts: 69
Re: MFT reserved area causing MFT fragmentation
«
Reply #1 on:
March 27, 2009, 10:23:15 pm »
I think it's the sorting action that causes the fragmentation, not the reserved zone. If you do not move the MFT, it will grow into the reserved zone. MyDefrag can move the part of MFT that might be in the reserved zone out of the reserved zone but can't put it back in, so the MFT ends up warped.
Logged
poutnik
JkDefrag Hero
Posts: 1105
Re: MFT reserved area causing MFT fragmentation
«
Reply #2 on:
March 27, 2009, 10:34:05 pm »
For sure it is as you have said, for obvious reason,
sorting takes MFT reserved zone as unmovable area, aligning MFT across.
But this was not any surprise.
The only thing I do not understand is ,
when MS invented MFT reserved zone to prevent MFT fragmentation,
why they does not allow MFT to be put inside, while movable ?
Logged
It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: MFT reserved area causing MFT fragmentation
«
Reply #3 on:
March 28, 2009, 10:48:16 am »
At the moment MyDefrag does not try to put the MFT in the reserved area, and will always wrap around. I have it on my list to look if maybe the API allows the MFT to be moved into the reserved area.
Logged
ToolmakerSteve
JkDefrag Hero
Posts: 53
Re: MFT reserved area causing MFT fragmentation
«
Reply #4 on:
April 16, 2009, 07:13:37 am »
Quote from: jeroen on March 28, 2009, 10:48:16 am
At the moment MyDefrag does not try to put the MFT in the reserved area, and will always wrap around. I have it on my list to look if maybe the API allows the MFT to be moved into the reserved area.
If anyone comes across any solution to how to get that reserved area to be in a different location, I would love that. Even if I have to reformat the drive to do it.
Its crazy that on a large disk, it is sitting squarely in the prime area, covering 12.5% of the fastest end of the disk.
Don't know if Vista's disk formatter does any better, but XP leaves a gap before it that isn't big enough to be useful for my purposes -- but is big enough to be annoying to waste. In the interests of minimizing head movement, I'm thinking of putting boot files there, then filling the rest with a dummy file. Then put the MFT just AFTER the (wasted) reserve area, then the dirs, then small files, then a gap for new files, etc.
I hate to waste the fastest part of the disk, but I believe it is more important to keep head movement within a narrow range during most accesses. Hence my thinking "MFT + dirs + small files + new file gap" all together.
UPDATE:
For now decided to accept the swing across 12.5% of the disk, to allow XP to use the MFT reserve area as it expects (to expand the MFT).
So I manually calculate how far in the MFT is, put the DIRS a bit before that (at a position which I will need to adjust as the DIRS grow).
Maybe I'll even try to stuff really small files into the area before the DIRS.
~TMSteve
«
Last Edit: April 16, 2009, 07:18:06 am by ToolmakerSteve
»
Logged
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: MFT reserved area causing MFT fragmentation
«
Reply #5 on:
April 16, 2009, 07:17:56 am »
Quote from: ToolmakerSteve on April 16, 2009, 07:13:37 am
If anyone comes across any solution to how to get that reserved area to be in a different location, I would love that.
People have reported that after MyDefrag has moved the MFT and after a reboot, that Windows somehow reassigns the reserved area. It's then a lot smaller.
Logged
ToolmakerSteve
JkDefrag Hero
Posts: 53
Re: MFT reserved area causing MFT fragmentation
«
Reply #6 on:
April 16, 2009, 08:27:48 am »
Quote from: jeroen on April 16, 2009, 07:17:56 am
People have reported that after MyDefrag has moved the MFT and after a reboot, that Windows somehow reassigns the reserved area. It's then a lot smaller.
Thanks for that tip! I reformatted a disk, and did some experimentation, with reboots.
Here is what I found:
After a reboot, the area reported as reserved extends from the current MFT position to the next obstacle (or to the percentage stated by the Reg key: 12.5% for the default "1" key value).
Therefore, on a near empty disk, with at most two reboots, it is possible to get an MFT and a Reserved Area of any desired location and length. It took me two boots, because I was trying to place MFT in middle of its original reserved area, with a file to act as an obstacle a fixed distance beyond it.
This is neat!
NOTE: I don't know whether ReclaimMFTzone would try to move the obstacle file I placed farther away; I removed that line from my scripts just in case.
Logged
WindHydra
JkDefrag Hero
Posts: 69
Re: MFT reserved area causing MFT fragmentation
«
Reply #7 on:
April 27, 2009, 12:13:48 am »
If the drive is not the boot drive, you can just use something like "chkdsk d: /x" to dismount the drive in command prompt, then just cancel the scan by closing the command prompt window, and the mft reserved zone will be reallocated.
If $MFT grows into the reserved zone, ReclaimMFTzone moves $MFT out
So I removed that line too.
Logged
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: MFT reserved area causing MFT fragmentation
«
Reply #8 on:
April 27, 2009, 01:33:16 am »
Quote from: WindHydra on April 27, 2009, 12:13:48 am
If the drive is not the boot drive, you can just use something like "chkdsk d: /x" to dismount the drive in command prompt, then just cancel the scan by closing the command prompt window, and the mft reserved zone will be reallocated.
An easier way to dismount a volume is with "fsutil volume dismount d:".
p.s. Dismounting only works on NTFS volumes, not FAT volumes.
p.s. Volumes are automatically remounted by Windows.
Logged
jonib
JkDefrag Hero
Posts: 810
Re: MFT reserved area causing MFT fragmentation
«
Reply #9 on:
April 27, 2009, 01:42:55 am »
Quote from: jeroen on April 27, 2009, 01:33:16 am
An easier way to dismount a volume is with "fsutil volume dismount d:"
Interesting, I use Contig to create a big file that almost fills the volume I need to get rid of the MFT reserved area from and then delete it, now the reserved areas are gone until reboot, "fsutil volume dismount d:" is nice for the volumes that can be dismounted, thanks for the tip.
jonib
Logged
MyDefrag script syntax highlighting generator
.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
MyDefrag v4 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Scripts, and other contributions
-----------------------------
JkDefrag v3 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Programming with the library
Loading...