Skip to contentSkip to conversation

New: e2fsck -fD on ext4 breaks

Bug 15666 [email protected] 1 participant 4 messages Apr 1, 2010

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=15666

Summary: e2fsck -fD on ext4 breaks
Product: File System
Version: 2.5
Kernel Version: 2.6.32.10
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

i did a e2fsck -fD on a ext4 filesystem, later a e2fsck -f complains a bunch of errors. if i e2fsck -fy would end up a bunch of files go into lost+found or simply lose trace.

Step to reproduce:
1. prepare a ext4 file system (dd if=/dev/zero of=test_ext4.img bs=1M count=1000 && mkfs.ext4 test_ext4.img)
2. mount it (mount -t ext4 -o rw,loop test_ext4.img /mnt/tmp)
3. put some files on it, it seems to me that tiny files would cause the issue (cp -r /home/$USER/.gconf /mnt/tmp)
4. un mount it (umount /mnt/tmp)
5. e2fsck -f test_ext4.img all good
6. e2fsck -fD test_ext4.img seems fine
7. e2fsck -f test_ext4.img here comes trouble...

Components version:
Distro: Archlinux
Architecture: x86_64

kernel 2.6.32.10
e2fsck 1.41.10 (10-Feb-2009)

    Using EXT2FS Library version 1.41.10, 10-Feb-2009
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 15666] e2fsck -fD on ext4 breaks

https://bugzilla.kernel.org/show_bug.cgi?id=15666

Nelson Chan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Regression|No |Yes

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 15666] e2fsck -fD on ext4 breaks

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=15666

Theodore Tso <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |PATCH_ALREADY_AVAILABLE
         Regression|Yes                         |No

--- Comment #2 from Theodore Tso <[email protected]> 2010-04-01 11:50:10 --- This isn't a kernel bug (and this is a bugzilla for tracking kernel problems).

This was a bug in e2fsprogs 1.41.10, which was fixed in e2fsprogs 1.41.11.

I suggest you upgrade, and I apologize for the inconvenience. In general data
isn't lost, although files and directories do get dropped into the lost+found directory, and cleaning up can be a bit of a mess.

Best regards,

-- Ted

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.