Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is e4defrag?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4484
Location: Somewere around the world

PostPosted: Mon Dec 29, 2008 8:35 pm    Post subject: Where is e4defrag? Reply with quote

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 man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Mon Dec 29, 2008 8:50 pm    Post subject: Reply with quote

I think you need version from git to get this.
_________________
http://www.youtube.com/watch?v=4jtmOZaIvS0
Back to top
View user's profile Send private message
sleipner
n00b
n00b


Joined: 13 Aug 2005
Posts: 48

PostPosted: Sun Jan 25, 2009 12:11 pm    Post subject: Reply with quote

:wink:

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
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4484
Location: Somewere around the world

PostPosted: Mon Jan 26, 2009 11:21 am    Post subject: Reply with quote

That "broken-out" scares me... I think I'll wait patiently to see it in e2fsprogs :)
_________________
Any man's death diminishes me, because I am involved in mankind, and therefore never send to know for whom the bell tolls; it tolls for thee
-John Donne
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2643
Location: Slovenia

PostPosted: Mon Jan 26, 2009 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Fri May 22, 2009 12:52 am    Post subject: Reply with quote

i tried the above and ran e4defrag on a directory

Code:
        Success:                        [ 0/26 ]
        Failure:                        [ 26/26 ]
Back to top
View user's profile Send private message
sleipner
n00b
n00b


Joined: 13 Aug 2005
Posts: 48

PostPosted: Fri May 22, 2009 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Sat May 23, 2009 2:14 am    Post subject: Reply with quote

where is this new stuff?
Back to top
View user's profile Send private message
sleipner
n00b
n00b


Joined: 13 Aug 2005
Posts: 48

PostPosted: Sat May 23, 2009 6:10 am    Post subject: Reply with quote

http://git.kernel.org/?p=fs/ext2/ext4-patch-queue.git;a=tree
Back to top
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Sun May 24, 2009 1:41 am    Post subject: Reply with quote

looks to complex right now,
so defrag isnt in the current kernel?
i need more then just some application?
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2769
Location: Pittsburgh, PA, USA

PostPosted: Sun May 24, 2009 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Mon Sep 28, 2009 11:13 am    Post subject: Reply with quote

any update on this?
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2769
Location: Pittsburgh, PA, USA

PostPosted: Mon Sep 28, 2009 6:05 pm    Post subject: Reply with quote

Still not ready.

https://bugs.launchpad.net/ubuntu/+bug/321528

Theodore Ts'o is the developer of ext4
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum