Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 26, 2013, 12:04:48 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: is off topic, but issues after a image restore  (Read 1476 times)
drugo
JkDefrag Hero
*****
Posts: 105


View Profile
« Reply #15 on: May 21, 2010, 06:47:30 am »

Almost.  Wink
Add VolumeEnd to the very end of the script and you're done.
it did not work
i run the script and reboot and reserved zone disapeard

Quote
# MyDefrag v4.0 default script: System Disk Daily
#
# This script is part of the standard MyDefrag distribution.

Title('per la resered zone')
Description("per la resered zone")   // See the "Settings.MyD" file.



/* Write the header to the logfile. See the "Settings.MyD" file for the
   definition of the "LogHeader" string. */
WriteLogfile("MyDefrag.log","LogHeader")

/* Select and process the volumes one by one. */
VolumeSelect
  CommandlineVolumes()
VolumeActions

  /* Write the "before" statistics to the logfile. See the "Settings.MyD" file
     for the definition of the "LogBefore" string. */
  AppendLogfile("MyDefrag.log","LogBefore")

  /* Place files at 30% into the data on the disk. */
  MakeGap(RoundUp(VolumeUsed * 0.3,VolumeSize * 0.01), DoNotVacate)

  /* Zone 1: Place the MFT and some other special NTFS files. */
  FileSelect
    SelectNtfsSystemFiles(yes)
  FileActions
    PlaceNtfsSystemFiles(Ascending,MftSize * 0.1)
  FileEnd


VolumeEnd

/* Write the footer to the logfile. See the "Settings.MyD" file for the
   definition of the "LogFooter" string. */
AppendLogfile("MyDefrag.log","LogFooter")
Logged
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« Reply #16 on: May 21, 2010, 07:10:59 am »

i run the script and reboot and reserved zone disapeard
The reserved zone has just become very small, probably placed after the MFT(or other system file) just zoom in where the MFT is and you should find it.

jonib
Logged

drugo
JkDefrag Hero
*****
Posts: 105


View Profile
« Reply #17 on: May 21, 2010, 10:46:10 am »

i run the script and reboot and reserved zone disapeard
The reserved zone has just become very small, probably placed after the MFT(or other system file) just zoom in where the MFT is and you should find it.

jonib
yes but now after the script it's microscopic
Logged
Darlis
JkDefrag Hero
*****
Posts: 1710


View Profile WWW
« Reply #18 on: May 21, 2010, 10:56:46 am »

If you want to increase the size of the reserved zone, you have to change the size parameter in PlaceNtfsSystemFiles:
PlaceNtfsSystemFiles(Ascending, MftSize * 0.1)

This will create a zone size of half the MFT size:
PlaceNtfsSystemFiles(Ascending, MftSize * 0.5)

This will create a zone size of 20MB:
PlaceNtfsSystemFiles(Ascending, 20MB)
Logged

Need help creating a script? Try MyDefrag Script Creator.
jonib
JkDefrag Hero
*****
Posts: 810


View Profile
« Reply #19 on: May 21, 2010, 04:26:28 pm »

yes but now after the script it's microscopic
I don't see any reason for a big reserved zone, It's just unused space often in the way. As long as you use MyDefrag to keep the MFT(and other system files) defragmented the reserved zone is not used anyway.

jonib
Logged

Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!