Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 22, 2013, 06:21:52 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: FileAction - Defragment doesn't move files into zone  (Read 1258 times)
tonne
JkDefrag Hero
*****
Posts: 55


View Profile
« on: April 20, 2009, 09:59:42 am »

I don't know if it's by design. I have placed a single file at a fixed lcn with
Code:
  SetBeginOfZone(AtCluster(100000))
  FileSelect
    FullName("K:\SomeFile.txt")
  FileActions
    SortByName(Ascending)
  FileEnd
If I change the script and try to move the not fragmented file til cluster 50000 the file isn't moved.
The only way I can move the file is to use ForcedFill().

TIA
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: April 20, 2009, 03:11:49 pm »

The beginning of the zone can only be adjusted upwards, not downwards. In other words, if there are zones before the SetBeginOfZone(AtCluster(50000)) that take up more than 50000 clusters then the command will be ignore. Also, if the cluster size is the standard 4096 bytes then 50000 clusters is only 200 megabytes. Does that answer your question?
Logged
tonne
JkDefrag Hero
*****
Posts: 55


View Profile
« Reply #2 on: April 20, 2009, 03:22:25 pm »

Not entirely - as usual Im testing in a 'controlled' enviroment; my empty TrueCrypt NTFS container. Besides system files only one single file are on the disk. This file isn't moved.
If I add a file and make another Zone atCluster(100000) I suppose the first file will be vacated to make room for file II !?
But I suppose the reason that file I isn't moved is that it already are in the correct zone (the single zone spans to the end of the disk).

If I had two optimized zones :
100000 fileI
200000 file2
and wanted to rearrange into
  50000 file2
100000 file1
would the file be moved then?
I can make the test later today.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: April 20, 2009, 04:25:00 pm »

This file isn't moved.
Perhaps you can post you script?
Logged
Pages: [1]
  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!