<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks for responding, Andreas. <br><br>There was nothing in the PENDING directory. But I assume that the error messages indicate that the system thinks there is, could the same error refer to any other problem?<br><br>Regards,<br>John<br><br>&gt; Date: Thu, 10 Sep 2009 21:47:03 +0200<br>&gt; From: adilger@sun.com<br>&gt; Subject: Re: [Lustre-discuss] Cannot mount MDT after crash and writeconf<br>&gt; To: jcowan1264@live.co.uk<br>&gt; CC: lustre-discuss@lists.lustre.org<br>&gt; <br>&gt; On Sep 10, 2009  15:49 +0100, John Cowan wrote:<br>&gt; &gt; After running 'tunefs.lustre -writeconf /dev/mdt01' on my combined mdt/mgs I am unable to mount the device - this was following a mds crash. This is on sles 10sp2, 2.6.16.60-0.31, with 1.8.0. A couple of OSTs and a client are installed on the same machine, but they havent been mounted since the problem occurred.<br>&gt; &gt; <br>&gt; &gt; In the hope that this might be related to a corrupted CATALOGS file (like in bug 16002), I mounted the mdt with ldiskfs and removed the file, but still get the same problems.<br>&gt; &gt; <br>&gt; &gt; Can anyone lend any advice on any recovery steps they might take?<br>&gt; &gt; <br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel: LustreError: 5537:0:(lvfs_linux.c:449:l_filldir()) ASSERTION(sizeof(dirent-&gt;lld_name) &gt;= namlen + 1) failed<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel: LustreError: 5537:0:(lvfs_linux.c:449:l_filldir()) LBUG<br>&gt; <br>&gt; There is a file in the MDS PENDING directory which shouldn't be there.<br>&gt; Please mount the MDS with ldiskfs "ls -l $MDSMOUNT/PENDING" and remove<br>&gt; the file.  You _may_ have to run e2fsck, it depends on whether this is<br>&gt; a regular file or a directory.<br>&gt; <br>&gt; Granted, this probably shouldn't be an LBUG, but at the same time,<br>&gt; there must be some form of directory corruption because there should<br>&gt; never be too-long filenames in this directory.  If you want, you<br>&gt; could file a bug for this - it would probably be easy to fix so that<br>&gt; it just deleted this file instead of doing an LBUG.<br>&gt; <br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel: Lustre: 5537:0:(linux-debug.c:222:libcfs_debug_dumpstack()) showing stack for process 5537<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel: ll_mgs_00     R  running task       0  5537      1          5538  5519 (L-TLB)<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel: 0000000000000292 0000000000000001 0000000000000011 ffffffff80132cd0<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        ffffffff8044cd49 0000000000000000 0000000000000009 ffffffff80132cd0<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        000015a100000000 000000de00000000<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel: Call Trace: &lt;ffffffff80132cd0&gt;{vprintk+607} &lt;ffffffff80132cd0&gt;{vprintk+607}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff8014d278&gt;{kallsyms_lookup+244} &lt;ffffffff8014d278&gt;{kallsyms_lookup+244}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff8014d278&gt;{kallsyms_lookup+244} &lt;ffffffff8010c2ac&gt;{printk_address+154}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff80132d49&gt;{printk+78} &lt;ffffffff8014a3f2&gt;{module_text_address+51}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff80143e71&gt;{kernel_text_address+26} &lt;ffffffff8010c47e&gt;{show_trace+453}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff8010c5b5&gt;{show_stack+201} &lt;ffffffff881e4ada&gt;{:libcfs:lbug_with_loc+122}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff881ecdd0&gt;{:libcfs:tracefile_init+0} &lt;ffffffff88209b27&gt;{:lvfs:l_filldir+391}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff882099a0&gt;{:lvfs:l_filldir+0} &lt;ffffffff88623ebb&gt;{:ldiskfs:call_filldir+139}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff886241e6&gt;{:ldiskfs:ldiskfs_readdir+486} &lt;ffffffff882099a0&gt;{:lvfs:l_filldir+0}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff88430a6d&gt;{:ptlrpc:ldlm_process_plain_lock+3101}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff8012bf0f&gt;{__wake_up+56} &lt;ffffffff882099a0&gt;{:lvfs:l_filldir+0}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff80193c3f&gt;{vfs_readdir+128} &lt;ffffffff88209974&gt;{:lvfs:l_readdir+36}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff88684ee4&gt;{:mgs:class_dentry_readdir+628} &lt;ffffffff8841ae2a&gt;{:ptlrpc:ldlm_lock_addref_internal_nolock+58}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff8868a598&gt;{:mgs:mgs_erase_logs+152} &lt;ffffffff884369f0&gt;{:ptlrpc:ldlm_blocking_ast+0}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff8843a360&gt;{:ptlrpc:ldlm_completion_ast+0} &lt;ffffffff88676653&gt;{:mgs:mgs_handle+2915}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff88463fe5&gt;{:ptlrpc:lustre_msg_get_conn_cnt+53}<br>&gt; &gt; Sep 10 14:12:35 uklust01 kernel:        &lt;ffffffff88468d9d&gt;{:ptlrpc:ptlrpc_check_req+29} &lt;ffffffff8846b338&gt;{:ptlrpc:ptlrpc_server_handle_request+2712}<br>&gt; &gt; Sep 10 14:12:36 uklust01 kernel:        &lt;ffffffff8012af22&gt;{try_to_wake_up+1039} &lt;ffffffff8013aee7&gt;{lock_timer_base+27}<br>&gt; &gt; Sep 10 14:12:36 uklust01 kernel:        &lt;ffffffff80129605&gt;{__wake_up_common+62} &lt;ffffffff8846e998&gt;{:ptlrpc:ptlrpc_main+4664}<br>&gt; &gt; Sep 10 14:12:36 uklust01 kernel:        &lt;ffffffff8012af33&gt;{default_wake_function+0} &lt;ffffffff8010bdce&gt;{child_rip+8}<br>&gt; &gt; Sep 10 14:12:36 uklust01 kernel:        &lt;ffffffff8846d760&gt;{:ptlrpc:ptlrpc_main+0} &lt;ffffffff8010bdc6&gt;{child_rip+0}<br>&gt; &gt; Sep 10 14:12:36 uklust01 kernel: LustreError: dumping log to /tmp/lustre-log.1252591955.5537<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; _________________________________________________________________<br>&gt; &gt; View your other email accounts from your Hotmail inbox. Add them now.<br>&gt; &gt; http://clk.atdmt.com/UKM/go/167688463/direct/01/<br>&gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; Lustre-discuss mailing list<br>&gt; &gt; Lustre-discuss@lists.lustre.org<br>&gt; &gt; http://lists.lustre.org/mailman/listinfo/lustre-discuss<br>&gt; <br>&gt; <br>&gt; Cheers, Andreas<br>&gt; --<br>&gt; Andreas Dilger<br>&gt; Sr. Staff Engineer, Lustre Group<br>&gt; Sun Microsystems of Canada, Inc.<br>&gt; <br><br /><hr />View your other email accounts from your Hotmail inbox. <a href='http://clk.atdmt.com/UKM/go/167688463/direct/01/' target='_new'>Add them now.</a></body>
</html>