Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







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

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: These items are still fragmented....  (Read 3445 times)
itguy
JkDefrag Junior
**
Posts: 5


View Profile
« on: September 26, 2008, 05:11:16 am »

Hi all,

Thanks for the nice software. I start to use it on our server. Here is a problem I am facing.

I scheduled to run the JK defragger at 2:00 with "-a6" command line parameter such that all specified items should be sent to the end of disk. The specified items are produced by another server for file archiving which is scheduled at 12:00 in another server and should be finished at 12:30.

However I found that more and more files becomes "still fragmented" in the JK defragment log file. For example, in the first day it showed 123.txt was still fragmented. The next day it showed 123.txt and 234.txt were still fragmented and the third day it showed 123.txt, 234.txt and 345.txt were still fragmented. And so forth...

I have check those the files were not opened by any process during they were defragging. It can be known by the latest access timestamp. The timestamp shows some how 12:30...

I worry that my approach doesn't work. Does anyone can help me?

Thank you very much~
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: September 26, 2008, 06:44:13 pm »

- Try a reboot. If JkDefrag can defragment the files after a reboot then this is a sure sign that the other server (that has uploaded the files) still has an open handle on these files.
- Check if the userid on which you are running JkDefrag has full permissions for these files (check the permissions in the advanced properties of the files, and no not assume that an "administrator" userid has access to all files).
- Use the JkDefrag "-d 4" commandline option to get more information in your "jkdefrag.log" file.
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #2 on: September 27, 2008, 02:58:22 pm »

IIRC, -a 6 <files> doesn't defrag it just tries to move.
create a script -a 2 <files> followed by -a 6
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: September 28, 2008, 05:56:52 am »

IIRC, -a 6 <files> doesn't defrag it just tries to move.
The "-a 6" optimization includes defragmentation. Running "-a 2" before "-a 6" is not necessary.
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #4 on: September 29, 2008, 12:56:53 am »

run with -a 6 the display goes from phase 1: Analyze directly to phase 3: move up.
If it moves a file up, that will defrag a file, but if it can't I believe it leaves it fraged.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #5 on: September 29, 2008, 08:35:16 am »

Yes, "-a 6" automatically defragments files when they are moved. If a file cannot be moved by "-a 6" then it can also not be moved by "-a 2".
Logged
WHRoeder
JkDefrag Hero
*****
Posts: 180


View Profile
« Reply #6 on: October 01, 2008, 02:39:43 pm »

Quote
If a file cannot be moved by "-a 6" then it can also not be moved by "-a 2".
Not true. There may be no space above a fragment so -a 6 leaves it fragged.  -a 2 would move it down, defragging it.
Logged
itguy
JkDefrag Junior
**
Posts: 5


View Profile
« Reply #7 on: October 03, 2008, 08:50:03 am »

Yes. After some tests, -a6 seems that not always instruct to defrag. I fixed the problem by -a2 before -a6.

The problem that I am facing is the progress time too long because it works for analysis more than once. It could be pretty if I can instruct it to defrag (-a2) and than move to end of disk (-6) in a single command.

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



View Profile WWW
« Reply #8 on: October 03, 2008, 06:21:18 pm »

It could be pretty if I can instruct it to defrag (-a2) and than move to end of disk (-6) in a single command.
I am working on JkDefrag version 4. It has a small scripting language that will make many things possible, all in a single run.
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!