© J.C. Kessels 2009
MyDefrag Forum
May 22, 2013, 12:54:15 pm
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
>
ReclaimNtfsReservedAreas()
Pages: [
1
]
« previous
next »
Print
Author
Topic: ReclaimNtfsReservedAreas() (Read 1573 times)
Cherry
Newbie
Posts: 3
ReclaimNtfsReservedAreas()
«
on:
November 25, 2009, 12:01:20 pm »
What does it really do?
This is part of some defrag-scripts, but i don't see any(at least not the expected) effect using it.
What was i expecting?
I have 2 Partitions, D: (my Data-Partition, freshly created some days ago on my shiny new Raid5). This has a darkblue area "NTFS reserved Zone" (don't know the exact english words, MyDefrag is in German here), and C: which was on a old, small and quite full WD Raptor. Because this drive got (accidentally) filled up to the last bit at some time in the past, there was no "NTFS reserved Zone" here, even if in normal use it only got filled up to 80-85%. Then i moved C: from the Raptor onto a much bigger drive, so there's now plenty of free space.
Then i did a defrag using a script with ReclaimNtfsReservedAreas(), expecting it to free the space where the mftzone would be, if there were any on this partition. Then a reboot (because i read Windows would recover the MFT-Zone after a reboot, if ther was enough free space), and after this i started mydefrag again, this time with "analyze only". I was hoping for a darkblue "NTFS reserved Zone" on Partition "C:" like it is on "D:", but this didn't happen.
I also played a bit with "fsutil behavior set mftzone" but this didn't change anything.
Can anyone enlighten me where my thoughts went wrong, or why MyDefrag didn't do what i hoped to achieve?
Martin
Logged
jonib
JkDefrag Hero
Posts: 810
Re: ReclaimNtfsReservedAreas()
«
Reply #1 on:
November 25, 2009, 12:21:48 pm »
The "NTFS reserved Zone" is usually placed after the $MFT, so if there is only a small space after the $MFT the "NTFS reserved Zone".
ReclaimNtfsReservedAreas()
will move away any files from the "NTFS reserved Zone" it will not do anything else with it.
If you don't see the "NTFS reserved Zone" you probably need to zoom in on the diskmap, it should be after the $MFT in the first part of the volume.
jonib
Logged
MyDefrag script syntax highlighting generator
.
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: ReclaimNtfsReservedAreas()
«
Reply #2 on:
November 25, 2009, 12:26:22 pm »
I am sorry for the confusion. The ReclaimNtfsReservedAreas() should have been deleted, it is a remnant from the past. MyDefrag does it differently now. For more information see the
SelectNtfsSystemFiles
and
PlaceNtfsSystemFiles
commands.
Logged
Cherry
Newbie
Posts: 3
Re: ReclaimNtfsReservedAreas()
«
Reply #3 on:
November 25, 2009, 12:51:46 pm »
Quote from: jonib on November 25, 2009, 12:21:48 pm
If you don't see the "NTFS reserved Zone" you probably need to zoom in on the diskmap, it should be after the $MFT in the first part of the volume.
Ah, there it is, but it's really small. Did i get this right: the reserved zone will only grow until it hits another file. So if there is unmovable file right behind the MFT, the reserved zone will only fill the gap between the MFT and this file?
Quote from: jeroen on November 25, 2009, 12:26:22 pm
I am sorry for the confusion. The ReclaimNtfsReservedAreas() should have been deleted, it is a remnant from the past.
But it's still in your own scripts ;-) I'll have a look into the other stuff,
thanks so far,
Martin
Logged
jonib
JkDefrag Hero
Posts: 810
Re: ReclaimNtfsReservedAreas()
«
Reply #4 on:
November 25, 2009, 12:58:43 pm »
Quote from: Cherry on November 25, 2009, 12:51:46 pm
Ah, there it is, but it's really small. Did i get this right: the reserved zone will only grow until it hits another file. So if there is unmovable file right behind the MFT, the reserved zone will only fill the gap between the MFT and this file?
Yes, but the reserved zone is used only if the $MFT needs to grow so it doesn't get fragmented, so its good that it is not too big as it's usually not used anyway, and if the $MFT gets fragmented MyDefrag will defragment it anyway.
jonib
Logged
MyDefrag script syntax highlighting generator
.
Cherry
Newbie
Posts: 3
Re: ReclaimNtfsReservedAreas()
«
Reply #5 on:
November 25, 2009, 01:04:46 pm »
So in real-world this is a non-issue. Good to hear and thanks for the input.
Martin
Logged
redrock5432
JkDefrag Supporter
Posts: 10
Re: ReclaimNtfsReservedAreas()
«
Reply #6 on:
January 05, 2010, 08:14:45 pm »
is ReclaimNtfsReservedAreas() deprecated?
If so, should it be removed from scripts?
«
Last Edit: January 05, 2010, 08:16:36 pm by redrock5432
»
Logged
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: ReclaimNtfsReservedAreas()
«
Reply #7 on:
January 05, 2010, 11:57:45 pm »
Quote from: redrock5432 on January 05, 2010, 08:14:45 pm
is ReclaimNtfsReservedAreas() deprecated?
In the next release the standard scripts will not be using the ReclaimNtfsReservedAreas() command any more. The command will remain and will still be there, in case somebody wants to use it.
Logged
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...