[Ocfs2-users] OCFS2: ERROR (device sdh1): ocfs2_direct_IO_get_blocks

Joel Becker Joel.Becker at oracle.com
Fri Feb 27 16:50:10 PST 2009


On Fri, Feb 27, 2009 at 06:40:38PM -0600, Daniel Keisling wrote:
> I'm am getting the following error when writing to an OCF2 filesystem:
>  
>  
> Feb 27 19:06:37 wilracdbdr01 kernel: OCFS2: ERROR (device sdh1):
> ocfs2_direct_IO_get_blocks: Inode 23693699 has a hole at block 6
> Feb 27 19:06:37 wilracdbdr01 kernel: File system is now read-only due to
> the potential of on-disk corruption. Please run fsck.ocfs2 once the file
> system is unmounted.

	This basically says that your filesystem does not support sparse
files, but it does have a hole in an inode - which shouldn't happen if
sparse isn't supported.
	Can you send the output of "debugfs.ocfs2 -R 'stat <23693699>'
/dev/sdh1" and "debugfs.ocfs2 -R stats /dev/sdh1"?

> I saw a patch that was released in September 2008.  How do I get this?

	What patch?  Do you have a link?  Without knowing the patch I
can't tell you whether that patch affects you.

> This a production system and we are currently unable to start the DB.

	If you have the appropriate support, you should call support and
file that way.  Support will also want the information I requested
above.

Joel
-- 

"Three o'clock is always too late or too early for anything you
 want to do."
        - Jean-Paul Sartre

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-users mailing list