Hi, Bernd,

I did all the instructions as http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/lustre/1.6/Readme.install described. Everything is fine, but when I created lustre FS on MDS, I got the error messages:

mkfs.lustre --fsname=spfs --mdt --mgs /dev/hdb

  Permanent disk data:
Target:     spfs-MDTffff
Index:      unassigned
Lustre FS:  spfs
Mount type: ldiskfs
Flags:      0x75
             (MDT MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters:

checking for existing Lustre data: not found
device size = 10240MB
formatting backing filesystem ldiskfs on /dev/hdb
       target name  spfs-MDTffff
       4k blocks     0
       options        -J size=400 -i 4096 -I 512 -q -O dir_index -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L spfs-MDTffff -J size=400 -i 4096 -I 512 -q -O dir_index -F /dev/hdb
mkfs.lustre: Unable to mount /dev/hdb: No such device
Is the ldiskfs module available?

mkfs.lustre FATAL: failed to write local files
mkfs.lustre: exiting with 19 (No such device)
-------------------------------------------------

I am using a linux-source-2.6.20 which is patched by ubuntu, not from www.kernel.org. Of course, I made some modifications on the lustre-patched files(vfs_intend-2.6.20 & vfs_nointend-2.6.20) you released.

When I using modprobe to check the ldiskfs module, it says "FATAL : Module ldiskfs not found." How should install the ldiskfs module?
Any responses will be appreciated.

Chris


----- Original Message ----- From: "Bernd Schubert" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 10, 2007 3:39 AM
Subject: Re: [Lustre-discuss] Re: Re: Lustre 1.6.0.1 in Ubuntu Fiesty


Hi Joel,

On Monday 09 July 2007 19:14:40 Joel Robison wrote:
Bernd,

I have downloaded the file you suggested for 2.6.20+ and I am at a
stand still with the following issues:

1. After patching the 2.6.20 vanilla kernel and configuring lustre: ./
configure --disable-liblustre --disable-tests and then running I make
I recieve:
make[3]: Entering directory `/usr/src/linux-2.6.20'
   CC [M]  /root/lustre-1.6.0.1-rc1-ql6/lnet/libcfs/linux/linux-proc.o
/root/lustre-1.6.0.1-rc1-ql6/lnet/libcfs/linux/linux-proc.c:168:
error: static declaration of ‘top_table’ follows non-static
declaration
/root/lustre-1.6.0.1-rc1-ql6/lnet/libcfs/linux/linux-proc.c:65:
error: previous declaration of ‘top_table’ was here

interesting with gcc-3.4 this works, whats your compiler version? I was from the very beginning a bit sceptical if its legal first to declare a variable as extern and then again static. Anyway you can safely remove the entire line 65, it was only required for a previous version of the 2.6.21-sysctl.patch.
Its good your compiler complained about it, so I can remove this useless
forgotten line :)

I tried patching against 2.6.22 but I received some errors in the
quilt push -av process which I will post later. Additionally the
configure process complains about not having a definition for 2.6.22
in "lustre/autoconf/lustre-core.m4"

Well, 2.6.22 was only released today and I only did run a very very basic test if it works at all. If you want to try it, you will need mercurial and need to run "hg qpush -af" before running configure. The 2.6.22 patches so far do not have any version tests, so applying them and using a kernel <2.6.22 won't
work, thus I didn't apply them to -rc1.
The configure script also still doesn't know about 2.6.22, so you need to
compile with "make LDISKFS_SERIES=2.6.21-vanilla.series ...".

Cheers,
Bernd

--
Bernd Schubert
Q-Leap Networks GmbH

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss


__________ NOD32 2387 (20070710) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to