View previous topic :: View next topic |
Author |
Message |
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Mon Dec 29, 2008 8:35 pm Post subject: Where is e4defrag? |
|
|
I was trying out ext4 filesystem with kernel 2.6.28. I successfully converted an old ext3 fs to ext4 and I was searching for e4defrag to test online defragmentation (and to convert all files to use extents).
I have the latest version of e2fsprogs (1.41.3) and still can't find the e4defrag tool that is used to defragment an ext4 fs.
Where can I get it? _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
|
Back to top |
|
|
sleipner n00b
Joined: 13 Aug 2005 Posts: 48
|
Posted: Sun Jan 25, 2009 12:11 pm Post subject: |
|
|
Code: |
wget http://www.kernel.org/pub/linux/kernel/people/tytso/ext4-patches/LATEST/broken-out.tar.bz2
tar -xjf broken-out.tar.bz2 broken-out/defrag-09-online-defrag-command
tail -n+18 broken-out/defrag-09-online-defrag-command > e4defrag.c
gcc -Wall e4defrag.c -o e4defrag
|
|
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Mon Jan 26, 2009 11:21 am Post subject: |
|
|
That "broken-out" scares me... I think I'll wait patiently to see it in e2fsprogs _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Jan 26, 2009 1:35 pm Post subject: |
|
|
Cazzantonio wrote: | That "broken-out" scares me... I think I'll wait patiently to see it in e2fsprogs | Broken-out means each change is in a separate patch instead of one huge patch that contains everything. |
|
Back to top |
|
|
chris... Apprentice
Joined: 26 Sep 2006 Posts: 179 Location: Melbourne, AU
|
Posted: Fri May 22, 2009 12:52 am Post subject: |
|
|
i tried the above and ran e4defrag on a directory
Code: | Success: [ 0/26 ]
Failure: [ 26/26 ]
|
|
|
Back to top |
|
|
sleipner n00b
Joined: 13 Aug 2005 Posts: 48
|
Posted: Fri May 22, 2009 1:07 pm Post subject: |
|
|
it's really old stuff there..
you could try to build it from kernel.org git. there is more up to date patches for ext4 stuff anyway. |
|
Back to top |
|
|
chris... Apprentice
Joined: 26 Sep 2006 Posts: 179 Location: Melbourne, AU
|
Posted: Sat May 23, 2009 2:14 am Post subject: |
|
|
where is this new stuff? |
|
Back to top |
|
|
sleipner n00b
Joined: 13 Aug 2005 Posts: 48
|
|
Back to top |
|
|
chris... Apprentice
Joined: 26 Sep 2006 Posts: 179 Location: Melbourne, AU
|
Posted: Sun May 24, 2009 1:41 am Post subject: |
|
|
looks to complex right now,
so defrag isnt in the current kernel?
i need more then just some application? |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sun May 24, 2009 3:50 am Post subject: |
|
|
I do not believe that defrag it went into 2.6.29 although it may be be in 2.6.30. I know it was not in 2.6.28 unless backported. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
chris... Apprentice
Joined: 26 Sep 2006 Posts: 179 Location: Melbourne, AU
|
Posted: Mon Sep 28, 2009 11:13 am Post subject: |
|
|
any update on this? |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
|