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:
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):
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:
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:
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:
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:
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):
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?
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:
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:
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.