You are not logged in.

#1 2009-02-24 05:31:15

yingwuzhao
Member
Registered: 2009-01-13
Posts: 109

Newbie question about Ext4: 53.4% non-contiguous

Right after I copy my files to my newly partioned ext4 250G harddrive, I did:

fsck.ext4 -fE fragcheck /dev/sdb1

then I got a bunch of these:

1572880: expecting 6562816 actual extent phys 6565888 log 4096 len 2048

1572880: expecting 6567936 actual extent phys 6569984 log 6144 len 196

Is this some kind of error? what does it mean?

Also I got:

backup: 6939/15269888 files (53.4% non-contiguous), 16993872/61049000 blocks

It shows I have over 50% of defragmentation, is it normal? This is right after I just copy all the files to the new hard drive.
What are you guys degramentations in your ext4 file system? neutralhmm

Offline

#2 2009-02-24 14:17:44

yingwuzhao
Member
Registered: 2009-01-13
Posts: 109

Re: Newbie question about Ext4: 53.4% non-contiguous

No reply?
Are there actually many people using this new file system yet?

By the way, my / partition with ext4 show 0.3% non-continuous at boot up, but my date harddrive shows this 53.4% non-continuous strange phenomena. neutral

Can somebody explain why this happens?

Offline

#3 2009-02-24 16:10:09

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: Newbie question about Ext4: 53.4% non-contiguous

m2 but I don't see it as error (IMHO)
376622: expecting 1890304 actual extent phys 1894400 log 1024 len 25
376624: expecting 1892352 actual extent phys 1896448 log 2048 len 2048
376624: expecting 1898496 actual extent phys 1900544 log 4096 len 22528


Zygfryd Homonto

Offline

#4 2009-02-24 17:25:27

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Newbie question about Ext4: 53.4% non-contiguous

I have the exakt same problem and have brought it up in a other thread. But the problem does only seem to occour with some files and not with others.

Offline

#5 2009-02-24 18:19:57

yingwuzhao
Member
Registered: 2009-01-13
Posts: 109

Re: Newbie question about Ext4: 53.4% non-contiguous

Is it a bug about the pre-allocation?
Does this actually implies the failure of this feature in ext4? I become a little suspicious. I know, most people simply don't worry about fragmentation at all, but 53.4% non-continuous is the first time I saw in a linux file system.

Expecting somebody shed some light on this issue cool

Offline

#6 2009-02-24 18:27:08

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Newbie question about Ext4: 53.4% non-contiguous

yingwuzhao wrote:

It shows I have over 50% of defragmentation, is it normal? This is right after I just copy all the files to the new hard drive.

http://en.wikipedia.org/wiki/Defragmentation


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2009-02-25 19:58:46

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Newbie question about Ext4: 53.4% non-contiguous

There should'nt be any fragmentation afaik since we transfer a file to a new ext4 partion.

Offline

#8 2009-02-26 01:15:07

yingwuzhao
Member
Registered: 2009-01-13
Posts: 109

Re: Newbie question about Ext4: 53.4% non-contiguous

I did many tests, it always shows about 50% fragmentation. Yesterday, I wrote a small script to backup all my file,  reformat my media hard drive to xfs, and then transfer it back. Now It shows only 2.7% fragmentations.

Now only my arch system is running on ext4, I will let it run a while when I found time to reinstall it to ext3. smile

Offline

#9 2009-02-26 03:25:27

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Newbie question about Ext4: 53.4% non-contiguous

yingwuzhao;

Your post suggests that you ran fsck on a mounted partition.

Perhaps that is incorrect, however, if true, it is not recommended.

Run fsck on an unmounted partition as root is recommended which you probably already know....................


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2009-02-26 14:05:52

yingwuzhao
Member
Registered: 2009-01-13
Posts: 109

Re: Newbie question about Ext4: 53.4% non-contiguous

That's weird, because I have double checked each time before I run fsck, I did:

df -T

to make sure I have unmounted the partitions.

hmm

Offline

Board footer

Powered by FluxBB