Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Where is e4defrag?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
Cazzantonio
Bodhisattva
Bodhisattva
User avatar
Posts: 4514
Joined: Sat Mar 20, 2004 8:57 pm
Location: Somewere around the world

Where is e4defrag?

  • Quote

Post by Cazzantonio » Mon Dec 29, 2008 8:35 pm

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
Top
GODhack
Guru
Guru
Posts: 389
Joined: Sat Jan 26, 2008 1:47 am
Location: Lithuania

  • Quote

Post by GODhack » Mon Dec 29, 2008 8:50 pm

I think you need version from git to get this.
http://www.youtube.com/watch?v=4jtmOZaIvS0
Top
sleipner
n00b
n00b
Posts: 48
Joined: Sat Aug 13, 2005 7:44 pm

  • Quote

Post by sleipner » Sun Jan 25, 2009 12:11 pm

:wink:

Code: Select all

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
Top
Cazzantonio
Bodhisattva
Bodhisattva
User avatar
Posts: 4514
Joined: Sat Mar 20, 2004 8:57 pm
Location: Somewere around the world

  • Quote

Post by Cazzantonio » Mon Jan 26, 2009 11:21 am

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
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Mon Jan 26, 2009 1:35 pm

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.
Top
chris...
Apprentice
Apprentice
Posts: 179
Joined: Tue Sep 26, 2006 9:37 pm
Location: Melbourne, AU

  • Quote

Post by chris... » Fri May 22, 2009 12:52 am

i tried the above and ran e4defrag on a directory

Code: Select all

        Success:                        [ 0/26 ]
        Failure:                        [ 26/26 ]
Top
sleipner
n00b
n00b
Posts: 48
Joined: Sat Aug 13, 2005 7:44 pm

  • Quote

Post by sleipner » Fri May 22, 2009 1:07 pm

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.
Top
chris...
Apprentice
Apprentice
Posts: 179
Joined: Tue Sep 26, 2006 9:37 pm
Location: Melbourne, AU

  • Quote

Post by chris... » Sat May 23, 2009 2:14 am

where is this new stuff?
Top
sleipner
n00b
n00b
Posts: 48
Joined: Sat Aug 13, 2005 7:44 pm

  • Quote

Post by sleipner » Sat May 23, 2009 6:10 am

http://git.kernel.org/?p=fs/ext2/ext4-p ... git;a=tree
Top
chris...
Apprentice
Apprentice
Posts: 179
Joined: Tue Sep 26, 2006 9:37 pm
Location: Melbourne, AU

  • Quote

Post by chris... » Sun May 24, 2009 1:41 am

looks to complex right now,
so defrag isnt in the current kernel?
i need more then just some application?
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Sun May 24, 2009 3:50 am

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
Top
chris...
Apprentice
Apprentice
Posts: 179
Joined: Tue Sep 26, 2006 9:37 pm
Location: Melbourne, AU

  • Quote

Post by chris... » Mon Sep 28, 2009 11:13 am

any update on this?
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Mon Sep 28, 2009 6:05 pm

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
Top
Post Reply

13 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy