<div dir="ltr"><div>Hi,</div><div>     We observed that due to below error &quot;ocfs2_commit_truncate: Inode 387098 has empty extent block at 387098&quot;. </div><div>The /dev/drbd0 filesystem on both Nodes we set to read only even though the actual error was on disk of one Node. </div>
<div>So I wanted to know how to fence the Node when DISK I/O Error is seen in OCFS2 filesstem. </div><div>Is this the recommended solution </div><div>echo 1 &gt; /proc/fs/ocfs2_nodemanager/fence_method</div><div><br></div>
<div><br></div><div>Feb 26 15:32:27 MC0 kernel: : [7823386.409471] OCFS2: ERROR (device drbd0): ocfs2_commit_truncate: Inode 387098 has empty extent block at 387098</div><div>Feb 26 15:32:27 MC0 kernel: : [7823386.409474]</div>
<div>Feb 26 15:32:27 MC0 kernel: : [7823386.421715] (ocfs2_wq,2850,0):ocfs2_truncate_for_delete:597 ERROR: status = -30</div><div>Feb 26 15:32:27 MC0 kernel: : [7823386.421719] (ocfs2_wq,2850,0):ocfs2_wipe_inode:773 ERROR: status = -30</div>
<div>Feb 26 15:32:27 MC0 kernel: : [7823386.421722] (ocfs2_wq,2850,0):ocfs2_delete_inode:1071 ERROR: status = -30</div><div><br></div><div><br></div><div><br></div><div>regards,</div><div>Harsha</div></div>