You are not logged in.

#1 2009-01-11 17:31:10

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

fsck on ext4 gives over 100% non-contiguous

I think there's something very strange going on with fsck and ext4:

fsck -f /dev/sdb3
fsck 1.41.3 (12-Oct-2008)
e2fsck 1.41.3 (12-Oct-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Lagring: 602/13238272 files (114.6% non-contiguous), 6442136/52934175 blocks
 df -h /dev/sdb3
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb3             199G   22G  178G  11% /home/arch/Lagring

I'm running kernel 2.6.28-2. I created the filesystem with

mke2fs -T ext4 -m 0 /dev/sdb3

.
Does anyone else have the same problem? Or perhaps I have missed something when I created the filesystem, or perhaps the version of fsck can't handle ext4?

Offline

#2 2009-01-12 17:28:49

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

Re: fsck on ext4 gives over 100% non-contiguous

I created a new filesystem and ran fsck on it without any files, and it returned 0.0% non-contiguous as expected. I then copied over some files from a ext3 partition to it (100MB) and fsck gave over 100% again. I'm thinkin it have something to do with the use of extent perhaps?

Offline

#3 2009-01-13 01:30:08

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: fsck on ext4 gives over 100% non-contiguous

It might be worth bringing this up on a relevant mailing list or googling for similar things.

Offline

#4 2009-01-16 00:37:28

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: fsck on ext4 gives over 100% non-contiguous

I've planted 60 GBs of files onto a root ext4 partition and cannot reproduce this problem. I get about 1.3% non-con. I left it its 5% root reservation space though but I'm uncertain if that has anything to do with it.

Offline

#5 2009-01-16 05:43:33

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

Re: fsck on ext4 gives over 100% non-contiguous

Svenstaro wrote:

I've planted 60 GBs of files onto a root ext4 partition and cannot reproduce this problem. I get about 1.3% non-con. I left it its 5% root reservation space though but I'm uncertain if that has anything to do with it.

Perhaps something I wrong with the version of my packages. Did you install kernel26 from extra (and also what other packages)?

Offline

#6 2009-01-16 14:13:31

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

Re: fsck on ext4 gives over 100% non-contiguous

Did some experimenting with my ext4 partition. It seems that the problem only occours with some of the files on my computer. I can't seem to find any pattern either (tried filetypes, sizes etc). Some files give 0% non-contiguous after transferingthem to ext4, while others gives over 100%.

Offline

Board footer

Powered by FluxBB