<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> <font face="Arial, Helvetica, sans-serif">tunefs.ocfs2 --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 Key: 0xb9d649ba<br>
Thread Pid: 5664 Node: 0 State: JOINED<br>
Number of Joins: 1 Joining Node: 255<br>
Domain Map: 0 <br>
Live Map: 0 <br>
Lock Resources: 51168 (180512)<br>
MLEs: 0 (291689)<br>
Blocking: 0 (139713)<br>
Mastery: 0 (151976)<br>
Migration: 0 (0)<br>
Lists: Dirty=Empty Purge=InUse PendingASTs=Empty PendingBASTs=Empty<br>
Purge Count: 8 Refs: 51169<br>
Dead Node: 255<br>
Recovery Pid: 5665 Master: 255 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 <sunil.mushran@oracle.com><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. <br>
<br>
The hang is a different issue. We have no info on that. <br>
<br>
For that, if you would like to diagnose the problem, read up the dlm notes <br>
in the 1.4 user's guide. It explains a debugging process vis-a-vis hangs. <br>
<br>
If the issue is dlm related, then we would like to have the tcpdumps. <br>
<br>
Lastly, emails are no
t an efficient vehicle for handling such issues. Use <br>
the bugzilla as it allows us to collect information in one place. <br>
<br>
Sunil <br>
<br>
<a href="mailto:sylarrrrrrr@aim.com">sylarrrrrrr@aim.com</a> wrote: <br>
> So this bug is not over yet :( <br>
> <br>
> I have checked my kernel source and indeed it have this patch but I
> still get the hang. <br>
> <br>
> PS. my linux-2.6-2.6.30/fs/ocfs2/dcache.c kernel source has: <br>
> <br>
> 290 else <br>
> 291 mlog_errno(ret); <br>
> 292 <br>
> 293 /* <br>
> 294 * In case of error, manually free the allocation and
> do the iput(). <br>
> 295 * We need to do this because error here means no
> d_instantiate(), <br>
> 296 * which means iput() will not be called during
> dput(dentry). <br>
> 297 */ <br>
> 298 if (ret < 0 && !alias) { <br>
> 299 ocfs2_lock_res_free(&dl->dl_lockres); <br>
> 300 BUG_ON(dl->dl_count != 1); <br>
> 301 spin_lock(&dentry_attach_lock); <br>
> =2
0302 dentry->d_fsdata = NULL; <br>
> 303 spin_unlock(&dentry_attach_lock); <br>
> 304 kfree(dl); <br>
> 305 iput(inode); <br>
> 306 } <br>
> 307 <br>
> 308 dput(alias); <br>
> 309 <br>
> 310 return ret; <br>
> 311 } <br>
> <br>
> <br>
<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>