Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 20, 2013, 06:05:35 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: What am I doing wrong?  (Read 3383 times)
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« on: July 19, 2007, 09:26:40 am »

Why isn't this command line working?
Code:
jkdefrag -f 0 -d 6 -l "c:\FirstRun.log" -a 3 D:\* -u "DisableDefaults" -u D:\Emulate\* -u "D:\TOSEC CD\*" -u D:\TOSEC\* -u "D:\VirtualF\*" -u "D:\iTunes Music\*" -u D:\Scene\*

What I get is everything on the partition moved to the front, instead of the end.

doing a Dir D:\ /s yields:
Code:
    Total Files Listed:
           19317 File(s) 87,916,118,165 bytes
            1956 Dir(s)  30,708,641,792 bytes free

I have tried to troubleshoot:

Moved 99.9% of the files that are not specified in the -u masks off the partition (no possible way anything is blocking now).

Verified with Hdview that the end of the disk is indeed free space.

Tried various -f values.

Ran:
Code:
jkdefrag -f 0 -d 6 -l "c:\SecondRun.log" -a 6 D:\* -u "DisableDefaults" -u D:\Emulate\* -u "D:\TOSEC CD\*" -u D:\TOSEC\* -u "D:\VirtualF\*" -u "D:\iTunes Music\*" -u D:\Scene\*

Which moved EVERYTHING to the end.  (Which proves that there was nothing stopping the end to be filled)

One thing that would be really helpful is having the log start with plain english, what jkdefrag interpretted the command-line as being:
Code:
Freespace between sections: 0%
Debug level: 6
Logname: "C:\SecondRun.log"
Degrag target: D:\*
Default space hogs: disabled
Move to end of disk: D:\Emulate\* "D:\TOSEC CD\*" D:\TOSEC\* D:\VirtualF\* "D:\iTunes Music\*" D:\scene\*

This way you could verify that everything was ok (as far as the command-line goes), if for example you misplaced a -u or -e, etc.

I'm sure I'm doing something wrong, just not sure what.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #1 on: July 19, 2007, 04:47:10 pm »

Quote from: "donnyj"
Why isn't this command line working?
Code:
jkdefrag -f 0 -d 6 -l "c:\FirstRun.log" -a 3 D:\* -u "DisableDefaults" -u D:\Emulate\* -u "D:\TOSEC CD\*" -u D:\TOSEC\* -u "D:\VirtualF\*" -u "D:\iTunes Music\*" -u D:\Scene\*

I think you are expecting the "-u" option to move the selected files to the end of the disk? But the SpaceHogs zone is not at the end of the disk, but just behind all the other files. The "-f 0" option has set the space between the zone's to zero, so the zone's will join up into a single green data block. Does this answer your question?
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #2 on: July 20, 2007, 07:33:21 am »

Yes, so in order to move to the end, I guess I would do a -a 6 run with just those directories listed

then an -a 3 run with those same directories excluded?

to get regular at front, and others at end, with blank in middle?

np

thanks, again, for the quick replies
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #3 on: July 20, 2007, 07:50:25 am »

Quote from: "donnyj"
Yes, so in order to move to the end, I guess I would do a -a 6 run with just those directories listed
then an -a 3 run with those same directories excluded?
to get regular at front, and others at end, with blank in middle?

Yes. I don't know why you want to move "those" directories all the way to the end of the harddisk, instead of to the spacehogs area, but that's the way how to do it.
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #4 on: July 20, 2007, 08:21:21 am »

they are directories/files that should (almost) NEVER change.  I want them at the slowest spot and out of the way of added/removed files.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #5 on: July 21, 2007, 04:19:00 am »

Quote from: "donnyj"
they are directories/files that should (almost) NEVER change.  I want them at the slowest spot and out of the way of added/removed files.

But the SpaceHogs area is intended for exactly those kind of files. Why all the way to the end of the disk? Isn't just behind all the other files a better place? They can be accessed substantially faster there. JkDefrag inserts a free space between the regular files and the spacehogs, for temporary files. See the "-f" option to specify more free space, if so desired.
Logged
donnyj
JkDefrag Supporter
***
Posts: 13


View Profile
« Reply #6 on: July 21, 2007, 05:52:04 am »

On this particular partition, I download .torrents (LARGE torrents), therefore the freespace grows and shrinks.  If I don't put the archived files at the very end, then the files that I am using will be located in that area that is substantially slower.

The partition's "active" filesizes fluctuate regularly, but those archived files are rarely used.  (And when they are, speed isn't a large factor).
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #7 on: July 21, 2007, 11:26:35 am »

Ok, thanks for the feedback. It goes to show that what a developer can dream up is far less than what people actually need.
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!