Hi all and Happy New Year! I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 on debian sarge. I have installed the following patches (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) tasklist_lock.bin aliasing_workaround.bin statfs.bin 2.6.18-kern-mount.dpatch 2.6.18_nrpagecache.dpatch and installed the binary package of e2fsprogs-1.39.cfs2 The kernel is running and I can load the lustre module with modprobe lustre. But if I make mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 I got the following error: mkfs.lustre: Unable to mount /dev/sda2: No such device Is the ldiskfs module available? Indeed ldiskfs does not exists, and the lustre modules are not loaded by mkfs. Now I don''t know where I have to look for the problem. Must the ldiskfs module realy exist? Or is there a problem with e2fsprogs-1.39.cfs2? I have tried to compile this package by myself, but not managed it up to now. Thanks for your help Harald
I now have compiled e2fsprogs-1.39.cfs2 by myself, and I have found that there where 2 patch series ldiskfs-2.6.18-vanilla.series and 2.6.18-vanilla.series I have applied both. But the problem still exists. Still there is no ldiskfs module, if I modprobe lustre, dmesg shows: kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum lustre stack 8192 kernel: Lustre: OBD class driver, info@clusterfs.com kernel: Lustre Version: 1.5.95 kernel: Build Version: 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] kernel: Lustre: Accept secure, port 988 kernel: Lustre: Lustre Client File System; info@clusterfs.com What is missing or what I have done wrong? Harald On Monday 01 January 2007 09:07 pm, Harald van Pee wrote:> Hi all and > Happy New Year! > > I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 > on debian sarge. > I have installed the following patches > (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) > tasklist_lock.bin > aliasing_workaround.bin > statfs.bin > 2.6.18-kern-mount.dpatch > 2.6.18_nrpagecache.dpatch > > and installed the binary package of e2fsprogs-1.39.cfs2 > > The kernel is running and I can load the lustre module with > modprobe lustre. > > But if I make > mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 > I got the following error: > mkfs.lustre: Unable to mount /dev/sda2: No such device > Is the ldiskfs module available? > > Indeed ldiskfs does not exists, and the lustre modules are not loaded by > mkfs. > > Now I don''t know where I have to look for the problem. Must the ldiskfs > module realy exist? > Or is there a problem with e2fsprogs-1.39.cfs2? > I have tried to compile this package by myself, but not managed it up to > now. > > Thanks for your help > Harald > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
Nathaniel Rutman
2007-Jan-02 10:27 UTC
[Lustre-discuss] mkfs.lustre ldiskfs module missing
When you built the rest of the lustre modules (e.g. obdclass, lnet), the ldiskfs module should also have been built. Check the results of the compile. Harald van Pee wrote:> I now have compiled e2fsprogs-1.39.cfs2 by myself, > and I have found that there where 2 patch series > ldiskfs-2.6.18-vanilla.series > and > 2.6.18-vanilla.series > I have applied both. > > But the problem still exists. > Still there is no ldiskfs module, > if I modprobe lustre, dmesg shows: > > kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum lustre > stack 8192 > kernel: Lustre: OBD class driver, info@clusterfs.com > kernel: Lustre Version: 1.5.95 > kernel: Build Version: > 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 > kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] > kernel: Lustre: Accept secure, port 988 > kernel: Lustre: Lustre Client File System; info@clusterfs.com > > What is missing or what I have done wrong? > > Harald > > On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: > >> Hi all and >> Happy New Year! >> >> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 >> on debian sarge. >> I have installed the following patches >> (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) >> tasklist_lock.bin >> aliasing_workaround.bin >> statfs.bin >> 2.6.18-kern-mount.dpatch >> 2.6.18_nrpagecache.dpatch >> >> and installed the binary package of e2fsprogs-1.39.cfs2 >> >> The kernel is running and I can load the lustre module with >> modprobe lustre. >> >> But if I make >> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 >> I got the following error: >> mkfs.lustre: Unable to mount /dev/sda2: No such device >> Is the ldiskfs module available? >> >> Indeed ldiskfs does not exists, and the lustre modules are not loaded by >> mkfs. >> >> Now I don''t know where I have to look for the problem. Must the ldiskfs >> module realy exist? >> Or is there a problem with e2fsprogs-1.39.cfs2? >> I have tried to compile this package by myself, but not managed it up to >> now. >> >> Thanks for your help >> Harald >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >
On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote:> When you built the rest of the lustre modules (e.g. obdclass, lnet), > the ldiskfs module should also have been built. > Check the results of the compile.o.k. this means this module realy should exists, lnet and others I found, but ldiskfs is only a directory. I will check if there are any hints in the log files or on stdout. Is there a configure option which enable or disable ldiskfs?> > Harald van Pee wrote: > > I now have compiled e2fsprogs-1.39.cfs2 by myself, > > and I have found that there where 2 patch series > > ldiskfs-2.6.18-vanilla.series > > and > > 2.6.18-vanilla.series > > I have applied both. > > > > But the problem still exists. > > Still there is no ldiskfs module, > > if I modprobe lustre, dmesg shows: > > > > kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum > > lustre stack 8192 > > kernel: Lustre: OBD class driver, info@clusterfs.com > > kernel: Lustre Version: 1.5.95 > > kernel: Build Version: > > 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 > > kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] > > kernel: Lustre: Accept secure, port 988 > > kernel: Lustre: Lustre Client File System; info@clusterfs.com > > > > What is missing or what I have done wrong? > > > > Harald > > > > On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: > >> Hi all and > >> Happy New Year! > >> > >> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 > >> on debian sarge. > >> I have installed the following patches > >> (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) > >> tasklist_lock.bin > >> aliasing_workaround.bin > >> statfs.bin > >> 2.6.18-kern-mount.dpatch > >> 2.6.18_nrpagecache.dpatch > >> > >> and installed the binary package of e2fsprogs-1.39.cfs2 > >> > >> The kernel is running and I can load the lustre module with > >> modprobe lustre. > >> > >> But if I make > >> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 > >> I got the following error: > >> mkfs.lustre: Unable to mount /dev/sda2: No such device > >> Is the ldiskfs module available? > >> > >> Indeed ldiskfs does not exists, and the lustre modules are not loaded by > >> mkfs. > >> > >> Now I don''t know where I have to look for the problem. Must the ldiskfs > >> module realy exist? > >> Or is there a problem with e2fsprogs-1.39.cfs2? > >> I have tried to compile this package by myself, but not managed it up to > >> now. > >> > >> Thanks for your help > >> Harald
Nathaniel Rutman
2007-Jan-02 11:12 UTC
[Lustre-discuss] mkfs.lustre ldiskfs module missing
There is a "--enable-ldiskfs" option, but it''s always on afaik. ./configure should show: checking whether to enable ldiskfs Harald van Pee wrote:> On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: > >> When you built the rest of the lustre modules (e.g. obdclass, lnet), >> the ldiskfs module should also have been built. >> Check the results of the compile. >> > > o.k. this means this module realy should exists, > lnet and others I found, but ldiskfs is only a directory. > I will check if there are any hints in the log files or on stdout. > > Is there a configure option which enable or disable ldiskfs? > > > >> Harald van Pee wrote: >> >>> I now have compiled e2fsprogs-1.39.cfs2 by myself, >>> and I have found that there where 2 patch series >>> ldiskfs-2.6.18-vanilla.series >>> and >>> 2.6.18-vanilla.series >>> I have applied both. >>> >>> But the problem still exists. >>> Still there is no ldiskfs module, >>> if I modprobe lustre, dmesg shows: >>> >>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum >>> lustre stack 8192 >>> kernel: Lustre: OBD class driver, info@clusterfs.com >>> kernel: Lustre Version: 1.5.95 >>> kernel: Build Version: >>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 >>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] >>> kernel: Lustre: Accept secure, port 988 >>> kernel: Lustre: Lustre Client File System; info@clusterfs.com >>> >>> What is missing or what I have done wrong? >>> >>> Harald >>> >>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: >>> >>>> Hi all and >>>> Happy New Year! >>>> >>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 >>>> on debian sarge. >>>> I have installed the following patches >>>> (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) >>>> tasklist_lock.bin >>>> aliasing_workaround.bin >>>> statfs.bin >>>> 2.6.18-kern-mount.dpatch >>>> 2.6.18_nrpagecache.dpatch >>>> >>>> and installed the binary package of e2fsprogs-1.39.cfs2 >>>> >>>> The kernel is running and I can load the lustre module with >>>> modprobe lustre. >>>> >>>> But if I make >>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 >>>> I got the following error: >>>> mkfs.lustre: Unable to mount /dev/sda2: No such device >>>> Is the ldiskfs module available? >>>> >>>> Indeed ldiskfs does not exists, and the lustre modules are not loaded by >>>> mkfs. >>>> >>>> Now I don''t know where I have to look for the problem. Must the ldiskfs >>>> module realy exist? >>>> Or is there a problem with e2fsprogs-1.39.cfs2? >>>> I have tried to compile this package by myself, but not managed it up to >>>> now. >>>> >>>> Thanks for your help >>>> Harald >>>> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >
I think I found the problem, configure gives to error messages: ./configure: line 4454: LC_CONFIG_GSS: command not found and later configure: WARNING: Patchless build detected, disabling server building I think the last one can be the reason of the problem, but I have no idea why this happens? I''m not very familar with configure scripts. On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote:> There is a "--enable-ldiskfs" option, but it''s always on afaik. > ./configure should show: > checking whether to enable ldiskfs > > Harald van Pee wrote: > > On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: > >> When you built the rest of the lustre modules (e.g. obdclass, lnet), > >> the ldiskfs module should also have been built. > >> Check the results of the compile. > > > > o.k. this means this module realy should exists, > > lnet and others I found, but ldiskfs is only a directory. > > I will check if there are any hints in the log files or on stdout. > > > > Is there a configure option which enable or disable ldiskfs? > > > >> Harald van Pee wrote: > >>> I now have compiled e2fsprogs-1.39.cfs2 by myself, > >>> and I have found that there where 2 patch series > >>> ldiskfs-2.6.18-vanilla.series > >>> and > >>> 2.6.18-vanilla.series > >>> I have applied both. > >>> > >>> But the problem still exists. > >>> Still there is no ldiskfs module, > >>> if I modprobe lustre, dmesg shows: > >>> > >>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum > >>> lustre stack 8192 > >>> kernel: Lustre: OBD class driver, info@clusterfs.com > >>> kernel: Lustre Version: 1.5.95 > >>> kernel: Build Version: > >>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 > >>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] > >>> kernel: Lustre: Accept secure, port 988 > >>> kernel: Lustre: Lustre Client File System; info@clusterfs.com > >>> > >>> What is missing or what I have done wrong? > >>> > >>> Harald > >>> > >>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: > >>>> Hi all and > >>>> Happy New Year! > >>>> > >>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 > >>>> on debian sarge. > >>>> I have installed the following patches > >>>> (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) > >>>> tasklist_lock.bin > >>>> aliasing_workaround.bin > >>>> statfs.bin > >>>> 2.6.18-kern-mount.dpatch > >>>> 2.6.18_nrpagecache.dpatch > >>>> > >>>> and installed the binary package of e2fsprogs-1.39.cfs2 > >>>> > >>>> The kernel is running and I can load the lustre module with > >>>> modprobe lustre. > >>>> > >>>> But if I make > >>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 > >>>> I got the following error: > >>>> mkfs.lustre: Unable to mount /dev/sda2: No such device > >>>> Is the ldiskfs module available? > >>>> > >>>> Indeed ldiskfs does not exists, and the lustre modules are not loaded > >>>> by mkfs. > >>>> > >>>> Now I don''t know where I have to look for the problem. Must the > >>>> ldiskfs module realy exist? > >>>> Or is there a problem with e2fsprogs-1.39.cfs2? > >>>> I have tried to compile this package by myself, but not managed it up > >>>> to now. > >>>> > >>>> Thanks for your help > >>>> Harald
I found out, that lustre_version.h is missing from linux/include/linux the question is, have I done something wrong with the patch or can I just copy it? And everything is o.k. or have I repeat the patch properly? Unfortunately I got now: CC [M] /usr/src/lustre-1.5.95/lustre/ldiskfs/namei.o /usr/src/lustre-1.5.95/lustre/ldiskfs/namei.c: In function `ldiskfs_new_inode_wantedi'': /usr/src/lustre-1.5.95/lustre/ldiskfs/namei.c:1658: error: dereferencing pointer to incomplete type Thanks for your help Harald On Tuesday 02 January 2007 07:32 pm, Harald van Pee wrote:> I think I found the problem, configure gives to error messages: > > ./configure: line 4454: LC_CONFIG_GSS: command not found > and later > configure: WARNING: Patchless build detected, disabling server building > > I think the last one can be the reason of the problem, but I have no idea > why this happens? > I''m not very familar with configure scripts. > > On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote: > > There is a "--enable-ldiskfs" option, but it''s always on afaik. > > ./configure should show: > > checking whether to enable ldiskfs > > > > Harald van Pee wrote: > > > On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: > > >> When you built the rest of the lustre modules (e.g. obdclass, lnet), > > >> the ldiskfs module should also have been built. > > >> Check the results of the compile. > > > > > > o.k. this means this module realy should exists, > > > lnet and others I found, but ldiskfs is only a directory. > > > I will check if there are any hints in the log files or on stdout. > > > > > > Is there a configure option which enable or disable ldiskfs? > > > > > >> Harald van Pee wrote: > > >>> I now have compiled e2fsprogs-1.39.cfs2 by myself, > > >>> and I have found that there where 2 patch series > > >>> ldiskfs-2.6.18-vanilla.series > > >>> and > > >>> 2.6.18-vanilla.series > > >>> I have applied both. > > >>> > > >>> But the problem still exists. > > >>> Still there is no ldiskfs module, > > >>> if I modprobe lustre, dmesg shows: > > >>> > > >>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum > > >>> lustre stack 8192 > > >>> kernel: Lustre: OBD class driver, info@clusterfs.com > > >>> kernel: Lustre Version: 1.5.95 > > >>> kernel: Build Version: > > >>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 > > >>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] > > >>> kernel: Lustre: Accept secure, port 988 > > >>> kernel: Lustre: Lustre Client File System; info@clusterfs.com > > >>> > > >>> What is missing or what I have done wrong? > > >>> > > >>> Harald > > >>> > > >>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: > > >>>> Hi all and > > >>>> Happy New Year! > > >>>> > > >>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 > > >>>> on debian sarge. > > >>>> I have installed the following patches > > >>>> (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 > > >>>> here) tasklist_lock.bin > > >>>> aliasing_workaround.bin > > >>>> statfs.bin > > >>>> 2.6.18-kern-mount.dpatch > > >>>> 2.6.18_nrpagecache.dpatch > > >>>> > > >>>> and installed the binary package of e2fsprogs-1.39.cfs2 > > >>>> > > >>>> The kernel is running and I can load the lustre module with > > >>>> modprobe lustre. > > >>>> > > >>>> But if I make > > >>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 > > >>>> I got the following error: > > >>>> mkfs.lustre: Unable to mount /dev/sda2: No such device > > >>>> Is the ldiskfs module available? > > >>>> > > >>>> Indeed ldiskfs does not exists, and the lustre modules are not > > >>>> loaded by mkfs. > > >>>> > > >>>> Now I don''t know where I have to look for the problem. Must the > > >>>> ldiskfs module realy exist? > > >>>> Or is there a problem with e2fsprogs-1.39.cfs2? > > >>>> I have tried to compile this package by myself, but not managed it > > >>>> up to now. > > >>>> > > >>>> Thanks for your help > > >>>> Harald
Nathaniel Rutman
2007-Jan-02 12:22 UTC
[Lustre-discuss] mkfs.lustre ldiskfs module missing
You have to patch the kernel with the entire series of Lustre patches, in lustre/kernel_patches. We don''t support 2.6.18 yet, but you can find fixes in a previous thread on this list. (If configure finds a kernel that does not have the lustre patches, it tries to build the patchless client configuration.) Harald van Pee wrote:> I think I found the problem, configure gives to error messages: > > ./configure: line 4454: LC_CONFIG_GSS: command not found > and later > configure: WARNING: Patchless build detected, disabling server building > > I think the last one can be the reason of the problem, but I have no idea why > this happens? > I''m not very familar with configure scripts. > > On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote: > >> There is a "--enable-ldiskfs" option, but it''s always on afaik. >> ./configure should show: >> checking whether to enable ldiskfs >> >> Harald van Pee wrote: >> >>> On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: >>> >>>> When you built the rest of the lustre modules (e.g. obdclass, lnet), >>>> the ldiskfs module should also have been built. >>>> Check the results of the compile. >>>> >>> o.k. this means this module realy should exists, >>> lnet and others I found, but ldiskfs is only a directory. >>> I will check if there are any hints in the log files or on stdout. >>> >>> Is there a configure option which enable or disable ldiskfs? >>> >>> >>>> Harald van Pee wrote: >>>> >>>>> I now have compiled e2fsprogs-1.39.cfs2 by myself, >>>>> and I have found that there where 2 patch series >>>>> ldiskfs-2.6.18-vanilla.series >>>>> and >>>>> 2.6.18-vanilla.series >>>>> I have applied both. >>>>> >>>>> But the problem still exists. >>>>> Still there is no ldiskfs module, >>>>> if I modprobe lustre, dmesg shows: >>>>> >>>>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) maximum >>>>> lustre stack 8192 >>>>> kernel: Lustre: OBD class driver, info@clusterfs.com >>>>> kernel: Lustre Version: 1.5.95 >>>>> kernel: Build Version: >>>>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 >>>>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] >>>>> kernel: Lustre: Accept secure, port 988 >>>>> kernel: Lustre: Lustre Client File System; info@clusterfs.com >>>>> >>>>> What is missing or what I have done wrong? >>>>> >>>>> Harald >>>>> >>>>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: >>>>> >>>>>> Hi all and >>>>>> Happy New Year! >>>>>> >>>>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 >>>>>> on debian sarge. >>>>>> I have installed the following patches >>>>>> (see mail from Alastair McKinstry Mon Oct 23 07:20:06 MDT 2006 here) >>>>>> tasklist_lock.bin >>>>>> aliasing_workaround.bin >>>>>> statfs.bin >>>>>> 2.6.18-kern-mount.dpatch >>>>>> 2.6.18_nrpagecache.dpatch >>>>>> >>>>>> and installed the binary package of e2fsprogs-1.39.cfs2 >>>>>> >>>>>> The kernel is running and I can load the lustre module with >>>>>> modprobe lustre. >>>>>> >>>>>> But if I make >>>>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 >>>>>> I got the following error: >>>>>> mkfs.lustre: Unable to mount /dev/sda2: No such device >>>>>> Is the ldiskfs module available? >>>>>> >>>>>> Indeed ldiskfs does not exists, and the lustre modules are not loaded >>>>>> by mkfs. >>>>>> >>>>>> Now I don''t know where I have to look for the problem. Must the >>>>>> ldiskfs module realy exist? >>>>>> Or is there a problem with e2fsprogs-1.39.cfs2? >>>>>> I have tried to compile this package by myself, but not managed it up >>>>>> to now. >>>>>> >>>>>> Thanks for your help >>>>>> Harald >>>>>> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >
I''m confused by the statement: "We don''t support 2.6.18 yet". Do you mean all distos of 2.6.18 or only specific ones? The 1.5.95 tarball has series files and patches for 2.6.18. [root@ADBuildServ series]# pwd /lustre-1.5.95/lustre/kernel_patches/series [root@ADBuildServ series]# ls *2.6.18* 2.6.18-vanilla.series ldiskfs-2.6.18-vanilla.series Tim -----Original Message----- From: lustre-discuss-bounces@clusterfs.com [mailto:lustre-discuss-bounces@clusterfs.com] On Behalf Of Nathaniel Rutman Sent: Tuesday, January 02, 2007 1:23 PM To: Harald van Pee Cc: lustre-discuss@clusterfs.com Subject: Re: [Lustre-discuss] mkfs.lustre ldiskfs module missing You have to patch the kernel with the entire series of Lustre patches, in lustre/kernel_patches. We don''t support 2.6.18 yet, but you can find fixes in a previous thread on this list. (If configure finds a kernel that does not have the lustre patches, it tries to build the patchless client configuration.) Harald van Pee wrote:> I think I found the problem, configure gives to error messages: > > ./configure: line 4454: LC_CONFIG_GSS: command not found and later > configure: WARNING: Patchless build detected, disabling server > building > > I think the last one can be the reason of the problem, but I have no > idea why this happens? > I''m not very familar with configure scripts. > > On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote: > >> There is a "--enable-ldiskfs" option, but it''s always on afaik. >> ./configure should show: >> checking whether to enable ldiskfs >> >> Harald van Pee wrote: >> >>> On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: >>> >>>> When you built the rest of the lustre modules (e.g. obdclass, >>>> lnet), the ldiskfs module should also have been built. >>>> Check the results of the compile. >>>> >>> o.k. this means this module realy should exists, lnet and others I >>> found, but ldiskfs is only a directory. >>> I will check if there are any hints in the log files or on stdout. >>> >>> Is there a configure option which enable or disable ldiskfs? >>> >>> >>>> Harald van Pee wrote: >>>> >>>>> I now have compiled e2fsprogs-1.39.cfs2 by myself, and I have >>>>> found that there where 2 patch series >>>>> ldiskfs-2.6.18-vanilla.series and 2.6.18-vanilla.series I have >>>>> applied both. >>>>> >>>>> But the problem still exists. >>>>> Still there is no ldiskfs module, >>>>> if I modprobe lustre, dmesg shows: >>>>> >>>>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) >>>>> maximum lustre stack 8192 >>>>> kernel: Lustre: OBD class driver, info@clusterfs.com >>>>> kernel: Lustre Version: 1.5.95 >>>>> kernel: Build Version: >>>>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 >>>>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] >>>>> kernel: Lustre: Accept secure, port 988 >>>>> kernel: Lustre: Lustre Client File System; info@clusterfs.com >>>>> >>>>> What is missing or what I have done wrong? >>>>> >>>>> Harald >>>>> >>>>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: >>>>> >>>>>> Hi all and >>>>>> Happy New Year! >>>>>> >>>>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 on >>>>>> debian sarge. >>>>>> I have installed the following patches (see mail from Alastair >>>>>> McKinstry Mon Oct 23 07:20:06 MDT 2006 here) tasklist_lock.bin >>>>>> aliasing_workaround.bin statfs.bin 2.6.18-kern-mount.dpatch >>>>>> 2.6.18_nrpagecache.dpatch >>>>>> >>>>>> and installed the binary package of e2fsprogs-1.39.cfs2 >>>>>> >>>>>> The kernel is running and I can load the lustre module with >>>>>> modprobe lustre. >>>>>> >>>>>> But if I make >>>>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 I got the >>>>>> following error: >>>>>> mkfs.lustre: Unable to mount /dev/sda2: No such device Is the >>>>>> ldiskfs module available? >>>>>> >>>>>> Indeed ldiskfs does not exists, and the lustre modules are not >>>>>> loaded by mkfs. >>>>>> >>>>>> Now I don''t know where I have to look for the problem. Must the >>>>>> ldiskfs module realy exist? >>>>>> Or is there a problem with e2fsprogs-1.39.cfs2? >>>>>> I have tried to compile this package by myself, but not managed >>>>>> it up to now. >>>>>> >>>>>> Thanks for your help >>>>>> Harald >>>>>> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >_______________________________________________ Lustre-discuss mailing list Lustre-discuss@clusterfs.com https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
Nathaniel Rutman
2007-Jan-02 15:52 UTC
[Lustre-discuss] mkfs.lustre ldiskfs module missing
It''s under development. If I remember correctly, in 1.5.95 it wasn''t fully working. There were previous posts from the community with patches for fixing it up. Our "officially supported" and tested kernels are listed in kernel_patches/which_patch. Snider, Tim wrote:> I''m confused by the statement: "We don''t support 2.6.18 yet". > Do you mean all distos of 2.6.18 or only specific ones? > The 1.5.95 tarball has series files and patches for 2.6.18. > > [root@ADBuildServ series]# pwd > /lustre-1.5.95/lustre/kernel_patches/series > [root@ADBuildServ series]# ls *2.6.18* > 2.6.18-vanilla.series ldiskfs-2.6.18-vanilla.series > Tim > -----Original Message----- > From: lustre-discuss-bounces@clusterfs.com > [mailto:lustre-discuss-bounces@clusterfs.com] On Behalf Of Nathaniel > Rutman > Sent: Tuesday, January 02, 2007 1:23 PM > To: Harald van Pee > Cc: lustre-discuss@clusterfs.com > Subject: Re: [Lustre-discuss] mkfs.lustre ldiskfs module missing > > You have to patch the kernel with the entire series of Lustre patches, > in lustre/kernel_patches. We don''t support 2.6.18 yet, but you can find > fixes in a previous thread on this list. > (If configure finds a kernel that does not have the lustre patches, it > tries to build the patchless client configuration.) > > Harald van Pee wrote: > >> I think I found the problem, configure gives to error messages: >> >> ./configure: line 4454: LC_CONFIG_GSS: command not found and later >> configure: WARNING: Patchless build detected, disabling server >> building >> >> I think the last one can be the reason of the problem, but I have no >> idea why this happens? >> I''m not very familar with configure scripts. >> >> On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote: >> >> >>> There is a "--enable-ldiskfs" option, but it''s always on afaik. >>> ./configure should show: >>> checking whether to enable ldiskfs >>> >>> Harald van Pee wrote: >>> >>> >>>> On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: >>>> >>>> >>>>> When you built the rest of the lustre modules (e.g. obdclass, >>>>> lnet), the ldiskfs module should also have been built. >>>>> Check the results of the compile. >>>>> >>>>> >>>> o.k. this means this module realy should exists, lnet and others I >>>> found, but ldiskfs is only a directory. >>>> I will check if there are any hints in the log files or on stdout. >>>> >>>> Is there a configure option which enable or disable ldiskfs? >>>> >>>> >>>> >>>>> Harald van Pee wrote: >>>>> >>>>> >>>>>> I now have compiled e2fsprogs-1.39.cfs2 by myself, and I have >>>>>> found that there where 2 patch series >>>>>> ldiskfs-2.6.18-vanilla.series and 2.6.18-vanilla.series I have >>>>>> applied both. >>>>>> >>>>>> But the problem still exists. >>>>>> Still there is no ldiskfs module, >>>>>> if I modprobe lustre, dmesg shows: >>>>>> >>>>>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) >>>>>> maximum lustre stack 8192 >>>>>> kernel: Lustre: OBD class driver, info@clusterfs.com >>>>>> kernel: Lustre Version: 1.5.95 >>>>>> kernel: Build Version: >>>>>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 >>>>>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] >>>>>> kernel: Lustre: Accept secure, port 988 >>>>>> kernel: Lustre: Lustre Client File System; info@clusterfs.com >>>>>> >>>>>> What is missing or what I have done wrong? >>>>>> >>>>>> Harald >>>>>> >>>>>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: >>>>>> >>>>>> >>>>>>> Hi all and >>>>>>> Happy New Year! >>>>>>> >>>>>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 on >>>>>>> debian sarge. >>>>>>> I have installed the following patches (see mail from Alastair >>>>>>> McKinstry Mon Oct 23 07:20:06 MDT 2006 here) tasklist_lock.bin >>>>>>> aliasing_workaround.bin statfs.bin 2.6.18-kern-mount.dpatch >>>>>>> 2.6.18_nrpagecache.dpatch >>>>>>> >>>>>>> and installed the binary package of e2fsprogs-1.39.cfs2 >>>>>>> >>>>>>> The kernel is running and I can load the lustre module with >>>>>>> modprobe lustre. >>>>>>> >>>>>>> But if I make >>>>>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 I got the >>>>>>> following error: >>>>>>> mkfs.lustre: Unable to mount /dev/sda2: No such device Is the >>>>>>> ldiskfs module available? >>>>>>> >>>>>>> Indeed ldiskfs does not exists, and the lustre modules are not >>>>>>> loaded by mkfs. >>>>>>> >>>>>>> Now I don''t know where I have to look for the problem. Must the >>>>>>> ldiskfs module realy exist? >>>>>>> Or is there a problem with e2fsprogs-1.39.cfs2? >>>>>>> I have tried to compile this package by myself, but not managed >>>>>>> it up to now. >>>>>>> >>>>>>> Thanks for your help >>>>>>> Harald >>>>>>> >>>>>>> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >> >> >> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > >
I found out that not all required patches for ldiskfs are applied. I will try to do this tomorrow more carefully. I understand that 1.5.95 is not ready for 2.6.18 without the additional patches provided from this list. But it would realy be nice if 2.6.18 will be fully supported in the near future. Now I hope that I can do the final step to get lustre 1.5.95 running. Thanks Harald On Tuesday 02 January 2007 11:52 pm, Nathaniel Rutman wrote:> It''s under development. If I remember correctly, in 1.5.95 it wasn''t > fully working. > There were previous posts from the community with patches for fixing it up. > Our "officially supported" and tested kernels are listed in > kernel_patches/which_patch. > > Snider, Tim wrote: > > I''m confused by the statement: "We don''t support 2.6.18 yet". > > Do you mean all distos of 2.6.18 or only specific ones? > > The 1.5.95 tarball has series files and patches for 2.6.18. > > > > [root@ADBuildServ series]# pwd > > /lustre-1.5.95/lustre/kernel_patches/series > > [root@ADBuildServ series]# ls *2.6.18* > > 2.6.18-vanilla.series ldiskfs-2.6.18-vanilla.series > > Tim > > -----Original Message----- > > From: lustre-discuss-bounces@clusterfs.com > > [mailto:lustre-discuss-bounces@clusterfs.com] On Behalf Of Nathaniel > > Rutman > > Sent: Tuesday, January 02, 2007 1:23 PM > > To: Harald van Pee > > Cc: lustre-discuss@clusterfs.com > > Subject: Re: [Lustre-discuss] mkfs.lustre ldiskfs module missing > > > > You have to patch the kernel with the entire series of Lustre patches, > > in lustre/kernel_patches. We don''t support 2.6.18 yet, but you can find > > fixes in a previous thread on this list. > > (If configure finds a kernel that does not have the lustre patches, it > > tries to build the patchless client configuration.) > > > > Harald van Pee wrote: > >> I think I found the problem, configure gives to error messages: > >> > >> ./configure: line 4454: LC_CONFIG_GSS: command not found and later > >> configure: WARNING: Patchless build detected, disabling server > >> building > >> > >> I think the last one can be the reason of the problem, but I have no > >> idea why this happens? > >> I''m not very familar with configure scripts. > >> > >> On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote: > >>> There is a "--enable-ldiskfs" option, but it''s always on afaik. > >>> ./configure should show: > >>> checking whether to enable ldiskfs > >>> > >>> Harald van Pee wrote: > >>>> On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: > >>>>> When you built the rest of the lustre modules (e.g. obdclass, > >>>>> lnet), the ldiskfs module should also have been built. > >>>>> Check the results of the compile. > >>>> > >>>> o.k. this means this module realy should exists, lnet and others I > >>>> found, but ldiskfs is only a directory. > >>>> I will check if there are any hints in the log files or on stdout. > >>>> > >>>> Is there a configure option which enable or disable ldiskfs? > >>>> > >>>>> Harald van Pee wrote: > >>>>>> I now have compiled e2fsprogs-1.39.cfs2 by myself, and I have > >>>>>> found that there where 2 patch series > >>>>>> ldiskfs-2.6.18-vanilla.series and 2.6.18-vanilla.series I have > >>>>>> applied both. > >>>>>>1.5.95 > >>>>>> But the problem still exists. > >>>>>> Still there is no ldiskfs module, > >>>>>> if I modprobe lustre, dmesg shows: > >>>>>> > >>>>>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) > >>>>>> maximum lustre stack 8192 > >>>>>> kernel: Lustre: OBD class driver, info@clusterfs.com > >>>>>> kernel: Lustre Version: 1.5.95 > >>>>>> kernel: Build Version: > >>>>>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 > >>>>>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] > >>>>>> kernel: Lustre: Accept secure, port 988 > >>>>>> kernel: Lustre: Lustre Client File System; info@clusterfs.com > >>>>>> > >>>>>> What is missing or what I have done wrong? > >>>>>> > >>>>>> Harald > >>>>>> > >>>>>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: > >>>>>>> Hi all and > >>>>>>> Happy New Year! > >>>>>>> > >>>>>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 on > >>>>>>> debian sarge. > >>>>>>> I have installed the following patches (see mail from Alastair > >>>>>>> McKinstry Mon Oct 23 07:20:06 MDT 2006 here) tasklist_lock.bin > >>>>>>> aliasing_workaround.bin statfs.bin 2.6.18-kern-mount.dpatch > >>>>>>> 2.6.18_nrpagecache.dpatch > >>>>>>> > >>>>>>> and installed the binary package of e2fsprogs-1.39.cfs2 > >>>>>>> > >>>>>>> The kernel is running and I can load the lustre module with > >>>>>>> modprobe lustre. > >>>>>>> > >>>>>>> But if I make > >>>>>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 I got the > >>>>>>> following error: > >>>>>>> mkfs.lustre: Unable to mount /dev/sda2: No such device Is the > >>>>>>> ldiskfs module available? > >>>>>>> > >>>>>>> Indeed ldiskfs does not exists, and the lustre modules are not > >>>>>>> loaded by mkfs. > >>>>>>> > >>>>>>> Now I don''t know where I have to look for the problem. Must the > >>>>>>> ldiskfs module realy exist? > >>>>>>> Or is there a problem with e2fsprogs-1.39.cfs2? > >>>>>>> I have tried to compile this package by myself, but not managed > >>>>>>> it up to now. > >>>>>>> > >>>>>>> Thanks for your help > >>>>>>> Harald
o.k. done! quilt does not work for me (I have realy no experiences with quilt, therefore its probably my fault). I get allways the message that all patches were applied, but indeed no patch was applied! - I applied now all patches with patch - then I configure with disable quilt - make -i - found to additional errors for which a workaround can be found on this list (just google) - make install - modprobe ldiskfs - modprobe lustre the rest works as described on: https://mail.clusterfs.com/wikis/lustre/MountConf o.k. hard work but as I understood 2.6.18 was not supported yet. But now the first step is done and I roughly have 2 months before I realy need a production system. Question to the experts: -do you expect the 1.6.0 will be ready within two months? -will 2.6.18 be supported in 1.6.0? Many thanks for all the help the contributions on this list are very helpfull Harald On Wednesday 03 January 2007 12:11 am, Harald van Pee wrote:> I found out that not all required patches for ldiskfs are applied. > I will try to do this tomorrow more carefully. > > I understand that 1.5.95 is not ready for 2.6.18 without the additional > patches provided from this list. > But it would realy be nice if 2.6.18 will be fully supported in the near > future. > > Now I hope that I can do the final step to get lustre 1.5.95 running. > Thanks > Harald > > On Tuesday 02 January 2007 11:52 pm, Nathaniel Rutman wrote: > > It''s under development. If I remember correctly, in 1.5.95 it wasn''t > > fully working. > > There were previous posts from the community with patches for fixing it > > up. Our "officially supported" and tested kernels are listed in > > kernel_patches/which_patch. > > > > Snider, Tim wrote: > > > I''m confused by the statement: "We don''t support 2.6.18 yet". > > > Do you mean all distos of 2.6.18 or only specific ones? > > > The 1.5.95 tarball has series files and patches for 2.6.18. > > > > > > [root@ADBuildServ series]# pwd > > > /lustre-1.5.95/lustre/kernel_patches/series > > > [root@ADBuildServ series]# ls *2.6.18* > > > 2.6.18-vanilla.series ldiskfs-2.6.18-vanilla.series > > > Tim > > > -----Original Message----- > > > From: lustre-discuss-bounces@clusterfs.com > > > [mailto:lustre-discuss-bounces@clusterfs.com] On Behalf Of Nathaniel > > > Rutman > > > Sent: Tuesday, January 02, 2007 1:23 PM > > > To: Harald van Pee > > > Cc: lustre-discuss@clusterfs.com > > > Subject: Re: [Lustre-discuss] mkfs.lustre ldiskfs module missing > > > > > > You have to patch the kernel with the entire series of Lustre patches, > > > in lustre/kernel_patches. We don''t support 2.6.18 yet, but you can > > > find fixes in a previous thread on this list. > > > (If configure finds a kernel that does not have the lustre patches, it > > > tries to build the patchless client configuration.) > > > > > > Harald van Pee wrote: > > >> I think I found the problem, configure gives to error messages: > > >> > > >> ./configure: line 4454: LC_CONFIG_GSS: command not found and later > > >> configure: WARNING: Patchless build detected, disabling server > > >> building > > >> > > >> I think the last one can be the reason of the problem, but I have no > > >> idea why this happens? > > >> I''m not very familar with configure scripts. > > >> > > >> On Tuesday 02 January 2007 07:12 pm, Nathaniel Rutman wrote: > > >>> There is a "--enable-ldiskfs" option, but it''s always on afaik. > > >>> ./configure should show: > > >>> checking whether to enable ldiskfs > > >>> > > >>> Harald van Pee wrote: > > >>>> On Tuesday 02 January 2007 06:27 pm, Nathaniel Rutman wrote: > > >>>>> When you built the rest of the lustre modules (e.g. obdclass, > > >>>>> lnet), the ldiskfs module should also have been built. > > >>>>> Check the results of the compile. > > >>>> > > >>>> o.k. this means this module realy should exists, lnet and others I > > >>>> found, but ldiskfs is only a directory. > > >>>> I will check if there are any hints in the log files or on stdout. > > >>>> > > >>>> Is there a configure option which enable or disable ldiskfs? > > >>>> > > >>>>> Harald van Pee wrote: > > >>>>>> I now have compiled e2fsprogs-1.39.cfs2 by myself, and I have > > >>>>>> found that there where 2 patch series > > >>>>>> ldiskfs-2.6.18-vanilla.series and 2.6.18-vanilla.series I have > > >>>>>> applied both. > > >>>>>>1.5.95 > > >>>>>> But the problem still exists. > > >>>>>> Still there is no ldiskfs module, > > >>>>>> if I modprobe lustre, dmesg shows: > > >>>>>> > > >>>>>> kernel: Lustre: 17675:0:(module.c:382:init_libcfs_module()) > > >>>>>> maximum lustre stack 8192 > > >>>>>> kernel: Lustre: OBD class driver, info@clusterfs.com > > >>>>>> kernel: Lustre Version: 1.5.95 > > >>>>>> kernel: Build Version: > > >>>>>> 1.5.95-19700101010000-PRISTINE-.usr.src.linux-2.6.18.6 > > >>>>>> kernel: Lustre: Added LNI 131.220.219.174@tcp [8/256] > > >>>>>> kernel: Lustre: Accept secure, port 988 > > >>>>>> kernel: Lustre: Lustre Client File System; info@clusterfs.com > > >>>>>> > > >>>>>> What is missing or what I have done wrong? > > >>>>>> > > >>>>>> Harald > > >>>>>> > > >>>>>> On Monday 01 January 2007 09:07 pm, Harald van Pee wrote: > > >>>>>>> Hi all and > > >>>>>>> Happy New Year! > > >>>>>>> > > >>>>>>> I try to install lustre 1.5.95 with vanilla kernel 2.6.18.6 on > > >>>>>>> debian sarge. > > >>>>>>> I have installed the following patches (see mail from Alastair > > >>>>>>> McKinstry Mon Oct 23 07:20:06 MDT 2006 here) tasklist_lock.bin > > >>>>>>> aliasing_workaround.bin statfs.bin 2.6.18-kern-mount.dpatch > > >>>>>>> 2.6.18_nrpagecache.dpatch > > >>>>>>> > > >>>>>>> and installed the binary package of e2fsprogs-1.39.cfs2 > > >>>>>>> > > >>>>>>> The kernel is running and I can load the lustre module with > > >>>>>>> modprobe lustre. > > >>>>>>> > > >>>>>>> But if I make > > >>>>>>> mkfs.lustre --fsname=testfs --mdt --mgs /dev/sda2 I got the > > >>>>>>> following error: > > >>>>>>> mkfs.lustre: Unable to mount /dev/sda2: No such device Is the > > >>>>>>> ldiskfs module available? > > >>>>>>> > > >>>>>>> Indeed ldiskfs does not exists, and the lustre modules are not > > >>>>>>> loaded by mkfs. > > >>>>>>> > > >>>>>>> Now I don''t know where I have to look for the problem. Must the > > >>>>>>> ldiskfs module realy exist? > > >>>>>>> Or is there a problem with e2fsprogs-1.39.cfs2? > > >>>>>>> I have tried to compile this package by myself, but not managed > > >>>>>>> it up to now. > > >>>>>>> > > >>>>>>> Thanks for your help > > >>>>>>> Harald