Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 26, 2013, 02:53:42 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: Fastfill goes into an infinite loop  (Read 807 times)
Mohaine
JkDefrag Supporter
***
Posts: 13


View Profile
« on: September 22, 2009, 02:44:53 am »

A script I have used many, many times, decided to go into an infinite loop today, halting the defrag.

My script has:

  FileSelect
    ImportListFromBootOptimize()
  FileActions
    Defragment(Fast)
    FastFill(WithShuffling)
    AddGap(UntilPercentageOfVolumeMultiple(1))
  FileEnd

In my debug log, I see:

     Starting FileActions.
11:04:32     Defragment
11:04:32     FastFill
11:04:32     Starting FastFill.
11:04:35         Trying to move away the item above the gap.
11:04:35           The item above the gap is unmovable.
11:04:35         Trying to move away the item above the gap.
11:04:35           The item above the gap is unmovable.
11:04:35         Trying to move away the item above the gap.
11:04:35           Could not find the item above the gap.
11:04:35         Trying to move away the item above the gap.
11:04:35           Could not find the item above the gap.
11:04:35         Trying to move away the item above the gap.
11:04:35           Could not find the item above the gap.
11:04:35         Trying to move away the item above the gap.
11:04:35           Could not find the item above the gap.
11:04:36         Trying to move away the item above the gap.
11:04:36           Could not find the item above the gap.
11:04:36         Trying to move away the item above the gap.
11:04:36           Could not find the item above the gap.
11:04:36         Trying to move away the item above the gap.
11:04:36           Could not find the item above the gap.
11:04:36         Trying to move away the item above the gap.
11:04:36           Could not find the item above the gap.
11:04:36         Trying to move away the item above the gap.
11:04:36           Could not find the item above the gap.
11:04:36         Trying to move away the item above the gap.
11:04:36           Could not find the item above the gap.
11:04:37         Trying to move away the item above the gap.
11:04:37           Could not find the item above the gap.
11:04:37         Trying to move away the item above the gap.
11:04:37           Could not find the item above the gap.
11:04:37         Trying to move away the item above the gap.
11:04:37           Could not find the item above the gap.
11:04:37         Trying to move away the item above the gap.
11:04:37           Could not find the item above the gap.
11:04:37         Trying to move away the item above the gap.
11:04:37           Offset=0 Size=1
11:04:37           Unsuccesful in moving the item above the gap.
11:04:38         Trying to move away the item above the gap.
11:04:38           The end of the gap is above the end of the zone.
11:04:38         Trying to move away the item above the gap.
11:04:38           The end of the gap is above the end of the zone.

which then goes on for ever and ever until I kill MyDefrag (v4.1.2).

Taking off the "WithShuffling" option from the FastFill allowed the defrag to proceed.
« Last Edit: September 22, 2009, 02:49:13 am by Mohaine » Logged
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #1 on: September 22, 2009, 08:19:23 am »

4.1.2 had problem with the WithShuffling option, usually marking all files behind gaps as unmovable.
Try it with 4.2.0.
Logged
Mohaine
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #2 on: September 23, 2009, 12:10:03 am »

4.1.2 had problem with the WithShuffling option, usually marking all files behind gaps as unmovable.
Try it with 4.2.0.
Thanks, I'll give it a try.
Logged
grahamcopley
JkDefrag Senior
****
Posts: 47


View Profile
« Reply #3 on: September 23, 2009, 12:45:55 pm »

I've got a similar problem using MyDefrag v4.2.0.Beta.

MyDefrag goes into an infinite loop - until killed. The extract from the debuglog is :-

11:30:41         I want to move 6 clusters at offset=2439 of item 'C:\System Volume
                     Information\_restore{B20CC60B-4248-4030-982F-BD483A480CBD}\RP714
                     \snapshot\_REGISTRY_MACHINE_SOFTWARE' (Inode=35413).
11:30:41           Moving 'C:\System Volume Information\_restore{B20CC60B-4248-4030-982F-
                       BD483A480CBD}\RP714\snapshot\_REGISTRY_MACHINE_SOFTWARE'
                       (Inode=35413)
11:30:41             Moving 6 clusters at offset=2439 to Lcn=332658.
11:30:42         I want to move 7 clusters at offset=2445 of item 'C:\System Volume
                     Information\_restore{B20CC60B-4248-4030-982F-BD483A480CBD}\RP714
                    \snapshot\_REGISTRY_MACHINE_SOFTWARE' (Inode=35413).
11:30:42           Moving 'C:\System Volume Information\_restore{B20CC60B-4248-4030-982F-
                       BD483A480CBD}\RP714\snapshot\_REGISTRY_MACHINE_SOFTWARE'
                      (Inode=35413)
11:30:42             Moving 7 clusters at offset=2445 to Lcn=332664.
11:30:42         I want to move 2 clusters at offset=2452 of item 'C:\System Volume
                     Information\_restore{B20CC60B-4248-4030-982F-BD483A480CBD}\RP714
                     \snapshot\_REGISTRY_MACHINE_SOFTWARE' (Inode=35413).
11:30:42           Moving 'C:\System Volume Information\_restore{B20CC60B-4248-4030-982F-
                     BD483A480CBD}\RP714\snapshot\_REGISTRY_MACHINE_SOFTWARE'
                     (Inode=35413)
11:30:42             Moving 2 clusters at offset=2452 to Lcn=332671.
11:30:42         Next movable item is at LCN=302647, which is above LCN=302647.
11:30:42         Finished vacating.
11:30:42       Starting to fill the gap at LCN=281351, size=21296 clusters.
11:30:43         There are 2 movable items above the gap, smallest is 25914 clusters, largest
                      is 25914 clusters.
11:30:43         The gap cannot be perfectly filled, 21296 clusters will remain.
11:30:43         Restarting the gap, maybe it was changed by the unmovable item.
11:30:43       Starting to fill the gap at LCN=332673, size=27183 clusters.
11:30:43         There are 1 movable items above the gap, smallest is 0 clusters, largest is 0
                     clusters.
11:30:43         The gap cannot be perfectly filled, 27183 clusters will remain.
11:30:43         Restarting the gap, maybe it was changed by the unmovable item.
11:30:43       Starting to fill the gap at LCN=332673, size=27183 clusters.
11:30:43         There are 1 movable items above the gap, smallest is 0 clusters, largest is 0
                   clusters.
11:30:44         The gap cannot be perfectly filled, 27183 clusters will remain.
11:30:44         Restarting the gap, maybe it was changed by the unmovable item.
11:30:44       Starting to fill the gap at LCN=332673, size=27183 clusters.
11:30:44         There are 1 movable items above the gap, smallest is 0 clusters, largest is 0
                   clusters.
11:30:44         The gap cannot be perfectly filled, 27183 clusters will remain.

............

I've attached the complete debuglog file.


* MyDefrag.debuglog (960.38 KB - downloaded 120 times.)
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #4 on: September 23, 2009, 09:44:54 pm »

I've got a similar problem using MyDefrag v4.2.0.Beta.
Thanks for posting the logfile, I appreciate it. I have found the problem - something I overlooked - and it will be fixed in the next release.
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!