Hi Guanghui, Misusing jbd2_journal_restart() may cause this issue. You can find details and patches we sent before.
ocfs2: fix some inconsistency problems caused by jbd2_journal_restart() https://oss.oracle.com/pipermail/ocfs2-devel/2015-April/010768.html On 2015/11/20 19:00, Zhangguanghui wrote: > > File system is read-only when deleting the inode, So I try fsck.ocfs2 -f and > success, > Anybody ever see this, how to avoid this, Thanks > > Nov 18 11:04:30 cvk110 kernel: [144411.362978] OCFS2: ERROR (device dm-2): > ocfs2_commit_truncate: Inode 24772873 has empty extent block at 24772873 > Nov 18 11:04:30 cvk110 kernel: [144411.362978] > Nov 18 11:04:30 cvk110 kernel: [144411.362986] File system is now read-only > due to the potential of on-disk corruption. Please run fsck.ocfs2 once the > file system is unmounted. > Nov 18 11:04:30 cvk110 kernel: [144411.362991] > (kworker/u129:0,32928,0):ocfs2_truncate_for_delete:574 ERROR: status = -30 > Nov 18 11:04:30 cvk110 kernel: [144411.362993] > (kworker/u129:0,32928,0):ocfs2_wipe_inode:743 ERROR: status = -30 > Nov 18 11:04:30 cvk110 kernel: [144411.362996] > (kworker/u129:0,32928,0):ocfs2_delete_inode:1022 ERROR: status = -30 > Nov 18 11:04:30 cvk110 kernel: [144411.434249] OCFS2: ERROR (device dm-2): > ocfs2_commit_truncate: Inode 1445125 has empty extent block at 1445125 > Nov 18 11:04:30 cvk110 kernel: [144411.434249] > Nov 18 11:04:30 cvk110 kernel: [144411.434256] > (kworker/u129:0,32928,1):ocfs2_truncate_for_delete:574 ERROR: status = -30 > Nov 18 11:04:30 cvk110 kernel: [144411.434258] > (kworker/u129:0,32928,1):ocfs2_wipe_inode:743 ERROR: status = -30 > Nov 18 11:04:30 cvk110 kernel: [144411.434261] > (kworker/u129:0,32928,1):ocfs2_delete_inode:1022 ERROR: status = -30 > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------! --- > zhangguanghui > ------------------------------------------------------------------------------------------------------------------------------------- > 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 > 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 > 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 > 邮件! > This e-mail and its attachments contain confidential information from H3C, > which is > intended only for the person or entity whose address is listed above. Any use > of the > information contained herein in any way (including, but not limited to, total > or partial > disclosure, reproduction, or dissemination) by persons other than the intended > recipient(s) is prohibited. If you receive this e-mail in error, please > notify the sender > by phone or email immediately and delete it! > > > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel@oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-devel > _______________________________________________ Ocfs2-devel mailing list Ocfs2-devel@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-devel