You are not logged in.

#1 2010-01-04 10:33:13

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Availability of e4defrag ?

Hi all,

when the ext4 filesystem was released as stable a while ago (around 2.6.28 IIRC), it was announced that a defrag utility would follow, in 2.6.31, IIRC once again. We are now all using the 2.6.32 kernel, but I can't find a trace of the new utility, nor any news or status reports. Does anyone know when or if it will be released?


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#2 2010-01-10 01:56:21

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Availability of e4defrag ?

I'm also wondering when e4defrag will come. I have not heard any news on it.

Offline

#3 2010-01-10 02:18:26

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Availability of e4defrag ?

The e4defrag developer has said that he will release it once he's beaten Duke Nukem Forever on GNU/Hurd.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2010-01-10 02:47:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Availability of e4defrag ?

It's in e2fsprogs' git.

http://git.kernel.org/?p=fs/ext2/e2fspr … ce;hb=HEAD

Works okay here, although it's not final yet.

Offline

#5 2010-01-10 09:39:28

lardon
Member
Registered: 2008-05-31
Posts: 264
Website

Re: Availability of e4defrag ?

lucke wrote:

It's in e2fsprogs' git.

http://git.kernel.org/?p=fs/ext2/e2fspr … ce;hb=HEAD

Works okay here, although it's not final yet.

THANKS! I've been looking for an answer for a long time now, I've even gone through the sources of the kernel to try to find it smile


Autojump, the fastest way to navigate your filesystem from the command line!

Offline

#6 2010-01-10 11:04:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Availability of e4defrag ?

Not what the OP asked but... since the e2fsprogs are still beta and shouldn't be used on a production box, if you literally copy the entire partition (ext4) in question to another one, then reformat to ext4 and copy it back (cp -a) you'll be at <0.1 % fragmentation.  I also read somewhere that these utils do not handle both internal and external fragmentation so the cp method might be preferred.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2010-01-10 12:24:19

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: Availability of e4defrag ?

Yes. A defrag tool for ext4fs is nearly not interesting at all... What is fragmentation on a ext2/3/4fs partition ?

Offline

#8 2010-01-10 12:51:38

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Availability of e4defrag ?

You can't really defragment internal fragmentation, graysky.

Fragmentation can always be an issue, jolinfire, and reformatting and copying the data around is not always possible and sometimes yields suboptimal results.

Offline

Board footer

Powered by FluxBB