[Lustre-discuss] 1.6.4.1 - LBUG on MDS

Johann Lombardi johann at sun.com
Mon Jan 14 00:08:02 PST 2008


On Mon, Jan 14, 2008 at 08:02:43AM +0100, Niklas Edmundsson wrote:
> Lustre 1.6.4.1 on Ubuntu Dapper with Debian 2.6.18 AMD64 kernel. MDS 
> LBUG:ed with:
> 
> -------------8<--------------------
> Jan 12 10:39:40 LustreError: 6198:0:(mds_reint.c:1512:mds_orphan_add_link()) ASSERTION(inode->i_nlink == 1) failed:dir nlink == 0
> Jan 12 10:39:40 LustreError: 6198:0:(mds_reint.c:1512:mds_orphan_add_link()) LBUG
> Jan 12 10:39:40 Lustre: 6198:0:(linux-debug.c:168:libcfs_debug_dumpstack()) showing stack for process 6198
> Jan 12 10:39:41 LustreError: dumping log to /tmp/lustre-log.1200130781.6198

The debian kernel maintainers have probably merged the ext3_link() patch to
return -ENOENT when inode->i_nlink is equal to 0. Please note that this patch
is included in the RHEL5 kernels (and our RHEL5 series handles this), but not in
the 2.6.18.8 vanilla kernel.
To fix this, you should add ext3-unlink-race.patch to the 2.6.18 ldiskfs series.

Johann




More information about the lustre-discuss mailing list