Geoffrey Chisnall wrote:> > i have a local.sh which inside is this... > <snip> > #!/bin/sh > > # local.sh > > # Create node > rm -f local.xml > lmc -m local.xml --add node --node localhost > lmc -m local.xml --add net --node localhost --nid localhost --nettype tcp > > # Configure MDS > lmc -m local.xml --format --add mds --node localhost --mds mds-test > --fstype ldiskfs --dev /tmp/mds-test --size 50000 > > # Configure OSTs > lmc -m local.xml --add lov --lov lov-test --mds mds-test --stripe_sz > 1048576 --stripe_cnt 0 --stripe_pattern 0 > lmc -m local.xml --add ost --node localhost --lov lov-test --ost > ost1-test --fstype ldiskfs --dev /tmp/ost1 --size 100000 > lmc -m local.xml --add ost --node localhost --lov lov-test --ost > ost2-test --fstype ldiskfs --dev /tmp/ost2-test --size 100000 > > # Configure client > lmc -m local.xml --add mtpt --node localhost --path /mnt/lustre --mds > mds-test --lov lov-test > </snip> > > it makes a /mnt/lustre with only 190MB ( from where does it get that? ) > > > on the machine i have setup a seperate partition /dev/hda4 just for > lustre...now i want to mount lustre on that partition. > so i have tried changing the ( --dev /tmp/ost1 to --dev /dev/hda4 ) but > to no avail. > > even with the current setup ( local.sh ) i tried mounting the lustre > mount with this command > [root@test13 lustre]# mount -t lustre localhost:/mds-test/client /mnt/test > localhost:/mds-test/client: mount(/mnt/test, mount.lustre) failed: > Input/output error > > im not sure what im doing wrong...> > thanks! >First, you need either two machines with one partition, or one machine with two partitions. One partition for the MDS, one (or more) for the OST. Then you need another node to be the client, which will mount the filesystem. The client is _not named ''client'' we use a generic label, which means you can use N number of clients without altering the config. When you use real disks, do not use the --size parameter, we want the whole partition. So: nodeA (mds) /dev/sda1 - supplies fs metadata nodeB (ost) /dev/sda3 - supplies fs data nodeC (client) - mounts the filesystem Then, lmc -m local.xml --add node --node nodeA lmc -m local.xml --add node --node nodeB lmc -m local.xml --add node --node client lmc -m local.xml --add net --node nodeA --nid nodeA --nettype tcp lmc -m local.xml --add net --node nodeB --nid nodeB --nettype tcp # generic client lmc -m local.xml --add net --node client --nid ''*'' --nettype tcp # Configure MDS lmc -m local.xml --format --add mds --node nodeA --mds mdsA \ --fstype ldiskfs --dev /dev/sda1 # Configure LOV lmc -m local.xml --add lov --lov lov-test --mds mdsA \ --stripe_sz 1048576 --stripe_cnt 0 --stripe_pattern 0 # Configure OST lmc -m local.xml --add ost --node nodeB --lov lov-test \ --ost ost1-test --fstype ldiskfs --dev /dev/sda3 # Configure mountpoint lmc -m local.xml --add mtpt --node client --path /mnt/lustre \ --mds mdsA --lov lov-test To start Luster (first time only) on the OST: lconf --reformat local.xml Normal start: lconf local.xml First time start of MDS: lconf --reformat local.xml Normal MDS startup lconf local.xml After both the MDS and OST are started, you mount the filesystem on the client node thusly (remember, the client node is not named ''client''): mount -t lustre nodeA:/mdsA/client /mnt/lustre hope this helps cliffw [snip]
Hi Geoffrey-- On Jan 18, 2006, at 7:50, Geoffrey Chisnall wrote:> > on the machine i have setup a seperate partition /dev/hda4 just for > lustre...now i want to mount lustre on that partition. > so i have tried changing the ( --dev /tmp/ost1 to --dev /dev/hda4 ) > but to no avail. > > even with the current setup ( local.sh ) i tried mounting the > lustre mount with this command > [root@test13 lustre]# mount -t lustre localhost:/mds-test/client / > mnt/test > localhost:/mds-test/client: mount(/mnt/test, mount.lustre) failed: > Input/output error > > im not sure what im doing wrong...The most important thing to realize is that Lustre does not just export a copy of an existing file system, like a Linux NFS server. Lustre distributes responsibility for a file system amongst many servers -- a metadata server, plus one or more object storage servers -- which on a small cluster could run on the same node. So as Cliff mentioned, you''re formatting at least two partitions -- metadata and object storage -- and when you mount, you tell it how to contact the metadata server and which file system to ask for. It figures out the rest. Hope that helps, -Phil
Geoffrey Chisnall wrote:> hi there > > i am trying to install lustre on my box but having difficulties > installing it.First, why do you need to compile? We supply RPMs for most configurations. Second, if you really need to complie, you should use our kernel-source RPM, there are a few patches that must be applied. I see you are using a different kernel tree, which explains the patch failure. If you can''t use our kernel-source tree, our patches will require tweakage. cliffw> i have downloaded all the rpms it asked me to and i have installed them. > i am trying to compile the lustre source now. > > ./configure does fine...but when i try a make i get this error > > [root@test14 lustre-1.4.5.1]# make > make all-recursive > make[1]: Entering directory `/opt/apps/lustre-1.4.5.1'' > Making all in . > make[2]: Entering directory `/opt/apps/lustre-1.4.5.1'' > make sources -C portals > make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/portals'' > make sources -C libcfs > make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' > make[4]: Nothing to be done for `sources''. > make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' > make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals'' > make sources -C lustre > make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre'' > make sources -C ldiskfs > make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' > rm -rf linux-stage linux sources > mkdir -p linux-stage/fs/ext3 linux-stage/include/linux > cp /usr/src/linux/fs/ext3/acl.c /usr/src/linux/fs/ext3/balloc.c > /usr/src/linux/fs/ext3/bitmap.c /usr/src/linux/fs/ext3/dir.c > /usr/src/linux/fs/ext3/file.c /usr/src/linux/fs/ext3/fsync.c > /usr/src/linux/fs/ext3/hash.c /usr/src/linux/fs/ext3/ialloc.c > /usr/src/linux/fs/ext3/inode.c /usr/src/linux/fs/ext3/ioctl.c > /usr/src/linux/fs/ext3/namei.c /usr/src/linux/fs/ext3/resize.c > /usr/src/linux/fs/ext3/super.c /usr/src/linux/fs/ext3/symlink.c > /usr/src/linux/fs/ext3/xattr.c /usr/src/linux/fs/ext3/xattr_security.c > /usr/src/linux/fs/ext3/xattr_trusted.c > /usr/src/linux/fs/ext3/xattr_user.c /usr/src/linux/fs/ext3/acl.h > /usr/src/linux/fs/ext3/xattr.h /usr/src/linux/fs/ext3/Makefile > linux-stage/fs/ext3 > cp /usr/src/linux/include/linux/ext3_fs.h > /usr/src/linux/include/linux/ext3_fs_i.h > /usr/src/linux/include/linux/ext3_fs_sb.h > /usr/src/linux/include/linux/ext3_jbd.h linux-stage/include/linux > Applying ext3 patches: ext3-wantedi-2.6-rhel4.patch > ext3-san-jdike-2.6-suse.patch iopen-2.6-rhel4.patch > export_symbols-ext3-2.6-suse.patch ext3-map_inode_page-2.6-suse.patch > ext3-ea-in-inode-2.6-rhel4.patch export-ext3-2.6-rhel4.patch > ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.9-rhel4.patch > ext3-mballoc2-2.6.9-rhel4.patch ext3-nlinks-2.6.9.patch1 out of 11 hunks > FAILED -- saving rejects to file fs/ext3/namei.c.rej > make[4]: *** [sources] Error 1 > make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' > make[3]: *** [ldiskfs-sources] Error 2 > make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre'' > make[2]: *** [all-sources] Error 2 > make[2]: Leaving directory `/opt/apps/lustre-1.4.5.1'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/apps/lustre-1.4.5.1'' > make: *** [all] Error 2 > [root@test14 lustre-1.4.5.1]# > > > i am running centos 4.1 with a base install. > i ran ./configure --with-linux=/usr/src/linux/ > --with-kernel-source-header=/usr/src/linux-2.6.9-11.EL/include/linux/kernel.h > > and gives an error at make > > > any help would be appreciated. > > > regards > Geoffrey > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@lists.clusterfs.com > https://lists.clusterfs.com/mailman/listinfo/lustre-discuss
From: Geoffrey Chisnall <geoffreyc@compuscan.co.za> Date: Mon, 16 Jan 2006 09:19:24 +0200 hi there i am trying to install lustre on my box but having difficulties installing it. My not-very-experienced eyes suggest to me that you''re attempting to install against the wrong kernel. For starters, I think you''ll have better luck to either use a stock RHEL-22.EL or the prepatched-for-lustre kernel from the clusterfs download site. I''ve also just been hacking my way through the compile-and-install- it-from-scratch process, as the use I have in mind for it would be unsuitable for precompiled rpms and such. I can''t say I''ve figured it all out yet, but I have successfully patched a body of kernel source, compiled the kernel and the lustre code base, and ended up with a system that seems to run. If you''re (or anyone else is) interested in hearing about the patches and procedure I end up settling on, I''ll be happy to post them here. i have downloaded all the rpms it asked me to and i have installed them. i am trying to compile the lustre source now. ./configure does fine...but when i try a make i get this error [root@test14 lustre-1.4.5.1]# make make all-recursive make[1]: Entering directory `/opt/apps/lustre-1.4.5.1'' Making all in . make[2]: Entering directory `/opt/apps/lustre-1.4.5.1'' make sources -C portals make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/portals'' make sources -C libcfs make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' make[4]: Nothing to be done for `sources''. make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals'' make sources -C lustre make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre'' make sources -C ldiskfs make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' rm -rf linux-stage linux sources mkdir -p linux-stage/fs/ext3 linux-stage/include/linux cp /usr/src/linux/fs/ext3/acl.c /usr/src/linux/fs/ext3/balloc.c /usr/src/linux/fs/ext3/bitmap.c /usr/src/linux/fs/ext3/dir.c /usr/src/linux/fs/ext3/file.c /usr/src/linux/fs/ext3/fsync.c /usr/src/linux/fs/ext3/hash.c /usr/src/linux/fs/ext3/ialloc.c /usr/src/linux/fs/ext3/inode.c /usr/src/linux/fs/ext3/ioctl.c /usr/src/linux/fs/ext3/namei.c /usr/src/linux/fs/ext3/resize.c /usr/src/linux/fs/ext3/super.c /usr/src/linux/fs/ext3/symlink.c /usr/src/linux/fs/ext3/xattr.c /usr/src/linux/fs/ext3/xattr_security.c /usr/src/linux/fs/ext3/xattr_trusted.c /usr/src/linux/fs/ext3/xattr_user.c /usr/src/linux/fs/ext3/acl.h /usr/src/linux/fs/ext3/xattr.h /usr/src/linux/fs/ext3/Makefile linux-stage/fs/ext3 cp /usr/src/linux/include/linux/ext3_fs.h /usr/src/linux/include/linux/ext3_fs_i.h /usr/src/linux/include/linux/ext3_fs_sb.h /usr/src/linux/include/linux/ext3_jbd.h linux-stage/include/linux Applying ext3 patches: ext3-wantedi-2.6-rhel4.patch ext3-san-jdike-2.6-suse.patch iopen-2.6-rhel4.patch export_symbols-ext3-2.6-suse.patch ext3-map_inode_page-2.6-suse.patch ext3-ea-in-inode-2.6-rhel4.patch export-ext3-2.6-rhel4.patch ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.9-rhel4.patch ext3-mballoc2-2.6.9-rhel4.patch ext3-nlinks-2.6.9.patch1 out of 11 hunks FAILED -- saving rejects to file fs/ext3/namei.c.rej make[4]: *** [sources] Error 1 make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' make[3]: *** [ldiskfs-sources] Error 2 make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre'' make[2]: *** [all-sources] Error 2 make[2]: Leaving directory `/opt/apps/lustre-1.4.5.1'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/apps/lustre-1.4.5.1'' make: *** [all] Error 2 [root@test14 lustre-1.4.5.1]# i am running centos 4.1 with a base install. i ran ./configure --with-linux=/usr/src/linux/ --with-kernel-source-header=/usr/src/linux-2.6.9-11.EL/include/linux/kernel.h and gives an error at make any help would be appreciated. regards Geoffrey _______________________________________________ Lustre-discuss mailing list Lustre-discuss@lists.clusterfs.com https://lists.clusterfs.com/mailman/listinfo/lustre-discuss
so it seemed i didn''t install all the rpms :-) *hide* i installed the rpms and found it to install no hassels...rebooted the machine and walla [root@test13 apps]# uname -a Linux test13.techtonic.co.za 2.6.9-22.EL_lustre.1.4.5.1smp #1 SMP Fri Dec 16 00:22:05 EST 2005 i686 i686 i386 GNU/Linux plus [root@test13 apps]# dmesg | grep lustre inserting floppy driver for 2.6.9-22.EL_lustre.1.4.5.1smp Lustre: 2413:0:(module.c:530:init_libcfs_module()) maximum lustre stack 8192 Lustre: OBD class driver Build Version: 1.4.5.1-19691231190000-PRISTINE-.tmp.lbuild.lbuild-v1_4_5_1-2.6-rhel4-i686.lbuild.BUILD.lustre-kernel-2.6.9.lustre.linux-2.6.9-22.EL_lustre.1.4.5.1smp, info@clusterfs.com now to actually sit and configure it. to me atm, it looks like greek. i can run the example configs and they run fine. local 190M 8.5M 171M 5% /mnt/lustre local on /mnt/lustre type lustre_lite (rw,osc=lov-test,mdc=MDC_test14.techtonic.co.za_mds-test_MNT_localhost) now to sit down and configure it for my setup. i have the lustre server and a client. i dont understand the various "nodes" "OST" "MDS" etc. all i basically want to do is have 4 machines mount the lustre mount point, but im not too sure how to write that in the configuration. atm when i do try and mount it...it says [root@test14 ~]# mount -t lustre test14:/mnt/lustre /media/ test14:/mnt/lustre: mount(/media/, mount.lustre) failed: Input/output error also another thing is...i tried to mount the acutally file system, say /dev/hda3 in the config but to no avail. not too sure what it tries to mount acutally. "local 190M 8.5M 171M 5% /mnt/lustre" sorry for these n00b questions :-) John R. Dunning wrote:> From: Geoffrey Chisnall <geoffreyc@compuscan.co.za> > Date: Mon, 16 Jan 2006 09:19:24 +0200 > > hi there > > i am trying to install lustre on my box but having difficulties > installing it. > >My not-very-experienced eyes suggest to me that you''re attempting to >install against the wrong kernel. For starters, I think you''ll have >better luck to either use a stock RHEL-22.EL or the >prepatched-for-lustre kernel from the clusterfs download site. > >I''ve also just been hacking my way through the compile-and-install- >it-from-scratch process, as the use I have in mind for it would be >unsuitable for precompiled rpms and such. I can''t say I''ve figured it >all out yet, but I have successfully patched a body of kernel source, >compiled the kernel and the lustre code base, and ended up with a >system that seems to run. If you''re (or anyone else is) interested in >hearing about the patches and procedure I end up settling on, I''ll be >happy to post them here. > > i have downloaded all the rpms it asked me to and i have installed them. > i am trying to compile the lustre source now. > > ./configure does fine...but when i try a make i get this error > > [root@test14 lustre-1.4.5.1]# make > make all-recursive > make[1]: Entering directory `/opt/apps/lustre-1.4.5.1'' > Making all in . > make[2]: Entering directory `/opt/apps/lustre-1.4.5.1'' > make sources -C portals > make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/portals'' > make sources -C libcfs > make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' > make[4]: Nothing to be done for `sources''. > make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' > make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals'' > make sources -C lustre > make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre'' > make sources -C ldiskfs > make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' > rm -rf linux-stage linux sources > mkdir -p linux-stage/fs/ext3 linux-stage/include/linux > cp /usr/src/linux/fs/ext3/acl.c /usr/src/linux/fs/ext3/balloc.c > /usr/src/linux/fs/ext3/bitmap.c /usr/src/linux/fs/ext3/dir.c > /usr/src/linux/fs/ext3/file.c /usr/src/linux/fs/ext3/fsync.c > /usr/src/linux/fs/ext3/hash.c /usr/src/linux/fs/ext3/ialloc.c > /usr/src/linux/fs/ext3/inode.c /usr/src/linux/fs/ext3/ioctl.c > /usr/src/linux/fs/ext3/namei.c /usr/src/linux/fs/ext3/resize.c > /usr/src/linux/fs/ext3/super.c /usr/src/linux/fs/ext3/symlink.c > /usr/src/linux/fs/ext3/xattr.c /usr/src/linux/fs/ext3/xattr_security.c > /usr/src/linux/fs/ext3/xattr_trusted.c > /usr/src/linux/fs/ext3/xattr_user.c /usr/src/linux/fs/ext3/acl.h > /usr/src/linux/fs/ext3/xattr.h /usr/src/linux/fs/ext3/Makefile > linux-stage/fs/ext3 > cp /usr/src/linux/include/linux/ext3_fs.h > /usr/src/linux/include/linux/ext3_fs_i.h > /usr/src/linux/include/linux/ext3_fs_sb.h > /usr/src/linux/include/linux/ext3_jbd.h linux-stage/include/linux > Applying ext3 patches: ext3-wantedi-2.6-rhel4.patch > ext3-san-jdike-2.6-suse.patch iopen-2.6-rhel4.patch > export_symbols-ext3-2.6-suse.patch ext3-map_inode_page-2.6-suse.patch > ext3-ea-in-inode-2.6-rhel4.patch export-ext3-2.6-rhel4.patch > ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.9-rhel4.patch > ext3-mballoc2-2.6.9-rhel4.patch ext3-nlinks-2.6.9.patch1 out of 11 hunks > FAILED -- saving rejects to file fs/ext3/namei.c.rej > make[4]: *** [sources] Error 1 > make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' > make[3]: *** [ldiskfs-sources] Error 2 > make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre'' > make[2]: *** [all-sources] Error 2 > make[2]: Leaving directory `/opt/apps/lustre-1.4.5.1'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/apps/lustre-1.4.5.1'' > make: *** [all] Error 2 > [root@test14 lustre-1.4.5.1]# > > > i am running centos 4.1 with a base install. > i ran ./configure --with-linux=/usr/src/linux/ > --with-kernel-source-header=/usr/src/linux-2.6.9-11.EL/include/linux/kernel.h > > and gives an error at make > > > any help would be appreciated. > > > regards > Geoffrey > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@lists.clusterfs.com > https://lists.clusterfs.com/mailman/listinfo/lustre-discuss > >_______________________________________________ >Lustre-discuss mailing list >Lustre-discuss@lists.clusterfs.com >https://lists.clusterfs.com/mailman/listinfo/lustre-discuss > > > >
Geoffrey Chisnall wrote:> > so it seemed i didn''t install all the rpms :-) *hide* > > i installed the rpms and found it to install no hassels...rebooted the > machine and walla > [root@test13 apps]# uname -a > Linux test13.techtonic.co.za 2.6.9-22.EL_lustre.1.4.5.1smp #1 SMP Fri > Dec 16 00:22:05 EST 2005 i686 i686 i386 GNU/Linux > > plus > > [root@test13 apps]# dmesg | grep lustre > inserting floppy driver for 2.6.9-22.EL_lustre.1.4.5.1smp > Lustre: 2413:0:(module.c:530:init_libcfs_module()) maximum lustre stack > 8192 > Lustre: OBD class driver Build Version: > 1.4.5.1-19691231190000-PRISTINE-.tmp.lbuild.lbuild-v1_4_5_1-2.6-rhel4-i686.lbuild.BUILD.lustre-kernel-2.6.9.lustre.linux-2.6.9-22.EL_lustre.1.4.5.1smp, > info@clusterfs.com > > now to actually sit and configure it. > > to me atm, it looks like greek. > > i can run the example configs and they run fine. > > local 190M 8.5M 171M 5% /mnt/lustre > local on /mnt/lustre type lustre_lite > (rw,osc=lov-test,mdc=MDC_test14.techtonic.co.za_mds-test_MNT_localhost) > > now to sit down and configure it for my setup. > > i have the lustre server and a client. > i dont understand the various "nodes" "OST" "MDS" etc. all i basically > want to do is have 4 machines mount the lustre mount point, but im not > too sure how to write that in the configuration.look for local.sh and llmount.sh - those will help. You specify a single generic client in the config, then everybody can mount /mnt/lustre. The OST holds the filedata. The OST machine(s) should have the physical storage attached. The MDS does metadata, it also needs a disk partition.> > atm when i do try and mount it...it says > [root@test14 ~]# mount -t lustre test14:/mnt/lustre /media/ > test14:/mnt/lustre: mount(/media/, mount.lustre) failed: Input/output errorThe syntax should be: mount -t lustre <MDS hostname>:/<MDS name>/client <path to local mountpoint> hope this helps cliffw> > also another thing is...i tried to mount the acutally file system, say > /dev/hda3 in the config but to no avail. > not too sure what it tries to mount acutally. > "local 190M 8.5M 171M 5% /mnt/lustre"> > > sorry for these n00b questions :-) > > > > > > > John R. Dunning wrote: > >> From: Geoffrey Chisnall <geoffreyc@compuscan.co.za> >> Date: Mon, 16 Jan 2006 09:19:24 +0200 >> hi there >> i am trying to install lustre on my box but having difficulties >> installing it. >> >> My not-very-experienced eyes suggest to me that you''re attempting to >> install against the wrong kernel. For starters, I think you''ll have >> better luck to either use a stock RHEL-22.EL or the >> prepatched-for-lustre kernel from the clusterfs download site. >> >> I''ve also just been hacking my way through the compile-and-install- >> it-from-scratch process, as the use I have in mind for it would be >> unsuitable for precompiled rpms and such. I can''t say I''ve figured it >> all out yet, but I have successfully patched a body of kernel source, >> compiled the kernel and the lustre code base, and ended up with a >> system that seems to run. If you''re (or anyone else is) interested in >> hearing about the patches and procedure I end up settling on, I''ll be >> happy to post them here. >> i have downloaded all the rpms it asked me to and i have >> installed them. >> i am trying to compile the lustre source now. >> ./configure does fine...but when i try a make i get this error >> [root@test14 lustre-1.4.5.1]# make >> make all-recursive >> make[1]: Entering directory `/opt/apps/lustre-1.4.5.1'' >> Making all in . >> make[2]: Entering directory `/opt/apps/lustre-1.4.5.1'' >> make sources -C portals >> make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/portals'' >> make sources -C libcfs >> make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' >> make[4]: Nothing to be done for `sources''. >> make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' >> make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals'' >> make sources -C lustre >> make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre'' >> make sources -C ldiskfs >> make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' >> rm -rf linux-stage linux sources >> mkdir -p linux-stage/fs/ext3 linux-stage/include/linux >> cp /usr/src/linux/fs/ext3/acl.c /usr/src/linux/fs/ext3/balloc.c >> /usr/src/linux/fs/ext3/bitmap.c /usr/src/linux/fs/ext3/dir.c >> /usr/src/linux/fs/ext3/file.c /usr/src/linux/fs/ext3/fsync.c >> /usr/src/linux/fs/ext3/hash.c /usr/src/linux/fs/ext3/ialloc.c >> /usr/src/linux/fs/ext3/inode.c /usr/src/linux/fs/ext3/ioctl.c >> /usr/src/linux/fs/ext3/namei.c /usr/src/linux/fs/ext3/resize.c >> /usr/src/linux/fs/ext3/super.c /usr/src/linux/fs/ext3/symlink.c >> /usr/src/linux/fs/ext3/xattr.c /usr/src/linux/fs/ext3/xattr_security.c >> /usr/src/linux/fs/ext3/xattr_trusted.c >> /usr/src/linux/fs/ext3/xattr_user.c /usr/src/linux/fs/ext3/acl.h >> /usr/src/linux/fs/ext3/xattr.h /usr/src/linux/fs/ext3/Makefile >> linux-stage/fs/ext3 >> cp /usr/src/linux/include/linux/ext3_fs.h >> /usr/src/linux/include/linux/ext3_fs_i.h >> /usr/src/linux/include/linux/ext3_fs_sb.h >> /usr/src/linux/include/linux/ext3_jbd.h linux-stage/include/linux >> Applying ext3 patches: ext3-wantedi-2.6-rhel4.patch >> ext3-san-jdike-2.6-suse.patch iopen-2.6-rhel4.patch >> export_symbols-ext3-2.6-suse.patch ext3-map_inode_page-2.6-suse.patch >> ext3-ea-in-inode-2.6-rhel4.patch export-ext3-2.6-rhel4.patch >> ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.9-rhel4.patch >> ext3-mballoc2-2.6.9-rhel4.patch ext3-nlinks-2.6.9.patch1 out of 11 >> hunks FAILED -- saving rejects to file fs/ext3/namei.c.rej >> make[4]: *** [sources] Error 1 >> make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' >> make[3]: *** [ldiskfs-sources] Error 2 >> make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre'' >> make[2]: *** [all-sources] Error 2 >> make[2]: Leaving directory `/opt/apps/lustre-1.4.5.1'' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/opt/apps/lustre-1.4.5.1'' >> make: *** [all] Error 2 >> [root@test14 lustre-1.4.5.1]# >> i am running centos 4.1 with a base install. >> i ran ./configure --with-linux=/usr/src/linux/ >> --with-kernel-source-header=/usr/src/linux-2.6.9-11.EL/include/linux/kernel.h >> and gives an error at make >> any help would be appreciated. >> regards >> Geoffrey >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@lists.clusterfs.com >> https://lists.clusterfs.com/mailman/listinfo/lustre-discuss >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@lists.clusterfs.com >> https://lists.clusterfs.com/mailman/listinfo/lustre-discuss >> >> >> >> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@lists.clusterfs.com > https://lists.clusterfs.com/mailman/listinfo/lustre-discuss
i have a local.sh which inside is this... <snip> #!/bin/sh # local.sh # Create node rm -f local.xml lmc -m local.xml --add node --node localhost lmc -m local.xml --add net --node localhost --nid localhost --nettype tcp # Configure MDS lmc -m local.xml --format --add mds --node localhost --mds mds-test --fstype ldiskfs --dev /tmp/mds-test --size 50000 # Configure OSTs lmc -m local.xml --add lov --lov lov-test --mds mds-test --stripe_sz 1048576 --stripe_cnt 0 --stripe_pattern 0 lmc -m local.xml --add ost --node localhost --lov lov-test --ost ost1-test --fstype ldiskfs --dev /tmp/ost1 --size 100000 lmc -m local.xml --add ost --node localhost --lov lov-test --ost ost2-test --fstype ldiskfs --dev /tmp/ost2-test --size 100000 # Configure client lmc -m local.xml --add mtpt --node localhost --path /mnt/lustre --mds mds-test --lov lov-test </snip> it makes a /mnt/lustre with only 190MB ( from where does it get that? ) on the machine i have setup a seperate partition /dev/hda4 just for lustre...now i want to mount lustre on that partition. so i have tried changing the ( --dev /tmp/ost1 to --dev /dev/hda4 ) but to no avail. even with the current setup ( local.sh ) i tried mounting the lustre mount with this command [root@test13 lustre]# mount -t lustre localhost:/mds-test/client /mnt/test localhost:/mds-test/client: mount(/mnt/test, mount.lustre) failed: Input/output error im not sure what im doing wrong... thanks! cliff white wrote:> Geoffrey Chisnall wrote: > >> >> so it seemed i didn''t install all the rpms :-) *hide* >> >> i installed the rpms and found it to install no hassels...rebooted >> the machine and walla >> [root@test13 apps]# uname -a >> Linux test13.techtonic.co.za 2.6.9-22.EL_lustre.1.4.5.1smp #1 SMP Fri >> Dec 16 00:22:05 EST 2005 i686 i686 i386 GNU/Linux >> >> plus >> >> [root@test13 apps]# dmesg | grep lustre >> inserting floppy driver for 2.6.9-22.EL_lustre.1.4.5.1smp >> Lustre: 2413:0:(module.c:530:init_libcfs_module()) maximum lustre >> stack 8192 >> Lustre: OBD class driver Build Version: >> 1.4.5.1-19691231190000-PRISTINE-.tmp.lbuild.lbuild-v1_4_5_1-2.6-rhel4-i686.lbuild.BUILD.lustre-kernel-2.6.9.lustre.linux-2.6.9-22.EL_lustre.1.4.5.1smp, >> info@clusterfs.com >> >> now to actually sit and configure it. >> >> to me atm, it looks like greek. >> >> i can run the example configs and they run fine. >> >> local 190M 8.5M 171M 5% /mnt/lustre >> local on /mnt/lustre type lustre_lite >> (rw,osc=lov-test,mdc=MDC_test14.techtonic.co.za_mds-test_MNT_localhost) >> >> now to sit down and configure it for my setup. >> >> i have the lustre server and a client. >> i dont understand the various "nodes" "OST" "MDS" etc. all i >> basically want to do is have 4 machines mount the lustre mount point, >> but im not too sure how to write that in the configuration. > > > look for local.sh and llmount.sh - those will help. > You specify a single generic client in the config, then everybody > can mount /mnt/lustre. > > The OST holds the filedata. The OST machine(s) should have the > physical storage attached. The MDS does metadata, it also needs a disk > partition. > >> >> atm when i do try and mount it...it says >> [root@test14 ~]# mount -t lustre test14:/mnt/lustre /media/ >> test14:/mnt/lustre: mount(/media/, mount.lustre) failed: Input/output >> error > > > The syntax should be: > mount -t lustre <MDS hostname>:/<MDS name>/client <path to local > mountpoint> > > hope this helps > cliffw > >> >> also another thing is...i tried to mount the acutally file system, >> say /dev/hda3 in the config but to no avail. >> not too sure what it tries to mount acutally. >> "local 190M 8.5M 171M 5% /mnt/lustre" > > > >> >> >> sorry for these n00b questions :-) >> >> >> >> >> >> >> John R. Dunning wrote: >> >>> From: Geoffrey Chisnall <geoffreyc@compuscan.co.za> >>> Date: Mon, 16 Jan 2006 09:19:24 +0200 >>> hi there >>> i am trying to install lustre on my box but having >>> difficulties installing it. >>> >>> My not-very-experienced eyes suggest to me that you''re attempting to >>> install against the wrong kernel. For starters, I think you''ll have >>> better luck to either use a stock RHEL-22.EL or the >>> prepatched-for-lustre kernel from the clusterfs download site. >>> >>> I''ve also just been hacking my way through the compile-and-install- >>> it-from-scratch process, as the use I have in mind for it would be >>> unsuitable for precompiled rpms and such. I can''t say I''ve figured it >>> all out yet, but I have successfully patched a body of kernel source, >>> compiled the kernel and the lustre code base, and ended up with a >>> system that seems to run. If you''re (or anyone else is) interested in >>> hearing about the patches and procedure I end up settling on, I''ll be >>> happy to post them here. >>> i have downloaded all the rpms it asked me to and i have >>> installed them. >>> i am trying to compile the lustre source now. >>> ./configure does fine...but when i try a make i get this error >>> [root@test14 lustre-1.4.5.1]# make >>> make all-recursive >>> make[1]: Entering directory `/opt/apps/lustre-1.4.5.1'' >>> Making all in . >>> make[2]: Entering directory `/opt/apps/lustre-1.4.5.1'' >>> make sources -C portals >>> make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/portals'' >>> make sources -C libcfs >>> make[4]: Entering directory >>> `/opt/apps/lustre-1.4.5.1/portals/libcfs'' >>> make[4]: Nothing to be done for `sources''. >>> make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' >>> make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals'' >>> make sources -C lustre >>> make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre'' >>> make sources -C ldiskfs >>> make[4]: Entering directory >>> `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' >>> rm -rf linux-stage linux sources >>> mkdir -p linux-stage/fs/ext3 linux-stage/include/linux >>> cp /usr/src/linux/fs/ext3/acl.c >>> /usr/src/linux/fs/ext3/balloc.c /usr/src/linux/fs/ext3/bitmap.c >>> /usr/src/linux/fs/ext3/dir.c /usr/src/linux/fs/ext3/file.c >>> /usr/src/linux/fs/ext3/fsync.c /usr/src/linux/fs/ext3/hash.c >>> /usr/src/linux/fs/ext3/ialloc.c /usr/src/linux/fs/ext3/inode.c >>> /usr/src/linux/fs/ext3/ioctl.c /usr/src/linux/fs/ext3/namei.c >>> /usr/src/linux/fs/ext3/resize.c /usr/src/linux/fs/ext3/super.c >>> /usr/src/linux/fs/ext3/symlink.c /usr/src/linux/fs/ext3/xattr.c >>> /usr/src/linux/fs/ext3/xattr_security.c >>> /usr/src/linux/fs/ext3/xattr_trusted.c >>> /usr/src/linux/fs/ext3/xattr_user.c /usr/src/linux/fs/ext3/acl.h >>> /usr/src/linux/fs/ext3/xattr.h /usr/src/linux/fs/ext3/Makefile >>> linux-stage/fs/ext3 >>> cp /usr/src/linux/include/linux/ext3_fs.h >>> /usr/src/linux/include/linux/ext3_fs_i.h >>> /usr/src/linux/include/linux/ext3_fs_sb.h >>> /usr/src/linux/include/linux/ext3_jbd.h linux-stage/include/linux >>> Applying ext3 patches: ext3-wantedi-2.6-rhel4.patch >>> ext3-san-jdike-2.6-suse.patch iopen-2.6-rhel4.patch >>> export_symbols-ext3-2.6-suse.patch >>> ext3-map_inode_page-2.6-suse.patch >>> ext3-ea-in-inode-2.6-rhel4.patch export-ext3-2.6-rhel4.patch >>> ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.9-rhel4.patch >>> ext3-mballoc2-2.6.9-rhel4.patch ext3-nlinks-2.6.9.patch1 out of 11 >>> hunks FAILED -- saving rejects to file fs/ext3/namei.c.rej >>> make[4]: *** [sources] Error 1 >>> make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' >>> make[3]: *** [ldiskfs-sources] Error 2 >>> make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre'' >>> make[2]: *** [all-sources] Error 2 >>> make[2]: Leaving directory `/opt/apps/lustre-1.4.5.1'' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory `/opt/apps/lustre-1.4.5.1'' >>> make: *** [all] Error 2 >>> [root@test14 lustre-1.4.5.1]# >>> i am running centos 4.1 with a base install. >>> i ran ./configure --with-linux=/usr/src/linux/ >>> --with-kernel-source-header=/usr/src/linux-2.6.9-11.EL/include/linux/kernel.h >>> and gives an error at make >>> any help would be appreciated. >>> regards >>> Geoffrey >>> _______________________________________________ >>> Lustre-discuss mailing list >>> Lustre-discuss@lists.clusterfs.com >>> https://lists.clusterfs.com/mailman/listinfo/lustre-discuss >>> >>> _______________________________________________ >>> Lustre-discuss mailing list >>> Lustre-discuss@lists.clusterfs.com >>> https://lists.clusterfs.com/mailman/listinfo/lustre-discuss >>> >>> >>> >>> >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@lists.clusterfs.com >> https://lists.clusterfs.com/mailman/listinfo/lustre-discuss > > > >
thanks for the information guys :-) i just would like to know to more things.... what exactly is the MDS ( meta data server ) and (OST) object storage targets is the MDS kinda like the filesystem ( root / ? ) and OST is the partition where the actual data that u will be "sharing" ? similar to a NFS export thanks again! cliff white wrote:> Geoffrey Chisnall wrote: > >> >> i have a local.sh which inside is this... >> <snip> >> #!/bin/sh >> >> # local.sh >> >> # Create node >> rm -f local.xml >> lmc -m local.xml --add node --node localhost >> lmc -m local.xml --add net --node localhost --nid localhost --nettype >> tcp >> >> # Configure MDS >> lmc -m local.xml --format --add mds --node localhost --mds mds-test >> --fstype ldiskfs --dev /tmp/mds-test --size 50000 >> >> # Configure OSTs >> lmc -m local.xml --add lov --lov lov-test --mds mds-test --stripe_sz >> 1048576 --stripe_cnt 0 --stripe_pattern 0 >> lmc -m local.xml --add ost --node localhost --lov lov-test --ost >> ost1-test --fstype ldiskfs --dev /tmp/ost1 --size 100000 >> lmc -m local.xml --add ost --node localhost --lov lov-test --ost >> ost2-test --fstype ldiskfs --dev /tmp/ost2-test --size 100000 >> >> # Configure client >> lmc -m local.xml --add mtpt --node localhost --path /mnt/lustre --mds >> mds-test --lov lov-test >> </snip> >> >> it makes a /mnt/lustre with only 190MB ( from where does it get that? ) >> >> >> on the machine i have setup a seperate partition /dev/hda4 just for >> lustre...now i want to mount lustre on that partition. >> so i have tried changing the ( --dev /tmp/ost1 to --dev /dev/hda4 ) >> but to no avail. >> >> even with the current setup ( local.sh ) i tried mounting the lustre >> mount with this command >> [root@test13 lustre]# mount -t lustre localhost:/mds-test/client >> /mnt/test >> localhost:/mds-test/client: mount(/mnt/test, mount.lustre) failed: >> Input/output error >> >> im not sure what im doing wrong... > > >> >> thanks! >> > > First, you need either two machines with one partition, or one machine > with two partitions. One partition for the MDS, one (or more) for the > OST. Then you need another node to be the client, which will mount the > filesystem. The client is _not named ''client'' we use a generic label, > which means you can use N number of clients without altering the > config. When you use real disks, do not use the --size parameter, we > want the whole partition. > > So: nodeA (mds) /dev/sda1 - supplies fs metadata > nodeB (ost) /dev/sda3 - supplies fs data > nodeC (client) - mounts the filesystem > > Then, > > lmc -m local.xml --add node --node nodeA > lmc -m local.xml --add node --node nodeB > lmc -m local.xml --add node --node client > > lmc -m local.xml --add net --node nodeA --nid nodeA --nettype tcp > lmc -m local.xml --add net --node nodeB --nid nodeB --nettype tcp > # generic client > lmc -m local.xml --add net --node client --nid ''*'' --nettype tcp > > # Configure MDS > lmc -m local.xml --format --add mds --node nodeA --mds mdsA \ > --fstype ldiskfs --dev /dev/sda1 > > # Configure LOV > lmc -m local.xml --add lov --lov lov-test --mds mdsA \ > --stripe_sz 1048576 --stripe_cnt 0 --stripe_pattern 0 > > # Configure OST > lmc -m local.xml --add ost --node nodeB --lov lov-test \ > --ost ost1-test --fstype ldiskfs --dev /dev/sda3 > > # Configure mountpoint > lmc -m local.xml --add mtpt --node client --path /mnt/lustre \ > --mds mdsA --lov lov-test > > To start Luster (first time only) on the OST: > lconf --reformat local.xml > Normal start: > lconf local.xml > First time start of MDS: > lconf --reformat local.xml > Normal MDS startup > > lconf local.xml > > After both the MDS and OST are started, you mount the filesystem on > the client node thusly (remember, the client node is not named ''client''): > mount -t lustre nodeA:/mdsA/client /mnt/lustre > > hope this helps > cliffw > > [snip] > >
Geoffrey Chisnall wrote:> thanks for the information guys :-) > > i just would like to know to more things.... > what exactly is the MDS ( meta data server ) and > (OST) object storage targets > > is the MDS kinda like the filesystem ( root / ? ) > and OST is the partition where the actual data that u will be "sharing" > ? similar to a NFS exportSomewhat, but not quite. Metadata (http://en.wikipedia.org/wiki/Metadata_(computing)) is ''data about data'' - In a filesystem, metadata includes the directory structures, timestamps, mode bits and a few other things. The object store is the actual data. With Lustre, multiple servers can provide object storage targets (OSTS) which are combined into a single filesystem image. Another way of looking at this - when you create,open or destroy a file, you affect metadata. When you are reading and writing to the file, you are using the object store. hope this helps cliffw> > > thanks again! > > > > cliff white wrote: > >> Geoffrey Chisnall wrote: >> >>> >>> i have a local.sh which inside is this... >>> <snip> >>> #!/bin/sh >>> >>> # local.sh >>> >>> # Create node >>> rm -f local.xml >>> lmc -m local.xml --add node --node localhost >>> lmc -m local.xml --add net --node localhost --nid localhost --nettype >>> tcp >>> >>> # Configure MDS >>> lmc -m local.xml --format --add mds --node localhost --mds mds-test >>> --fstype ldiskfs --dev /tmp/mds-test --size 50000 >>> >>> # Configure OSTs >>> lmc -m local.xml --add lov --lov lov-test --mds mds-test --stripe_sz >>> 1048576 --stripe_cnt 0 --stripe_pattern 0 >>> lmc -m local.xml --add ost --node localhost --lov lov-test --ost >>> ost1-test --fstype ldiskfs --dev /tmp/ost1 --size 100000 >>> lmc -m local.xml --add ost --node localhost --lov lov-test --ost >>> ost2-test --fstype ldiskfs --dev /tmp/ost2-test --size 100000 >>> >>> # Configure client >>> lmc -m local.xml --add mtpt --node localhost --path /mnt/lustre --mds >>> mds-test --lov lov-test >>> </snip> >>> >>> it makes a /mnt/lustre with only 190MB ( from where does it get that? ) >>> >>> >>> on the machine i have setup a seperate partition /dev/hda4 just for >>> lustre...now i want to mount lustre on that partition. >>> so i have tried changing the ( --dev /tmp/ost1 to --dev /dev/hda4 ) >>> but to no avail. >>> >>> even with the current setup ( local.sh ) i tried mounting the lustre >>> mount with this command >>> [root@test13 lustre]# mount -t lustre localhost:/mds-test/client >>> /mnt/test >>> localhost:/mds-test/client: mount(/mnt/test, mount.lustre) failed: >>> Input/output error >>> >>> im not sure what im doing wrong... >> >> >> >>> >>> thanks! >>> >> >> First, you need either two machines with one partition, or one machine >> with two partitions. One partition for the MDS, one (or more) for the >> OST. Then you need another node to be the client, which will mount the >> filesystem. The client is _not named ''client'' we use a generic label, >> which means you can use N number of clients without altering the >> config. When you use real disks, do not use the --size parameter, we >> want the whole partition. >> >> So: nodeA (mds) /dev/sda1 - supplies fs metadata >> nodeB (ost) /dev/sda3 - supplies fs data >> nodeC (client) - mounts the filesystem >> >> Then, >> >> lmc -m local.xml --add node --node nodeA >> lmc -m local.xml --add node --node nodeB >> lmc -m local.xml --add node --node client >> >> lmc -m local.xml --add net --node nodeA --nid nodeA --nettype tcp >> lmc -m local.xml --add net --node nodeB --nid nodeB --nettype tcp >> # generic client >> lmc -m local.xml --add net --node client --nid ''*'' --nettype tcp >> >> # Configure MDS >> lmc -m local.xml --format --add mds --node nodeA --mds mdsA \ >> --fstype ldiskfs --dev /dev/sda1 >> >> # Configure LOV >> lmc -m local.xml --add lov --lov lov-test --mds mdsA \ >> --stripe_sz 1048576 --stripe_cnt 0 --stripe_pattern 0 >> >> # Configure OST >> lmc -m local.xml --add ost --node nodeB --lov lov-test \ >> --ost ost1-test --fstype ldiskfs --dev /dev/sda3 >> >> # Configure mountpoint >> lmc -m local.xml --add mtpt --node client --path /mnt/lustre \ >> --mds mdsA --lov lov-test >> >> To start Luster (first time only) on the OST: >> lconf --reformat local.xml >> Normal start: >> lconf local.xml >> First time start of MDS: >> lconf --reformat local.xml >> Normal MDS startup >> >> lconf local.xml >> >> After both the MDS and OST are started, you mount the filesystem on >> the client node thusly (remember, the client node is not named ''client''): >> mount -t lustre nodeA:/mdsA/client /mnt/lustre >> >> hope this helps >> cliffw >> >> [snip] >> >> > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@lists.clusterfs.com > https://lists.clusterfs.com/mailman/listinfo/lustre-discuss
hi there i am trying to install lustre on my box but having difficulties installing it. i have downloaded all the rpms it asked me to and i have installed them. i am trying to compile the lustre source now. ./configure does fine...but when i try a make i get this error [root@test14 lustre-1.4.5.1]# make make all-recursive make[1]: Entering directory `/opt/apps/lustre-1.4.5.1'' Making all in . make[2]: Entering directory `/opt/apps/lustre-1.4.5.1'' make sources -C portals make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/portals'' make sources -C libcfs make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' make[4]: Nothing to be done for `sources''. make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals/libcfs'' make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/portals'' make sources -C lustre make[3]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre'' make sources -C ldiskfs make[4]: Entering directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' rm -rf linux-stage linux sources mkdir -p linux-stage/fs/ext3 linux-stage/include/linux cp /usr/src/linux/fs/ext3/acl.c /usr/src/linux/fs/ext3/balloc.c /usr/src/linux/fs/ext3/bitmap.c /usr/src/linux/fs/ext3/dir.c /usr/src/linux/fs/ext3/file.c /usr/src/linux/fs/ext3/fsync.c /usr/src/linux/fs/ext3/hash.c /usr/src/linux/fs/ext3/ialloc.c /usr/src/linux/fs/ext3/inode.c /usr/src/linux/fs/ext3/ioctl.c /usr/src/linux/fs/ext3/namei.c /usr/src/linux/fs/ext3/resize.c /usr/src/linux/fs/ext3/super.c /usr/src/linux/fs/ext3/symlink.c /usr/src/linux/fs/ext3/xattr.c /usr/src/linux/fs/ext3/xattr_security.c /usr/src/linux/fs/ext3/xattr_trusted.c /usr/src/linux/fs/ext3/xattr_user.c /usr/src/linux/fs/ext3/acl.h /usr/src/linux/fs/ext3/xattr.h /usr/src/linux/fs/ext3/Makefile linux-stage/fs/ext3 cp /usr/src/linux/include/linux/ext3_fs.h /usr/src/linux/include/linux/ext3_fs_i.h /usr/src/linux/include/linux/ext3_fs_sb.h /usr/src/linux/include/linux/ext3_jbd.h linux-stage/include/linux Applying ext3 patches: ext3-wantedi-2.6-rhel4.patch ext3-san-jdike-2.6-suse.patch iopen-2.6-rhel4.patch export_symbols-ext3-2.6-suse.patch ext3-map_inode_page-2.6-suse.patch ext3-ea-in-inode-2.6-rhel4.patch export-ext3-2.6-rhel4.patch ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.9-rhel4.patch ext3-mballoc2-2.6.9-rhel4.patch ext3-nlinks-2.6.9.patch1 out of 11 hunks FAILED -- saving rejects to file fs/ext3/namei.c.rej make[4]: *** [sources] Error 1 make[4]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre/ldiskfs'' make[3]: *** [ldiskfs-sources] Error 2 make[3]: Leaving directory `/opt/apps/lustre-1.4.5.1/lustre'' make[2]: *** [all-sources] Error 2 make[2]: Leaving directory `/opt/apps/lustre-1.4.5.1'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/apps/lustre-1.4.5.1'' make: *** [all] Error 2 [root@test14 lustre-1.4.5.1]# i am running centos 4.1 with a base install. i ran ./configure --with-linux=/usr/src/linux/ --with-kernel-source-header=/usr/src/linux-2.6.9-11.EL/include/linux/kernel.h and gives an error at make any help would be appreciated. regards Geoffrey