[Ocfs2-users] [Fwd: Re: Unable to fix corrupt directories with fsck.ocfs2]

Robin Garner robin.garner at scu.edu.au
Mon May 18 21:49:31 PDT 2009


Robin Garner wrote:
> Joel Becker wrote:
>> On Fri, May 15, 2009 at 02:54:39PM +1000, Robin Garner wrote:
>>> we ran fsck.ocfs2 -f -F, and the machine crashed with
>>>
>>> May 14 17:10:34 lp-bbprd1-rh4v kernel: ------------[ cut here 
>>> ]------------
>>> May 14 17:10:34 lp-bbprd1-rh4v kernel: kernel BUG at 
>>> /var/autofs/ca-fileserver2/home/seeda/tmp/kernel/BUILD/ocfs2-1.2.9/fs/ocfs2/file.c:794! 
>>>
>>
>>     Was the filesystem mounted on lp-bbprd1-rh4v when you started
>> fscking it?
>>
>> Joel
>>
> 
> Yes.  This is a 24/7 application (at least during semester), and 
> arranging extended downtime is a challenge.
> 
> More recently, we've taken a snap-copy of the filesystem, and are doing 
> an offline fsck on another host.  This has now been running for ~60 
> hours.  It got to
> 
> Pass 1: Checking inodes and blocks.
> o2fsck_mark_cluster_allocated: Internal logic faliure !! duplicate 
> cluster 73957752
> ... (70 lines omitted)
> o2fsck_mark_cluster_allocated: Internal logic faliure !! duplicate 
> cluster 75809517
> 

I've tried mounting this (copy of the live) disk on a RHEL5 system, and 
fsck-ing it there (ocfs2-tools-1.4.1-1.el5): exactly the same thing 
happens.  Running with -v, the last few messages are

update_inode_alloc:157 | updated inode 1266864 alloc to 1 from 1 in slot 0
o2fsck_verify_inode_fields:435 | checking inode 1266865's fields
check_el:249 | depth 0 count 243 next_free 1
check_er:164 | cpos 0 clusters 1 blkno 26127524
verify_block:705 | adding dir block 26127524
update_inode_alloc:157 | updated inode 1266865 alloc to 1 from 1 in slot 0
o2fsck_verify_inode_fields:435 | checking inode 1266866's fields
check_el:249 | depth 0 count 243 next_free 1
check_er:164 | cpos 0 clusters 1 blkno 75809517
o2fsck_mark_cluster_allocated: Internal logic faliure !! duplicate 
cluster 75809517
verify_block:705 | adding dir block 75809517

and then it hangs.

btw,

# fsck.ocfs2 -V
fsck.ocfs2 version information from Subversion:
  $URL$
  $Rev$

someone needs to set an svn:keywords property :)



More information about the Ocfs2-users mailing list