[Ocfs2-users] ocfs2 remounted read only

Goldwyn Rodrigues rgoldwyn at suse.de
Thu Feb 12 10:05:39 PST 2015


Hello Antonello,

On 02/12/2015 08:36 AM, Antonello Cioffi wrote:
> Hello
>
> yesterday my ocfs2 fail after about 5 months of usage.
>
> First I had high load on one of the two node. I rebooted it and at
> reboot these messeges appered:
>
> Feb 10 20:33:22 posta-n kernel: [   90.342829] o2net: accepted
> connection from node posta2 (num 1) at 172.16.1.2:7777
> Feb 10 19:44:01 posta-n kernel: [  727.825755] OCFS2: ERROR (device
> dm-0): ocfs2_validate_inode_block: Invalid dinode #221213540:
> OCFS2_VALID_FL not set
> Feb 10 19:44:01 posta-n kernel: [  727.825758]
> Feb 10 19:44:01 posta-n kernel: [  727.825761] File system is now
> read-only due to the potential of on-disk corruption. Please run
> fsck.ocfs2 once the file system is unmounted.
> Feb 10 19:44:01 posta-n kernel: [  727.825767]
> (pop3,6032,4):ocfs2_read_locked_inode:493 ERROR: status = -22
> Feb 10 19:44:01 posta-n kernel: [  727.826228] OCFS2: ERROR (device
> dm-0): ocfs2_validate_inode_block: Invalid dinode #221213540:
> OCFS2_VALID_FL not set
> Feb 10 19:44:01 posta-n kernel: [  727.826230]
> Feb 10 19:44:01 posta-n kernel: [  727.826235]
> (pop3,6032,5):ocfs2_read_locked_inode:493 ERROR: status = -22
> Feb 10 19:44:01 posta-n kernel: [  727.826726] OCFS2: ERROR (device
> dm-0): ocfs2_validate_inode_block: Invalid dinode #221213540:
> OCFS2_VALID_FL not set
> Feb 10 19:44:01 posta-n kernel: [  727.826728]
>
> now I migrate all files to a new ocfs2 partition and I'm using this new
> one to come back online.
>
> I'm using two SLES 11sp3 with this packages
>
> ocfs2-tools-o2cb-1.8.2-0.15.5
> ocfs2-kmp-default-1.6_3.0.76_0.9-0.16.24
> ocfs2-kmp-trace-1.6_3.0.76_0.9-0.16.24
> ocfs2-tools-1.8.2-0.15.5
> ocfs2console-1.8.2-0.15.5
> ocfs2-tools-devel-1.8.2-0.15.5
>
> How can I figure what appened and is there anything I can do to avoid
> the occuring again?
>
> According to software storage all disks are ok.
>

Did you try executing fsck.ocfs2 as the message proposes? What message 
did fsck.ocfs2 say? You may have to take it offline and run fsck.ocfs2 
-f <device>


-- 
Goldwyn



More information about the Ocfs2-users mailing list