Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 19, 2013, 01:34:18 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: Question about usage, problems with changing results  (Read 4360 times)
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« on: July 03, 2007, 05:40:49 am »

I have several 3 hard drives with each drive partitioned into 2 or 3 partitions each.  On these partitions I have several folders that RARELY if ever change.  I have made a batch file that (is supposed to) moves the files/folders to the end of the partitions.  I am wanting to use jk to move the files to the end of the partition, mark those files as excluded in (gasp) PerfectDisk and have the free space be in the middle.

On one partition, jk seems to work correctly.  On one partition there is the regular files, jk'd file, several gigs of blank space and the rest of the jk'd files.  The last partition has jk'd files all over the drive.  There is pleanty of free space for file shuffling to happen.  And since the jk'd files are all over the drive, I cannot move the regular files out of the way to see if that is the issue (meaning jk isn't moving regular files out of the way)

On two other drives each time I run jk, files are moved, despite anything changing in the affected files.

What am I doing wrong?

Code:
D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 C:\Dell-XPSP2_PER_ENG

D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 D:\AutoPatcher D:\Emulate "D:\iTunes Music" D:\TOSEC

D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 E:\Emulate\Roms\Fruit E:\Emulate\Roms\Good E:\Emulate\Roms\Pinball E:\Mame\chds E:\Mame\chds_

D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 F:\Dell-XPSP2_PER_ENG "F:\Donny's Music" F:\KenBackups "F:\TOSEC CD" F:\USAPhotoMaps F:\Dell-XPSP1_PER_ENG.iso F:\KenBackupFull2006-09-17.tib F:\WindowsXP-KB835935-SP2-ENU.exe

D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 R:\Keep R:\ReflexiveInstalls R:\WINXPPROITT.iso


please no comments on my partition strategy.  I have them the way I want them  :wink:   Also, the reason that I don't move all the seldom changed files to one drive is that they belong on the partition their on (according to my grouping of files/partitions).  I also know that I could combine the commands into one, but being separate per partitions makes it more straight-forward for me.

Sorry for the long post
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #1 on: July 03, 2007, 06:02:31 am »

Well, I have looked but I don't see anything wrong with your command lines. It's a little bit better to use a wildcard in your items, but JkDefrag will automatically add "\*" if you don't, so that should be allright. I can only suggest that you use a "-d" option and inspect the logfile to see what exactly is happening and why JkDefrag is not moving a particular set of files.
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #2 on: July 03, 2007, 06:13:59 am »

Cheesy
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #3 on: July 03, 2007, 06:52:47 am »

Command on fragmented disk: (note the new \*)

Code:
D:\Good\JkDefrag\jkdefrag -l "log" -u "DisableDefaults" -a 6 D:\AutoPatcher\* D:\Emulate\* "D:\iTunes Music\*" D:\TOSEC\*


Log is over 8 megs uncompressed....  the ending is:

Code:
23:35:08 - Total disk space: 119184289792 bytes, 29097727 clusters
23:35:08 - Bytes per cluster: 4096 bytes
23:35:08 - Number of files analyzed: 12706
23:35:08 - Number of directories analyzed: 25
23:35:08 - Number of clusters in analyzed items: 14759651
23:35:08 - Number of fragmented items: 2
23:35:08 - Number of clusters in fragmented items: 169558 (1.15%)
23:35:08 - Free disk space: 279765 clusters (0.96% of disk)
23:35:08 - Number of gaps: 793
23:35:08 - Number of small gaps: 453 (57.12% of gaps)
23:35:08 - Number of clusters in small gaps: 2217 (0.79% of free disk space)

23:35:08 - Number of big gaps: 340 (42.88% of all gaps)
23:35:08 - Number of clusters in big gaps: 277548 clusters (99.21% of free clusters)
23:35:08 - Average gap size: 352.79 clusters
23:35:08 - Biggest gap: 73047 clusters (26.11% of free clusters)
23:35:08 These items could not be moved:
23:35:08   Fragments       Bytes  Clusters Name
23:35:08   --------- ----------- --------- -----
23:35:08           0           0         0 Total
23:35:08 These items are still fragmented:
23:35:08   Fragments       Bytes  Clusters Name
23:35:08         428   462637678    112949 D:\TOSEC\Bandai.rar
23:35:08           6   231869402     56609 D:\TOSEC\Apple.rar
23:35:08   --------- ----------- --------- -----
23:35:08         434   694507080    169558 Total
23:35:08 The 25 largest items on disk:
23:35:08   Fragments       Bytes  Clusters Name
23:35:08           1  5432935790   1326401 D:\TOSEC\Tandy Radio Shack\Magazines\80 Microcomputing.rar
23:35:08           1  4139531529   1010628 D:\TOSEC\Commodore\Amiga\Games\[ADF].rar
23:35:08           1  3997849489    976038 D:\TOSEC\Tandy Radio Shack\Books.rar
23:35:08           1  2987565098    729387 D:\TOSEC\Tandy Radio Shack\Manuals\Software.rar
23:35:08           1  2882060259    703628 D:\TOSEC\Atari\ST\Compilations\Games\[ST].rar
23:35:08           1  2507380608    612154 D:\TOSEC\Commodore\Amiga\Demos\Packs.rar
23:35:08           1  2420661619    590982 D:\TOSEC\Commodore\Amiga\Games\SPS.rar
23:35:08           1  2179057490    531997 D:\TOSEC\NEC.rar
23:35:08           1  1671017392    407964 D:\TOSEC\Tandy Radio Shack\Catalogs.rar
23:35:08           1  1346790346    328807 D:\TOSEC\Tandy Radio Shack\Magazines\80-US Journal.rar
23:35:08           1  1335003302    325929 D:\TOSEC\Tandy Radio Shack\Manuals\Hardware.rar
23:35:08           1  1219789804    297801 D:\TOSEC\Commodore\Amiga\Demos\Various.rar
23:35:08           1  1144267063    279363 D:\TOSEC\Commodore\Amiga\Demos\Music.rar
23:35:08           1  1112927981    271711 D:\TOSEC\Sharp\X68000\Games.rar
23:35:08           1   959604212    234279 D:\TOSEC\Tandy Radio Shack\TRS-80 Color Computer.rar
23:35:08           1   894298921    218335 D:\TOSEC\Atari\Games\[ST].rar
23:35:08           1   892922998    217999 D:\TOSEC\Commodore\Amiga\Applications\[ADF].rar
23:35:08           1   799694862    195239 D:\TOSEC\Commodore\Amiga\Games\Public Domain.rar
23:35:08           1   773729548    188899 D:\TOSEC\Atari\Public Domain Collections\Floppyshop.rar
23:35:08           1   747242249    182433 D:\TOSEC\Nintendo\Super Famicom & Super Entertainment System.rar
23:35:08           1   737495963    180053 D:\TOSEC\Tandy Radio Shack\Magazines\User Groups.rar
23:35:08           1   730488832    178342 D:\TOSEC\Commodore\Amiga\Diskmags.rar
23:35:08           1   662539453    161753 D:\TOSEC\Atari\ST\Demos.rar
23:35:08           1   638414308    155863 D:\TOSEC\IBM.rar
23:35:08           1   616675081    150556 D:\TOSEC\Commodore\Amiga\Coverdisks.rar


I also tried moving a BUNCH of files off the disk and running it again, nothing changed =[
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #4 on: July 03, 2007, 07:30:44 am »

Yes, thank you, but the end of the logfile does not tell me anything about your problem. Try to find a particular file that was not moved and look it up in the logfile. See the "See Also" chapter on the JkDefrag homepage for links to DiskView and HDview, two utilities that can be used to find out the names of files that are "all over the drive".
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #5 on: July 03, 2007, 08:42:27 am »

ok, trying new approach, freed up about 10 gigs.... tried again, still same results, ran perfect disk so there were free spots between jk'd files re-ran jk, moved nothing....  ran:

Code:
jkdefrag -l "" -u "DisableDefaults" -a 5 D:\


no progress % when running -a 5, fine with me, just checking if that was by design or not

also re-sizing the window of the gui while defragging will land you a blank box  Sad

ran Hdview, confirmed space was empty

rerunning with:

D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 D:\TOSEC\* D:\Emulate\* "D:\iTunes Music\*" D:\AutoPatcher\*

MUCH better, but still gaps
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #6 on: July 03, 2007, 12:01:06 pm »

Quote from: "donnyj"
no progress % when running -a 5, fine with me, just checking if that was by design or not

Yes, the progress counter is not visible in the "-a 5" mode.

Quote from: "donnyj"
also re-sizing the window of the gui while defragging will land you a blank box

The window can only be redrawn between files. If the Microsoft defragmentation API is busy with a big file then JkDefrag has to wait until it is finished.

Quote from: "donnyj"
MUCH better, but still gaps

Well, I'm sure JkDefrag has done it's best. If there are still gaps then they must be caused by unmovable files. Or by files not included in whatever you have specified.
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #7 on: July 03, 2007, 01:22:05 pm »

I feel bad.  I forgot to start this thread with:  I have tried at least a dozen defragmentation programs, freeware and commercial.  With the commandline ability and options to move certain files/folders to the end of the disk is EXACTLY what I have been looking for; easy, batchable control over the placement.  I can tell a lot of hard work has been spent on jkdefrag's development and I really appreciate it.  I only hope that I can understand what I am doing and if there is a way to make my defragmenting "just right".  I am not trying to complain.

ok, time to get serious....  14 gigs free...

checking to make sure NOTHING has ANY files open on the partition:

Code:
C:\>handle D:\

Handle v3.2
Copyright (C) 1997-2006 Mark Russinovich
Sysinternals - www.sysinternals.com

No matching handles found.


ok, clean...

now the following command 4 times (each time more files are moved, and the image appears to get more filled in each run):

Code:
C:\>D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 D:\TOSEC\* D:\Emulate\* "D:\iTunes Music\*" D:\AutoPatcher\*


now, one more run with logging enabled:

Code:
C:\>D:\Good\JkDefrag\jkdefrag -l "log.log" -d 6 -u "DisableDefaults" -a 6 D:\TOSEC\* D:\Emulate\* "D:\iTunes Music\*" D:\AutoPatcher\*


ok, run Hdview and do an Export of the data...  load the data file into text viewer, and analyze carefully:

didn't have to go far, the last four items in the log:

Code:
Item:357737 Base:357737 Name:\TOSEC\Nintendo\Famicom & Entertainment System\Games\[NES]\World Champ (1992)(Taito)(Eu)[!].zip Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22372967 LEN:25

Item:358065 Base:358065 Name:\VirtualF\mp3DirectCut\Languages\lanKorean.ini Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:4011341 LEN:3

Item:358066 Base:358066 Name:\VirtualF\mp3DirectCut\Languages\Translators.txt Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (resident)

Item:360618 Base:360618 Name:\TOSEC\Nintendo\Famicom & Entertainment System\Games\[NES]\Star Trek V - The Final Frontier (1989)(Bandai)(US)(proto).zip Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22470306 LEN:22


items 2 and 3 should not be there...  will deal with that after continuing with the current issues...

looks good for quite awhile, now another block that shouldn't be there, this time with some quite large files:

Code:
Item:354625 Base:354625 Name:\E-Mule\Wisdom-Soft.ScreenHunter Pro.v5.0.711.rar Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22113048 LEN:841

Item:356243 Base:356243 Name:\VirtualF\BTS\DriverPacks\DriverPacks\DPs_BASE_7016.exe Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22112697 LEN:351

Item:356247 Base:356247 Name:\VirtualF\BTS\DriverPacks\docs\DriverPack_reference_wnt5_x86-32.ini Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:3741183 LEN:2

Item:356248 Base:356248 Name:\VirtualF\BTS\DriverPacks\lng\Chinese (Simplified).lng Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22714675 LEN:3

Item:356250 Base:356250 Name:\VirtualF\BTS\DriverPacks\lng\Romanian.lng Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22714672 LEN:3

Item:356252 Base:356252 Name:\VirtualF\BTS\DriverPacks\DriverPacks\DP_Chipset_wnt5_x86-32_612.7z Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:22112385 LEN:312

Item:356254 Base:356254 Name:\VirtualF\BTS\DriverPacks\DriverPacks\DP_MassStorage_wnt5_x86-32_7011.7z Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:6000958 LEN:917

Item:356257 Base:356257 Name:\VirtualF\BTS\DriverPacks\DriverPacks\DP_LAN_wnt5_x86-32_701.7z Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:16550072 LEN:1700

Item:356261 Base:356261 Name:\VirtualF\BTS\DriverPacks\DriverPacks\DP_WLAN_wnt5_x86-32_701.7z Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)
LCN:16612078 LEN:4313

Item:356264 Base:356264 Name:\VirtualF\BTS\DriverPacks\DriverPacks\DP_Graphics_B_wnt5_x86-32_612.7z Type:FILE
$STANDARD_INFORMATION  (resident)
$FILE_NAME  (resident)
$DATA  (nonresident)


We are still in the \TOSEC directory.  There are a lot more files out of place, but let's switch over to jk's log and look for anomolies:

Code:
05:22:53 - Biggest gap: 1386131 clusters (46.02% of free clusters)
05:22:53 These items could not be moved:
05:22:53   Fragments       Bytes  Clusters Name
05:22:53   --------- ----------- --------- -----
05:22:53           0           0         0 Total
05:22:53 These items are still fragmented:
05:22:53   Fragments       Bytes  Clusters Name
05:22:53           2  3997849489    976038 D:\TOSEC\Tandy Radio Shack\Books.rar
05:22:53           2  2882060259    703628 D:\TOSEC\Atari\ST\Compilations\Games\[ST].rar
05:22:53   --------- ----------- --------- -----
05:22:53           4  6879909748   1679666 Total


fragmented files with gaps big enough for them, but maybe the gap was towards the front of the drive?

other sections do not have fragmented or unmovable files.

ok looking at the big free space gap between the regular files and the "moved to the back files", the last file is ...Books.rar and it has a LARGE blank space after it (towards the end of the disk):

Quote
05:18:52 Getting cluster bitmap: D:\TOSEC\Tandy Radio Shack\Books.rar
05:18:52 Extent: Lcn=24854887, Vcn=0, NextVcn=6912
05:18:52 Extent: Lcn=24861799, Vcn=6912, NextVcn=10864
05:18:52 Extent: Lcn=24865751, Vcn=10864, NextVcn=17488
05:18:52 Extent: Lcn=24872375, Vcn=17488, NextVcn=22176
05:18:52 Extent: Lcn=24877063, Vcn=22176, NextVcn=24608
05:18:52 Extent: Lcn=24879495, Vcn=24608, NextVcn=35821
05:18:52 Extent: Lcn=24890708, Vcn=35821, NextVcn=41254
05:18:52 Extent: Lcn=24896141, Vcn=41254, NextVcn=52410
05:18:52 Extent: Lcn=24907297, Vcn=52410, NextVcn=66400
05:18:52 Extent: Lcn=24921287, Vcn=66400, NextVcn=82791
05:18:52 Extent: Lcn=24937678, Vcn=82791, NextVcn=100528
05:18:52 Extent: Lcn=24955415, Vcn=100528, NextVcn=111442
05:18:52 Extent: Lcn=24966329, Vcn=111442, NextVcn=135656
05:18:52 Extent: Lcn=24990543, Vcn=135656, NextVcn=144375
05:18:52 Extent: Lcn=24999262, Vcn=144375, NextVcn=151605
05:18:52 Extent: Lcn=25006492, Vcn=151605, NextVcn=168544
05:18:52 Extent: Lcn=25023431, Vcn=168544, NextVcn=179517
05:18:52 Extent: Lcn=25034404, Vcn=179517, NextVcn=196464
05:18:52 Extent: Lcn=25051351, Vcn=196464, NextVcn=205919
05:18:52 Extent: Lcn=25060806, Vcn=205919, NextVcn=218048
05:18:52 Extent: Lcn=25072935, Vcn=218048, NextVcn=229335
05:18:52 Extent: Lcn=25084222, Vcn=229335, NextVcn=237173
05:18:52 Extent: Lcn=25092060, Vcn=237173, NextVcn=257150
05:18:52 Extent: Lcn=25112037, Vcn=257150, NextVcn=262144
05:18:52 Extent: Lcn=7536576, Vcn=262144, NextVcn=269065
05:18:52 Extent: Lcn=7543497, Vcn=269065, NextVcn=276065
05:18:52 Extent: Lcn=7550497, Vcn=276065, NextVcn=296192
05:18:52 Extent: Lcn=7570624, Vcn=296192, NextVcn=317620
05:18:52 Extent: Lcn=7592052, Vcn=317620, NextVcn=339500
05:18:52 Extent: Lcn=7613932, Vcn=339500, NextVcn=360672
05:18:52 Extent: Lcn=7635104, Vcn=360672, NextVcn=378067
05:18:52 Extent: Lcn=7652499, Vcn=378067, NextVcn=398304
05:18:52 Extent: Lcn=7672736, Vcn=398304, NextVcn=413085
05:18:52 Extent: Lcn=7687517, Vcn=413085, NextVcn=416704
05:18:52 Extent: Lcn=7691136, Vcn=416704, NextVcn=423936
05:18:52 Extent: Lcn=7698368, Vcn=423936, NextVcn=435328
05:18:52 Extent: Lcn=7709760, Vcn=435328, NextVcn=448608
05:18:52 Extent: Lcn=7723040, Vcn=448608, NextVcn=451728
05:18:52 Extent: Lcn=7726160, Vcn=451728, NextVcn=461568
05:18:52 Extent: Lcn=7736000, Vcn=461568, NextVcn=465872
05:18:52 Extent: Lcn=7740304, Vcn=465872, NextVcn=470938
05:18:52 Extent: Lcn=7745370, Vcn=470938, NextVcn=478976
05:18:52 Extent: Lcn=7753408, Vcn=478976, NextVcn=486591
05:18:52 Extent: Lcn=7761023, Vcn=486591, NextVcn=492800
05:18:52 Extent: Lcn=7767232, Vcn=492800, NextVcn=506800
05:18:52 Extent: Lcn=7781232, Vcn=506800, NextVcn=512593
05:18:52 Extent: Lcn=7787025, Vcn=512593, NextVcn=518016
05:18:52 Extent: Lcn=7792448, Vcn=518016, NextVcn=526901
05:18:52 Extent: Lcn=7801333, Vcn=526901, NextVcn=537830
05:18:52 Extent: Lcn=7812262, Vcn=537830, NextVcn=547968
05:18:52 Extent: Lcn=7822400, Vcn=547968, NextVcn=556437
05:18:52 Extent: Lcn=7830869, Vcn=556437, NextVcn=561616
05:18:52 Extent: Lcn=7836048, Vcn=561616, NextVcn=571168
05:18:52 Extent: Lcn=7845600, Vcn=571168, NextVcn=582198
05:18:52 Extent: Lcn=7856630, Vcn=582198, NextVcn=588590
05:18:52 Extent: Lcn=7863022, Vcn=588590, NextVcn=597082
05:18:52 Extent: Lcn=7871514, Vcn=597082, NextVcn=623797
05:18:52 Extent: Lcn=7898229, Vcn=623797, NextVcn=635295
05:18:52 Extent: Lcn=7909727, Vcn=635295, NextVcn=642976
05:18:52 Extent: Lcn=7917408, Vcn=642976, NextVcn=648976
05:18:52 Extent: Lcn=7923408, Vcn=648976, NextVcn=656640
05:18:52 Extent: Lcn=7931072, Vcn=656640, NextVcn=662521
05:18:52 Extent: Lcn=7936953, Vcn=662521, NextVcn=670464
05:18:52 Extent: Lcn=7944896, Vcn=670464, NextVcn=676304
05:18:52 Extent: Lcn=7950736, Vcn=676304, NextVcn=689040
05:18:52 Extent: Lcn=7963472, Vcn=689040, NextVcn=695424
05:18:52 Extent: Lcn=7969856, Vcn=695424, NextVcn=703424
05:18:52 Extent: Lcn=7977856, Vcn=703424, NextVcn=708448
05:18:52 Extent: Lcn=7982880, Vcn=708448, NextVcn=717184
05:18:52 Extent: Lcn=7991616, Vcn=717184, NextVcn=725410
05:18:52 Extent: Lcn=7999842, Vcn=725410, NextVcn=733479
05:18:52 Extent: Lcn=8007911, Vcn=733479, NextVcn=739397
05:18:52 Extent: Lcn=8013829, Vcn=739397, NextVcn=746480
05:18:52 Extent: Lcn=8020912, Vcn=746480, NextVcn=790131
05:18:52 Extent: Lcn=8064563, Vcn=790131, NextVcn=803104
05:18:52 Extent: Lcn=8077536, Vcn=803104, NextVcn=811856
05:18:52 Extent: Lcn=8086288, Vcn=811856, NextVcn=822400
05:18:52 Extent: Lcn=8096832, Vcn=822400, NextVcn=827873
05:18:52 Extent: Lcn=8102305, Vcn=827873, NextVcn=832536
05:18:52 Extent: Lcn=8106968, Vcn=832536, NextVcn=838240
05:18:52 Extent: Lcn=8112672, Vcn=838240, NextVcn=845984
05:18:52 Extent: Lcn=8120416, Vcn=845984, NextVcn=864672
05:18:52 Extent: Lcn=8139104, Vcn=864672, NextVcn=871952
05:18:52 Extent: Lcn=8146384, Vcn=871952, NextVcn=881312
05:18:52 Extent: Lcn=8155744, Vcn=881312, NextVcn=888719
05:18:52 Extent: Lcn=8163151, Vcn=888719, NextVcn=927312
05:18:52 Extent: Lcn=8201744, Vcn=927312, NextVcn=934453
05:18:52 Extent: Lcn=8208885, Vcn=934453, NextVcn=950336
05:18:52 Extent: Lcn=8224768, Vcn=950336, NextVcn=958800
05:18:52 Extent: Lcn=8233232, Vcn=958800, NextVcn=976038
05:18:52 D:\TOSEC\Tandy Radio Shack\Books.rar
  976038 clusters at 24854887, 3997849489 bytes

 
oddly, that happens to be one of the still fragmented files

how big is that gap?

Code:
05:35:42 Gap found: LCN=8250470, Size=926577


according to what I can understand, that is 3,795,259,392 bytes or over 3 gigs?  that's a big gap... however, Books.rar is just shy of 4 gigs.  So, is the problem?  jk doesn't "shift" the file over because the gap is too small for the whole file?  Would it be possible to handle situations like that, even if a file had to be fragmented (on LARGE files)?


back to normal files being stuck at the end:

trying perfectdisk...  oddly, perfectdisk didn't move them either... I wonder why they are "stuck"... hey jk might be just the ticket:

Code:
C:\>D:\Good\JkDefrag\jkdefrag -l "log.log" -d 6 -u "DisableDefaults" -a 3 D:\ -e D:\TOSEC\* -e D:\Emulate\* -e "D:\iTunes Music\*" -e D:\AutoPatcher\*


nope, still "stuck" let's try one step up:

Code:
C:\>D:\Good\JkDefrag\jkdefrag -l "log.log" -d 6 -u "DisableDefaults" -a 5 D:\ -e D:\TOSEC\* -e D:\Emulate\* -e "D:\iTunes Music\*" -e D:\AutoPatcher\*


NOPE!!!!  ok, enough of this BS, moving files off of partition, then moving them back....  FINALLY, they're out of there (until the drive fills up)



Thanks for your patience and help.
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #8 on: July 03, 2007, 03:33:52 pm »

Quote from: "donnyj"

now the following command 4 times (each time more files are moved, and the image appears to get more filled in each run):

Code:
C:\>D:\Good\JkDefrag\jkdefrag -l "" -u "DisableDefaults" -a 6 D:\TOSEC\* D:\Emulate\* "D:\iTunes Music\*" D:\AutoPatcher\*




There could be files in the way.  Have you tried:
jkdefag  ... -a 3 -e D:\TOSEC\* -e ... D:
jkdefrag ... -a 6 D:\TOSEC\* ....
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #9 on: July 03, 2007, 03:39:02 pm »

I ran those commands in an attempt to get files out of the end of disk region and they stubbornly stayed until I actually moved them to another partition and then back....
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #10 on: July 04, 2007, 05:24:33 am »

Quote from: "donnyj"
I ran those commands in an attempt to get files out of the end of disk region and they stubbornly stayed until I actually moved them to another partition and then back....

I feel very stupid today, I still do not understand what you are trying to do. You write that you want to "get files out of the end of disk region", but you are using the "-a 6" option? That option will move files to the end of the disk, not away from the end of the disk.

Perhaps a general remark, I don't know if this explains your problem: the "-a 6" option will move the selected files to the first gap on disk above the file, that is big enough to hold the file. The program scans for gaps starting at the end of the disk down to the end of the file. If it does not find a gap then the file is not moved. Please note that this algorithm does not perfectly fill all gaps at the end of the disk. The algorithm is simple on purpose, I see no use on wasting a lot of time on those files.
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #11 on: July 04, 2007, 05:45:04 am »

I didn't/don't understand why files in the way aren't moved out.  But if that is by design, no problem.

Also I had files that were at the end of the disk that refused to move by ANY defragmenter towards the front of the disk.  So what I did was, to actually MOVE the files off the partition, then moving them back on.

I guess that could be my new defragment method, move everything off, move it back.

What I was trying to accomplish, was to move files that would almost never change to the end of the disk by themselves, leaving possibly changing files at the front.  Having a mix of them at the end of the disk defeats the attempt.

If I understand correctly, in order to move files to the end of the disk, I first need to move ALL files out of the area that needs to be occupied, before optimization.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #12 on: July 06, 2007, 09:23:22 pm »

Quote from: "donnyj"
I didn't/don't understand why files in the way aren't moved out.

Please run JkDefrag with the "-d 6" commandline option and then look for one of the files that were not moved. There must be a message in the logfile that tells you why the file was not moved.

Quote from: "donnyj"
What I was trying to accomplish, was to move files that would almost never change to the end of the disk by themselves, leaving possibly changing files at the front.  Having a mix of them at the end of the disk defeats the attempt.

Take a look at the "-u" commandline option. JkDefrag will do it all for you in a single run.

Quote from: "donnyj"
If I understand correctly, in order to move files to the end of the disk, I first need to move ALL files out of the area that needs to be occupied, before optimization.

Yes. Files already there are not moved away automatically.
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!