[Ocfs2-users] Trouble getting node to re-join two node cluster (OCFS2/DRBD Primary/Primary)

Mike Reid mbreid at thepei.com
Thu Sep 15 16:20:08 PDT 2011


I may have made some progress on my OCFS2 error:

See the following output from ³dmesg²

[88740.345617] OCFS2: ERROR (device drbd0): ocfs2_validate_inode_block:
Invalid dinode #11: fs_generation is 376662488
[88740.345664] File system is now read-only due to the potential of on-disk
corruption. Please run fsck.ocfs2 once the file system is unmounted.
[88740.345710] (mount.ocfs2,26394,5):ocfs2_read_locked_inode:499 ERROR:
status = -22
[88740.345743] (mount.ocfs2,26394,5):_ocfs2_get_system_file_inode:120 ERROR:
status = -116
[88740.345807] (mount.ocfs2,26394,5):ocfs2_init_global_system_inodes:466
ERROR: status = -22
[88740.345890] (mount.ocfs2,26394,5):ocfs2_init_global_system_inodes:469
ERROR: Unable to load system inode 4, possibly corrupt fs?
[88740.345958] (mount.ocfs2,26394,5):ocfs2_initialize_super:2261 ERROR:
status = -22
[88740.346067] (mount.ocfs2,26394,5):ocfs2_fill_super:1023 ERROR: status =
-22
[88740.346124] ocfs2: Unmounting device (147,0) on (node 0)


I decided to run ³fsck.ocfs2 -F /dev/drbd0²:

Checking OCFS2 filesystem in /dev/drbd0:
  label:              <NONE>
  uuid:               fe 42 73 e1 f8 66 45 41 bb cf 66 c5 df d4 96 d6
  number of blocks:   24999936
  bytes per block:    4096
  number of clusters: 24999936
  bytes per cluster:  4096
  max slots:          8

/dev/drbd0 wasn't cleanly unmounted by all nodes.  Attempting to replay the
journals for nodes that didn't unmount cleanly
Checking each slot's journal.
Replaying slot 0's journal.
Slot 0's journal replayed successfully.
Slot 0's local alloc replayed successfully
/dev/drbd0 is clean.  It will be checked after 20 additional mounts.
Slot 0's journal dirty flag removed


Unfortunately, I still cannot mount the fs....

> mount -t ocfs2 /dev/drbd/by-res/repdata /data

(see attached strace)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20110915/04e3287c/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount_trace_3.txt
Type: application/octet-stream
Size: 7442 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-users/attachments/20110915/04e3287c/attachment.obj 


More information about the Ocfs2-users mailing list