Thread (35 messages) 35 messages, 10 authors, 2013-02-12

Re: help about ext3 read-only issue on ext3(2.6.16.30)

From: qixuan wu <hidden>
Date: 2012-12-06 15:48:20
Also in: linux-fsdevel

Hi Tao,

On Thu, Dec 6, 2012 at 9:54 AM, Tao Ma [off-list ref] wrote:
On 12/05/2012 11:05 PM, Theodore Ts'o wrote:
quoted
On Wed, Dec 05, 2012 at 09:58:17PM +0800, Tao Ma wrote:
quoted
Are you sure the disk is good? I just checked the code in e2fsprogs, it
seems that it will not complain if rec_len = 0, and the dir iteration
just aborts.
Um, where are you seeing this?  It should be complaining that the
directory entry is corrupt if rec_len < 12.  I believe I see the
checks there, but I haven't tried creating some test file systems to
be sure.
Oh, sorry my fault. Yes, I see a final com_err in the end of do_list_dir
in debugfs. So we should complain about the dir corruption.
I have already also checked the raw binary of the dir block in the
disk and the data is correct. So disk no issue, only data in mem is
corrupted.
Thanks
Tao
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help