<div> <font face="Arial, Helvetica, sans-serif">Aha, ok, I don't see the oops, or anything about the hang in the logs. The hanged machine still reply to pings.<br>
<br>
The story now is , that I thought that I can use the :<br>
<br>
</font></div>

<div>&nbsp;<font face="Arial, Helvetica, sans-serif">tunefs.ocfs2&nbsp; --cloned-volume /dev/mylvmsnapshot<br>
<br>
in order to mount the snapshot... (big mistake)...well I did manage to mount the snapshot, but as soon as <br>
I umounted it, the umount process hanged, and then the whole machine hanged, except that it responds to pings.<br>
<br>
<br>
Now, I have downloaded the ocfs2-1.4-userguide.pdf , and went to section 'f) DLM Debuging', and tried the commands <br>
there on the still working node, but only 'cat /sys/kernel/debug/o2dlm/*/dlm_state' worked and produced the following output:<br>
<br>
Domain: 1ACAFCEE7ACA47C089069117560F5C91&nbsp; Key: 0xb9d649ba<br>
Thread Pid: 5664&nbsp; Node: 0&nbsp; State: JOINED<br>
Number of Joins: 1&nbsp; Joining Node: 255<br>
Domain Map: 0 <br>
Live Map: 0 <br>
Lock Resources: 51168 (180512)<br>
MLEs: 0 (291689)<br>
&nbsp; Blocking: 0 (139713)<br>
&nbsp; Mastery: 0 (151976)<br>
&nbsp; Migration: 0 (0)<br>
Lists: Dirty=Empty&nbsp; Purge=InUse&nbsp; PendingASTs=Empty&nbsp; PendingBASTs=Empty<br>
Purge Count: 8&nbsp; Refs: 51169<br>
Dead Node: 255<br>
Recovery Pid: 5665&nbsp; Master: 255&nbsp; State: INACTIVE<br>
Recovery Map: <br>
Recovery Node State:<br>
<br>
the other commands:<br>
debugfs.ocfs2 –R “fs_locks –B” /dev/drbd0<br>
debugfs.ocfs2 –R “fs_locks 
–B” /dev/vg/lv<br>
debugfs.ocfs2 –R “dlm_locks M000000000000000022d63c00000000” /dev/drbd0<br>
<br>
produced the error:<br>
open: Device name specified was not found while opening context for device –R<br>
debugfs.ocfs2 1.4.2<br>
debugfs: <br>
<br>
and:<br>
<br>
ps -e -o pid,stat,comm,wchan=WIDE-WCHAN-COLUMN<br>
<br>
procuded no D state process.<br>
<br>
<br>
I am sorry I write it in the mailing list, but I am a noob, so I don't even know if it is a bug, or a misconfiguration, or a misunderstanding.<br>
<br>
PS. Is nodiratime option supported for mounts? I used it, but I don't see it in the user-guide.<br>
</font></div>

<div> <br>
</div>
-----Original Message-----<br>
From: Sunil Mushran &lt;sunil.mushran@oracle.com&gt;<br>
To: sylarrrrrrr@aim.com<br>
Cc: tao.ma@oracle.com; ocfs2-users@oss.oracle.com<br>
Sent: Tue, Jul 7, 2009 8:46 pm<br>
Subject: Re: [Ocfs2-users] umount hang + high CPU<br>
<br>






<div id="AOLMsgPart_0_5289ec8c-94d0-4ed0-b4f2-2da8d2db5b29" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">

The fix was for the oops you saw.&nbsp;<br>
&nbsp;<br>

The hang is a different issue. We have no info on that.&nbsp;<br>
&nbsp;<br>

For that, if you would like to diagnose the problem, read up the dlm notes&nbsp;<br>

in the 1.4 user's guide. It explains a debugging process vis-a-vis hangs.&nbsp;<br>
&nbsp;<br>

If the issue is dlm related, then we would like to have the tcpdumps.&nbsp;<br>
&nbsp;<br>

Lastly, emails are no
t an efficient vehicle for handling such issues. Use&nbsp;<br>

the bugzilla as it allows us to collect information in one place.&nbsp;<br>
&nbsp;<br>

Sunil&nbsp;<br>
&nbsp;<br>

<a href="mailto:sylarrrrrrr@aim.com">sylarrrrrrr@aim.com</a> wrote:&nbsp;<br>

&gt; So this bug is not over yet :(&nbsp;<br>

&gt;&nbsp;<br>

&gt; I have checked my kernel source and indeed it have this patch but I 
&gt; still get the hang.&nbsp;<br>

&gt;&nbsp;<br>

&gt; PS. my linux-2.6-2.6.30/fs/ocfs2/dcache.c kernel source has:&nbsp;<br>

&gt;&nbsp;<br>

&gt;     290         else&nbsp;<br>

&gt;     291                 mlog_errno(ret);&nbsp;<br>

&gt;     292&nbsp;<br>

&gt;     293         /*&nbsp;<br>

&gt;     294          * In case of error, manually free the allocation and 
&gt; do the iput().&nbsp;<br>

&gt;     295          * We need to do this because error here means no 
&gt; d_instantiate(),&nbsp;<br>

&gt;     296          * which means iput() will not be called during 
&gt; dput(dentry).&nbsp;<br>

&gt;     297          */&nbsp;<br>

&gt;     298         if (ret &lt; 0 &amp;&amp; !alias) {&nbsp;<br>

&gt;     299                 ocfs2_lock_res_free(&amp;dl-&gt;dl_lockres);&nbsp;<br>

&gt;     300                 BUG_ON(dl-&gt;dl_count != 1);&nbsp;<br>

&gt;     301                 spin_lock(&amp;dentry_attach_lock);&nbsp;<br>

&gt;    =2
0302                 dentry-&gt;d_fsdata = NULL;&nbsp;<br>

&gt;     303                 spin_unlock(&amp;dentry_attach_lock);&nbsp;<br>

&gt;     304                 kfree(dl);&nbsp;<br>

&gt;     305                 iput(inode);&nbsp;<br>

&gt;     306         }&nbsp;<br>

&gt;     307&nbsp;<br>

&gt;     308         dput(alias);&nbsp;<br>

&gt;     309&nbsp;<br>

&gt;     310         return ret;&nbsp;<br>

&gt;     311 }&nbsp;<br>

&gt;&nbsp;<br>

&gt;&nbsp;<br>
&nbsp;<br>


</div>
 <!-- end of AOLMsgPart_0_5289ec8c-94d0-4ed0-b4f2-2da8d2db5b29 -->

<div id='MAILCIAMB042-5c804a53c8e81f0' class='aol_ad_footer'><br/><font style="color:black;font:normal 10pt arial,san-serif;"> <hr style="margin-top:10px"/><B>A Good Credit Score is 700 or Above. <A HREF=http://pr.atwola.com/promoclk/100126575x1222585089x1201462806/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=JulystepsfooterNO62>See yours in just 2 easy steps!</A></B></font> </div>