ext3 corrupted

Bogdan Scintee scinteeb at yahoo.com
Thu Nov 16 01:52:50 UTC 2006



   Hi there,

 For years I've been using the ext3 file system without to think that it can ever gets broken so bad.
This was until last week when a box that I have running Linux from a SanDisk CF went down.
Since then I am struggling with this CF trying to understand what is happening.

 The CF is SanDisk ultra II 1GB.
  On this I have 4 partitions all of them with ext3:
   boot
   /
   swap
   data

 On "data" partition I am doing a kind of logging. On power failure the box went down and never came
back.
  The problem is of course the data partition. 

running e2fsck /dev/sdc8 returns:

e2fsck 1.38 (30-Jun-2005)
/dev/sdc8: Attempt to read block from filesystem resulted in short read while reading block 275
/dev/sdc8: Attempt to read block from filesystem resulted in short read reading journal superblock
e2fsck: Attempt to read block from file-system resulted in short read while checking ext3 journal for /dev/sdc8


which looks like being the result of the write access on power failure.

Then I did:

mke2fs -n /dev/sdc8:

mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
108544 inodes, 433940 blocks
21697 blocks (5.00%) reserved for the super user
First data block=1
53 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409


I performed than the fsck.ext3 using the backup superblocks (e2fsck -c -b <superblock_bckp> /dev/sdc8) but I got constantly the result:

e2fsck 1.38 (30-Jun-2005)
/dev/sdc8: Attempt to read block from filesystem resulted in short read while reading block 275
/dev/sdc8: Attempt to read block from filesystem resulted in short read reading journal superblock
e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sdc8


The disappointing thing is that a windows application (Nucleus Kernel Linux) shows the file system
and recover completely the partition in very short time.

 There is any suggestion about what should I do?

 Best regards,
 Bogdan.





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20061115/e50b3ba4/attachment.htm>


More information about the Ext3-users mailing list