* e2fsck doesn't repair broken ext4
@ 2010-03-12 20:54 Jörg Sommer
2010-03-12 23:06 ` Eric Sandeen
2010-04-16 10:11 ` Jörg Sommer
0 siblings, 2 replies; 5+ messages in thread
From: Jörg Sommer @ 2010-03-12 20:54 UTC (permalink / raw)
To: Theodore Ts'o, Andreas Dilger; +Cc: linux-ext4
[-- Attachment #1: Type: text/plain, Size: 779 bytes --]
Hi,
after a system crash, I had a problem with ext4 that e2fsck didn't fix. I
don't know if e2fsck or ext4 was wrong. In the end, I had to remove the
broken directory, which succeed and solved my problem.
These are the steps I did:
01 % e2fsck -fy /dev/root
02 % dumpe2fsck -x /dev/root
03 % e2image -r /dev/root
04 % apt-get install
05 % dmesg
06 % dumpe2fs -x /dev/root
07 % e2image -r /dev/root
08 % e2fsck -y /dev/root
09 % dumpe2fs -x /dev/root
10 % e2image -r /dev/root
11 % apt-get install
12 % dmesg
I've put the output and images of all these commands at
<http://alioth.debian.org/~jo-guest/ext4/>. I hope they help you somehow.
Regards, Jörg.
--
Eine Blume geht über eine Wiese, sieht einen schönen Menschen und reißt
ihm den Kopf ab.
[-- Attachment #2: Digital signature http://en.wikipedia.org/wiki/OpenPGP --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: e2fsck doesn't repair broken ext4
2010-03-12 20:54 e2fsck doesn't repair broken ext4 Jörg Sommer
@ 2010-03-12 23:06 ` Eric Sandeen
2010-03-13 0:03 ` Eric Sandeen
2010-04-16 10:11 ` Jörg Sommer
1 sibling, 1 reply; 5+ messages in thread
From: Eric Sandeen @ 2010-03-12 23:06 UTC (permalink / raw)
To: Jörg Sommer; +Cc: Theodore Ts'o, Andreas Dilger, linux-ext4
Jörg Sommer wrote:
> Hi,
>
> after a system crash, I had a problem with ext4 that e2fsck didn't fix. I
> don't know if e2fsck or ext4 was wrong. In the end, I had to remove the
> broken directory, which succeed and solved my problem.
>
> These are the steps I did:
>
> 01 % e2fsck -fy /dev/root
> 02 % dumpe2fsck -x /dev/root
> 03 % e2image -r /dev/root
Great, thanks for gathering the images.
What version of e2fsprogs were you using?
-Eric
> 04 % apt-get install
> 05 % dmesg
> 06 % dumpe2fs -x /dev/root
> 07 % e2image -r /dev/root
> 08 % e2fsck -y /dev/root
> 09 % dumpe2fs -x /dev/root
> 10 % e2image -r /dev/root
> 11 % apt-get install
> 12 % dmesg
>
> I've put the output and images of all these commands at
> <http://alioth.debian.org/~jo-guest/ext4/>. I hope they help you somehow.
>
> Regards, Jörg.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: e2fsck doesn't repair broken ext4
2010-03-12 23:06 ` Eric Sandeen
@ 2010-03-13 0:03 ` Eric Sandeen
0 siblings, 0 replies; 5+ messages in thread
From: Eric Sandeen @ 2010-03-13 0:03 UTC (permalink / raw)
To: Jörg Sommer; +Cc: Theodore Ts'o, Andreas Dilger, linux-ext4
Eric Sandeen wrote:
> Jörg Sommer wrote:
>> Hi,
>>
>> after a system crash, I had a problem with ext4 that e2fsck didn't fix. I
>> don't know if e2fsck or ext4 was wrong. In the end, I had to remove the
>> broken directory, which succeed and solved my problem.
>>
>> These are the steps I did:
>>
>> 01 % e2fsck -fy /dev/root
>> 02 % dumpe2fsck -x /dev/root
>> 03 % e2image -r /dev/root
>
> Great, thanks for gathering the images.
>
> What version of e2fsprogs were you using?
Ok never mind on that. recent release has the same problem.
so this is 2.6.33-rc7 ...
you had:
[ 347.673207] EXT4-fs error (device hda4): make_indexed_dir: invalid rec_len for '..' in inode 425166
(wish we'd print out the actual bad rec_len there ...)
# mount -o loop 03-e2image-r mount/
# find mount/ -inum 425166
# mount/usr/share/ri/1.8/system/String
# touch mount/usr/share/ri/1.8/system/String/foobar
touch: cannot touch `mount/usr/share/ri/1.8/system/String/foobar': Input/output error
# dmesg | tail -n 1
EXT4-fs error (device loop0): make_indexed_dir: invalid rec_len for '..' in inode 425166
# debugfs 03-e2image-r
debugfs: ls -l <425166>
425166 40755 (2) 0 0 4096 11-Mar-2010 05:37 .
424052 40755 (2) 0 0 4096 1-Feb-2010 16:53 ..
0 0 (2) 0 0 0 ..
0 0 (2) 0 0 0 .
426379 100644 (1) 0 0 8494 10-Jan-2010 09:01 cdesc-String.yaml
426380 100644 (1) 0 0 293 10-Jan-2010 09:01 new-c.yaml
...
Not sure what's going on with the duplicate 0-inode entries there yet.
-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: e2fsck doesn't repair broken ext4
2010-03-12 20:54 e2fsck doesn't repair broken ext4 Jörg Sommer
2010-03-12 23:06 ` Eric Sandeen
@ 2010-04-16 10:11 ` Jörg Sommer
2010-04-16 15:22 ` Eric Sandeen
1 sibling, 1 reply; 5+ messages in thread
From: Jörg Sommer @ 2010-04-16 10:11 UTC (permalink / raw)
To: Theodore Ts'o, Andreas Dilger; +Cc: linux-ext4
[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]
Hi,
Jörg Sommer hat am Fri 12. Mar, 21:54 (+0100) geschrieben:
> after a system crash, I had a problem with ext4 that e2fsck didn't fix. I
> don't know if e2fsck or ext4 was wrong. In the end, I had to remove the
> broken directory, which succeed and solved my problem.
>
> These are the steps I did:
>
> 01 % e2fsck -fy /dev/root
> 02 % dumpe2fsck -x /dev/root
> 03 % e2image -r /dev/root
> 04 % apt-get install
> 05 % dmesg
> 06 % dumpe2fs -x /dev/root
> 07 % e2image -r /dev/root
> 08 % e2fsck -y /dev/root
> 09 % dumpe2fs -x /dev/root
> 10 % e2image -r /dev/root
> 11 % apt-get install
> 12 % dmesg
>
> I've put the output and images of all these commands at
> <http://alioth.debian.org/~jo-guest/ext4/>. I hope they help you somehow.
I would like to ask, if there was any result from this issue? Did you
found a bug in e2fsck?
Bye, Jörg.
--
< Mr X.> jo: contact an admin to mount it for you
< jo> The admin is not, well how should I say it, he isn't very familiar with
the system. What should I tell my admin, what he should do?
< Mr X.> taking a sun solaris administration course.
[-- Attachment #2: Digital signature http://en.wikipedia.org/wiki/OpenPGP --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: e2fsck doesn't repair broken ext4
2010-04-16 10:11 ` Jörg Sommer
@ 2010-04-16 15:22 ` Eric Sandeen
0 siblings, 0 replies; 5+ messages in thread
From: Eric Sandeen @ 2010-04-16 15:22 UTC (permalink / raw)
To: Jörg Sommer; +Cc: Theodore Ts'o, Andreas Dilger, linux-ext4
On 04/16/2010 05:11 AM, Jörg Sommer wrote:
> Hi,
>
> Jörg Sommer hat am Fri 12. Mar, 21:54 (+0100) geschrieben:
>> after a system crash, I had a problem with ext4 that e2fsck didn't fix. I
>> don't know if e2fsck or ext4 was wrong. In the end, I had to remove the
>> broken directory, which succeed and solved my problem.
>>
>> These are the steps I did:
>>
>> 01 % e2fsck -fy /dev/root
>> 02 % dumpe2fsck -x /dev/root
>> 03 % e2image -r /dev/root
>> 04 % apt-get install
>> 05 % dmesg
>> 06 % dumpe2fs -x /dev/root
>> 07 % e2image -r /dev/root
>> 08 % e2fsck -y /dev/root
>> 09 % dumpe2fs -x /dev/root
>> 10 % e2image -r /dev/root
>> 11 % apt-get install
>> 12 % dmesg
>>
>> I've put the output and images of all these commands at
>> <http://alioth.debian.org/~jo-guest/ext4/>. I hope they help you somehow.
>
> I would like to ask, if there was any result from this issue? Did you
> found a bug in e2fsck?
I'm sorry, I haven't made further progress on this yet.
-Eric
> Bye, Jörg.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-16 15:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 20:54 e2fsck doesn't repair broken ext4 Jörg Sommer
2010-03-12 23:06 ` Eric Sandeen
2010-03-13 0:03 ` Eric Sandeen
2010-04-16 10:11 ` Jörg Sommer
2010-04-16 15:22 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).