On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote:> Hi everybody, > > My first time using Lustre discussion. > I have some problems installing Lustre on debian. I have read all the > discussion messages but I still have some problems in configuring Lustre on > Debian > > The problem: > kernel panic - not syncing: VFS: Unable to mount root fs on unknown block > (0,0)This is because the CFS pre-packaged kernels use an initrd which is not supported on Debian. CFS kernels use an ext2 initrd. In the past I have solved this problem by making my own ext2 initrd images. I create a loopback mount of the appropriate size, mke2fs on it, mount it, mount the incompatible boot image, then copy the contents from one to the other. Usually I also need to edit the scripts in there, too. Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to find a vanilla kernel that I can patch against and release a .deb. -jwb> > The OS: > debian 2.6.12 > > I would like to set up Lustre 1.4.5-1 on this machine: > > Here is what I have did exactly: > > 1. In a directory called lustre145: I downloaded the version > lustre1.4.5.1-3.6_i386. > 2. Then I downloaded the needed kernel rmp and the compatible > Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ > <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1. > 4.5.1/rhel-2.6-i686/> ) > 3. Then I unpack the lustre1.4.5.1-tar.gz file. > 4. In order to install the pre-patched kernels, I have to use ''alien'' > software to change the rmp files into debian files. (.deb) > 5. Then I used "dpkg -i" command to install the package. > 6. I reboot the system after installing the kernel without changing the > grub file. > 7. I got a kernel panic message. > 8. I solved the problem temporarily by booting from Linux CD and > changing the /boot/grub/menu.lst file. I reboot from the old kernel and the > problem solved temporarily. > 9. After installing the new kernel, I try to check the configuration of > the grub.conf file ( but there was NO grub. Conf) there is a grub folder > that have a menu.lst file. > 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and > change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there is no > mkext2fs attached. > I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 > +1100, but it could not give me any more help. > > Can you please help? > > Let me know please if you have any question. > Thank you again. > > JT > > ----------- > Pencil, Paper, and FPGA... what else do I need...? > >> _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
> On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: > > Hi everybody, > > > > My first time using Lustre discussion. > > I have some problems installing Lustre on debian. I have read all the > > discussion messages but I still have some problems in configuring Lustre > on > > Debian > > > > The problem: > > kernel panic - not syncing: VFS: Unable to mount root fs on unknown block > > (0,0) > > This is because the CFS pre-packaged kernels use an initrd which is not > supported on Debian. CFS kernels use an ext2 initrd. > > In the past I have solved this problem by making my own ext2 initrd > images. I create a loopback mount of the appropriate size, mke2fs on > it, mount it, mount the incompatible boot image, then copy the > contents from one to the other. Usually I also need to edit the scripts > in there, too. > > Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to > find a vanilla kernel that I can patch against and release a .deb.In Lustre 1.4.6 there are patches for vanilla 2.6.12.6. Also, if you build the kernel w ith all required boot devices (usually ext3+jbd, and drivers for root+boot disk you don''t need an initrd. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Once I found the Lustre kernel patches for recent vanilla kernels in the Clusterfs bugtraq database, I had little trouble getting Lustre running on Ubuntu Breezy. Were you aware of these patches? Thanks, Brent Nelson Director of Computing Dept. of Physics University of Florida On Thu, 16 Feb 2006, J Tafas wrote:> Hi there, > > I gave up Lustre on Debian. > Can anybody lead me to the best version of Linux that works with Lustre > (which version of Lustre). > > I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. I will > give up Debian to a Linux that works with Lustre. Any suggestions? > > Note: I am also testing PostgresSQL 7 and 8 on Lustre. > > Always thank you for the help and support. > > JT > ----------- > Pencil, Paper, and FPGA... what else do I need...? > > > > -----Original Message----- > From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] > Sent: Sunday, February 12, 2006 7:38 AM > To: jtafas@csusb.edu > Cc: lustre-discuss@clusterfs.com > Subject: Re: [Lustre-discuss] Lustre on Debian. > > On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: >> Hi everybody, >> >> My first time using Lustre discussion. >> I have some problems installing Lustre on debian. I have read all the >> discussion messages but I still have some problems in configuring Lustre > on >> Debian >> >> The problem: >> kernel panic - not syncing: VFS: Unable to mount root fs on unknown block >> (0,0) > > This is because the CFS pre-packaged kernels use an initrd which is not > supported on Debian. CFS kernels use an ext2 initrd. > > In the past I have solved this problem by making my own ext2 initrd > images. I create a loopback mount of the appropriate size, mke2fs on > it, mount it, mount the incompatible boot image, then copy the > contents from one to the other. Usually I also need to edit the scripts > in there, too. > > Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to > find a vanilla kernel that I can patch against and release a .deb. > > -jwb > >> >> The OS: >> debian 2.6.12 >> >> I would like to set up Lustre 1.4.5-1 on this machine: >> >> Here is what I have did exactly: >> >> 1. In a directory called lustre145: I downloaded the version >> lustre1.4.5.1-3.6_i386. >> 2. Then I downloaded the needed kernel rmp and the compatible >> Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ >> > <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1. >> 4.5.1/rhel-2.6-i686/> ) >> 3. Then I unpack the lustre1.4.5.1-tar.gz file. >> 4. In order to install the pre-patched kernels, I have to use ''alien'' >> software to change the rmp files into debian files. (.deb) >> 5. Then I used "dpkg -i" command to install the package. >> 6. I reboot the system after installing the kernel without changing the >> grub file. >> 7. I got a kernel panic message. >> 8. I solved the problem temporarily by booting from Linux CD and >> changing the /boot/grub/menu.lst file. I reboot from the old kernel and > the >> problem solved temporarily. >> 9. After installing the new kernel, I try to check the configuration of >> the grub.conf file ( but there was NO grub. Conf) there is a grub folder >> that have a menu.lst file. >> 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and >> change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there is > no >> mkext2fs attached. >> I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 >> +1100, but it could not give me any more help. >> >> Can you please help? >> >> Let me know please if you have any question. >> Thank you again. >> >> JT >> >> ----------- >> Pencil, Paper, and FPGA... what else do I need...? >> >> > >> _______________________________________________ >> 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 >
J Tafas wrote:> Hi there, > > I gave up Lustre on Debian. > Can anybody lead me to the best version of Linux that works with Lustre > (which version of Lustre). > > I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. I will > give up Debian to a Linux that works with Lustre. Any suggestions? > > Note: I am also testing PostgresSQL 7 and 8 on Lustre. > > Always thank you for the help and support.Fedora Core 3 will work well with all current versions of lustre. There are kernel patches for vanilla 2.6.12, if you can work with the kernel.org tree it may be best for this. I would not try installing from rpm/alien on Debian, but a build from source should work. cliffw> > JT > ----------- > Pencil, Paper, and FPGA... what else do I need...? > > > > -----Original Message----- > From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] > Sent: Sunday, February 12, 2006 7:38 AM > To: jtafas@csusb.edu > Cc: lustre-discuss@clusterfs.com > Subject: Re: [Lustre-discuss] Lustre on Debian. > > On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: > >>Hi everybody, >> >>My first time using Lustre discussion. >>I have some problems installing Lustre on debian. I have read all the >>discussion messages but I still have some problems in configuring Lustre > > on > >>Debian >> >>The problem: >>kernel panic - not syncing: VFS: Unable to mount root fs on unknown block >>(0,0) > > > This is because the CFS pre-packaged kernels use an initrd which is not > supported on Debian. CFS kernels use an ext2 initrd. > > In the past I have solved this problem by making my own ext2 initrd > images. I create a loopback mount of the appropriate size, mke2fs on > it, mount it, mount the incompatible boot image, then copy the > contents from one to the other. Usually I also need to edit the scripts > in there, too. > > Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to > find a vanilla kernel that I can patch against and release a .deb. > > -jwb > > >> >>The OS: >>debian 2.6.12 >> >>I would like to set up Lustre 1.4.5-1 on this machine: >> >>Here is what I have did exactly: >> >>1. In a directory called lustre145: I downloaded the version >>lustre1.4.5.1-3.6_i386. >>2. Then I downloaded the needed kernel rmp and the compatible >>Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ >> > > <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1. > >>4.5.1/rhel-2.6-i686/> ) >>3. Then I unpack the lustre1.4.5.1-tar.gz file. >>4. In order to install the pre-patched kernels, I have to use ''alien'' >>software to change the rmp files into debian files. (.deb) >>5. Then I used "dpkg -i" command to install the package. >>6. I reboot the system after installing the kernel without changing the >>grub file. >>7. I got a kernel panic message. >>8. I solved the problem temporarily by booting from Linux CD and >>changing the /boot/grub/menu.lst file. I reboot from the old kernel and > > the > >>problem solved temporarily. >>9. After installing the new kernel, I try to check the configuration of >>the grub.conf file ( but there was NO grub. Conf) there is a grub folder >>that have a menu.lst file. >>10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and >>change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there is > > no > >>mkext2fs attached. >>I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 >>+1100, but it could not give me any more help. >> >>Can you please help? >> >>Let me know please if you have any question. >>Thank you again. >> >>JT >> >>----------- >>Pencil, Paper, and FPGA... what else do I need...? >> >> > > >>_______________________________________________ >>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
Hi there, I gave up Lustre on Debian. Can anybody lead me to the best version of Linux that works with Lustre (which version of Lustre). I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. I will give up Debian to a Linux that works with Lustre. Any suggestions? Note: I am also testing PostgresSQL 7 and 8 on Lustre. Always thank you for the help and support. JT ----------- Pencil, Paper, and FPGA... what else do I need...? -----Original Message----- From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] Sent: Sunday, February 12, 2006 7:38 AM To: jtafas@csusb.edu Cc: lustre-discuss@clusterfs.com Subject: Re: [Lustre-discuss] Lustre on Debian. On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote:> Hi everybody, > > My first time using Lustre discussion. > I have some problems installing Lustre on debian. I have read all the > discussion messages but I still have some problems in configuring Lustreon> Debian > > The problem: > kernel panic - not syncing: VFS: Unable to mount root fs on unknown block > (0,0)This is because the CFS pre-packaged kernels use an initrd which is not supported on Debian. CFS kernels use an ext2 initrd. In the past I have solved this problem by making my own ext2 initrd images. I create a loopback mount of the appropriate size, mke2fs on it, mount it, mount the incompatible boot image, then copy the contents from one to the other. Usually I also need to edit the scripts in there, too. Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to find a vanilla kernel that I can patch against and release a .deb. -jwb> > The OS: > debian 2.6.12 > > I would like to set up Lustre 1.4.5-1 on this machine: > > Here is what I have did exactly: > > 1. In a directory called lustre145: I downloaded the version > lustre1.4.5.1-3.6_i386. > 2. Then I downloaded the needed kernel rmp and the compatible > Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ ><https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1.> 4.5.1/rhel-2.6-i686/> ) > 3. Then I unpack the lustre1.4.5.1-tar.gz file. > 4. In order to install the pre-patched kernels, I have to use ''alien'' > software to change the rmp files into debian files. (.deb) > 5. Then I used "dpkg -i" command to install the package. > 6. I reboot the system after installing the kernel without changing the > grub file. > 7. I got a kernel panic message. > 8. I solved the problem temporarily by booting from Linux CD and > changing the /boot/grub/menu.lst file. I reboot from the old kernel andthe> problem solved temporarily. > 9. After installing the new kernel, I try to check the configuration of > the grub.conf file ( but there was NO grub. Conf) there is a grub folder > that have a menu.lst file. > 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and > change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there isno> mkext2fs attached. > I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 > +1100, but it could not give me any more help. > > Can you please help? > > Let me know please if you have any question. > Thank you again. > > JT > > ----------- > Pencil, Paper, and FPGA... what else do I need...? > >> _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
Mate, Lustre works great on debian. Does your initrd contain all the drivers required for your boot device and are they being loaded? On Thu, 2006-02-16 at 16:44 -0800, J Tafas wrote:> Hi there, > > I gave up Lustre on Debian. > Can anybody lead me to the best version of Linux that works with Lustre > (which version of Lustre). > > I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. I will > give up Debian to a Linux that works with Lustre. Any suggestions? > > Note: I am also testing PostgresSQL 7 and 8 on Lustre. > > Always thank you for the help and support. > > JT > ----------- > Pencil, Paper, and FPGA... what else do I need...? > > > > -----Original Message----- > From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] > Sent: Sunday, February 12, 2006 7:38 AM > To: jtafas@csusb.edu > Cc: lustre-discuss@clusterfs.com > Subject: Re: [Lustre-discuss] Lustre on Debian. > > On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: > > Hi everybody, > > > > My first time using Lustre discussion. > > I have some problems installing Lustre on debian. I have read all the > > discussion messages but I still have some problems in configuring Lustre > on > > Debian > > > > The problem: > > kernel panic - not syncing: VFS: Unable to mount root fs on unknown block > > (0,0) > > This is because the CFS pre-packaged kernels use an initrd which is not > supported on Debian. CFS kernels use an ext2 initrd. > > In the past I have solved this problem by making my own ext2 initrd > images. I create a loopback mount of the appropriate size, mke2fs on > it, mount it, mount the incompatible boot image, then copy the > contents from one to the other. Usually I also need to edit the scripts > in there, too. > > Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to > find a vanilla kernel that I can patch against and release a .deb. > > -jwb > > > > > The OS: > > debian 2.6.12 > > > > I would like to set up Lustre 1.4.5-1 on this machine: > > > > Here is what I have did exactly: > > > > 1. In a directory called lustre145: I downloaded the version > > lustre1.4.5.1-3.6_i386. > > 2. Then I downloaded the needed kernel rmp and the compatible > > Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ > > > <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1. > > 4.5.1/rhel-2.6-i686/> ) > > 3. Then I unpack the lustre1.4.5.1-tar.gz file. > > 4. In order to install the pre-patched kernels, I have to use ''alien'' > > software to change the rmp files into debian files. (.deb) > > 5. Then I used "dpkg -i" command to install the package. > > 6. I reboot the system after installing the kernel without changing the > > grub file. > > 7. I got a kernel panic message. > > 8. I solved the problem temporarily by booting from Linux CD and > > changing the /boot/grub/menu.lst file. I reboot from the old kernel and > the > > problem solved temporarily. > > 9. After installing the new kernel, I try to check the configuration of > > the grub.conf file ( but there was NO grub. Conf) there is a grub folder > > that have a menu.lst file. > > 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and > > change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there is > no > > mkext2fs attached. > > I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 > > +1100, but it could not give me any more help. > > > > Can you please help? > > > > Let me know please if you have any question. > > Thank you again. > > > > JT > > > > ----------- > > Pencil, Paper, and FPGA... what else do I need...? > > > > > > > _______________________________________________ > > 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 >-- Adam Cassar ICT Manager NetRegistry Pty Ltd ______________________________________________ http://www.netregistry.com.au Tel: 02 9699 6099 Fax: 02 9699 6088 PO Box 270 Broadway NSW 2007 Domains |Business Email|Web Hosting|E-Commerce Trusted by 10,000s of businesses since 1997 ______________________________________________
I have tested lustre 1.4.5 on Debian/Sarge,the step is as below: 1 modify /etc/mkinitrd/mkinitrd.conf: .. MODULES=3Ddep MKIMAGE=3D''/usr/local/sbin/mkext2fs.sh %s %s > /dev/null'' .. and here is mkext2fs.sh: #!/bin/bash # similar to mkcramfs (for use with debian mkinitrd) # mkext2fs dirname outfile # # no options are parsed # # Written by: Fabian Franz <mkext2fs@fabian-franz.de> # GPL v.2 - See: `locate gpl.txt` if [ $# -lt 2 ] then echo "Usage: $(basename $0) dirname outfile" exit 1 fi TMPDIR=3D/tmp/$(basename $0).$$ mkdir $TMPDIR function clean_exit { umount $TMPDIR 2>/dev/null rm -rf $TMPDIR } trap clean_exit EXIT COUNT=3D$[$(du -s $1 | awk ''{ print $1 }'' )*2+1000] dd if=3D/dev/zero of=3D$TMPDIR/image count=3D$COUNT mke2fs -F $TMPDIR/image mount -o loop $TMPDIR/image $TMPDIR cp -a $1/* $TMPDIR umount $TMPDIR cat $TMPDIR/image | gzip - > $2 2 geneate kernel package: alien kernel-smp-2.6.9-5.0.5.EL_lustre.1.4.5.i686.rpm 3 generate depmod related files: cd /lib/modules/2.6.9-5.0.5.EL_lustre.1.4.5smp depmod 2.6.9-5.0.5.EL_lustre.1.4.5smp 4 install the new kernel: dpkg =A8Ci kernel-smp_2.6.9-6_i386.de 5 create initrd image: Mkinitrd =A8Co /root/initrd.img-2.6.9-5.0.5.EL_lustre.1.4.5smp 2.6.9-5.0.5.EL_lustre.1.4.5smp mv /root/initrd.img-2.6.9-5.0.5.EL_lustre.1.4.5smp /boot/initrd.img-2.6.9-5. 0.5.EL_lustre.1.4.5smp 6 update grub: update-grub 7 modify menus.lst: title Debian GNU/Linux, kernel 2.6.9-5.0.5.EL_lustre.1.4.5smp root (hd0,0) kernel /vmlinuz-2.6.9-5.0.5.EL_lustre.1.4.5smp root=3D/dev/md3 ro initrd /initrd.img-2.6.9-5.0.5.EL_lustre.1.4.5smp savedefault boot That''s my case, hope help! Su Baochen> -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: lustre-discuss-bounces@clusterfs.com=20 > [mailto:lustre-discuss-bounces@clusterfs.com] =B4=FA=B1=ED Felix, Evan J > =B7=A2=CB=CD=CA=B1=BC=E4: 2006=C4=EA2=D4=C218=C8=D5 0:16 > =CA=D5=BC=FE=C8=CB: jtafas@csusb.edu; jwb@gghcwest.com > =B3=AD=CB=CD: lustre-discuss@clusterfs.com > =D6=F7=CC=E2: RE: [Lustre-discuss] Lustre on Debian. >=20 > I''ve been running Lustre on debian for a few years now, and=20 > have done a fair bit of development on it. But as others=20 > have said its best to use the vanilla kernel, and build your=20 > own. I usually build in ext2/3 and other drivers so that a=20 > initrd is not needed for boot. The main issue I''ve had with=20 > compiling Lustre under debian is that the quilt version does=20 > not support the special flags needed for the Lustre patch=20 > instructions. I usually just build it from source. I''ve=20 > successfully used Xen and UML as hosts for debugging purposes. >=20 > Evan=20 >=20 > -----Original Message----- > From: lustre-discuss-bounces@clusterfs.com > [mailto:lustre-discuss-bounces@clusterfs.com] On Behalf Of J Tafas > Sent: Thursday, February 16, 2006 4:44 PM > To: jwb@gghcwest.com > Cc: lustre-discuss@clusterfs.com > Subject: RE: [Lustre-discuss] Lustre on Debian. >=20 > Hi there,=20 >=20 > I gave up Lustre on Debian.=20 > Can anybody lead me to the best version of Linux that works=20 > with Lustre (which version of Lustre). >=20 > I had so many problems installing Lustre 1.4.5.1 on Debian=20 > 2.6.12. I will give up Debian to a Linux that works with=20 > Lustre. Any suggestions? >=20 > Note: I am also testing PostgresSQL 7 and 8 on Lustre.=20 >=20 > Always thank you for the help and support.=20 >=20 > JT > ----------- > Pencil, Paper, and FPGA... what else do I need...? >=20 > =20 >=20 > -----Original Message----- > From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] > Sent: Sunday, February 12, 2006 7:38 AM > To: jtafas@csusb.edu > Cc: lustre-discuss@clusterfs.com > Subject: Re: [Lustre-discuss] Lustre on Debian. >=20 > On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: > > Hi everybody, > > =20 > > My first time using Lustre discussion.=20 > > I have some problems installing Lustre on debian. I have=20 > read all the=20 > > discussion messages but I still have some problems in configuring=20 > > Lustre > on > > Debian > > =20 > > The problem:=20 > > kernel panic - not syncing: VFS: Unable to mount root fs on unknown=20 > > block > > (0,0) >=20 > This is because the CFS pre-packaged kernels use an initrd=20 > which is not supported on Debian. CFS kernels use an ext2 initrd. >=20 > In the past I have solved this problem by making my own ext2=20 > initrd images. I create a loopback mount of the appropriate=20 > size, mke2fs on it, mount it, mount the incompatible boot=20 > image, then copy the contents from one to the other. Usually=20 > I also need to edit the scripts in there, too. >=20 > Obviously this is a big hassle. After the 1.4.6 release, I''m=20 > hoping to find a vanilla kernel that I can patch against and=20 > release a .deb. >=20 > -jwb >=20 > > =20 > > The OS:=20 > > debian 2.6.12 > > =20 > > I would like to set up Lustre 1.4.5-1 on this machine:=20 > > =20 > > Here is what I have did exactly: > > =20 > > 1. In a directory called lustre145: I downloaded the version > > lustre1.4.5.1-3.6_i386. > > 2. Then I downloaded the needed kernel rmp and the compatible > > Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ > > > <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3a > c01a99/v1. > 4/1. > > 4.5.1/rhel-2.6-i686/> ) > > 3. Then I unpack the lustre1.4.5.1-tar.gz file.=20 > > 4. In order to install the pre-patched kernels, I have to use > ''alien'' > > software to change the rmp files into debian files. (.deb) > > 5. Then I used "dpkg -i" command to install the package. =20 > > 6. I reboot the system after installing the kernel without changing > the > > grub file.=20 > > 7. I got a kernel panic message. > > 8. I solved the problem temporarily by booting from Linux CD and > > changing the /boot/grub/menu.lst file. I reboot from the old kernel=20 > > and > the > > problem solved temporarily. > > 9. After installing the new kernel, I try to check the > configuration of > > the grub.conf file ( but there was NO grub. Conf) there is a grub=20 > > folder that have a menu.lst file. > > 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=3Ddep) > and > > change MKIMAGE=3D''/usr/local/sbin/mkext2fs %s %s > /dev/null''=20 > but there >=20 > > is > no > > mkext2fs attached.=20 > > I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 > > 11:11:42 > > +1100, but it could not give me any more help.=20 > > =20 > > Can you please help? > > =20 > > Let me know please if you have any question.=20 > > Thank you again. > > =20 > > JT > > =20 > > ----------- > > Pencil, Paper, and FPGA... what else do I need...? > > =20 > > =20 >=20 > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss@clusterfs.com > > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >=20 > _______________________________________________ > 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 >=20
The rpm kernel can be used on debian (I use rpm2cpio and cpio to unpack it). You just need to take into account that the initrd are different (debian/ubuntu is using cramfs and fedora is using ext2). So, to create an initrd, you need the mkext2fs script that is in the archive of this list and to change the mkinitrd configuration as usual: https://mail.clusterfs.com/pipermail/lustre-discuss/2005-January/000551.html I''ve recently setup a bunch of nodes with ltsp and lustre. My experience with lustre on debian is that you should start with the pre-compiled kernel and then adventure into compiling one. But the last version I had tried was 1.2.8. Now I''m deploying 1.4.3 (it passed my tests). Best regards, Jo?o Miguel Neves Qui, 2006-02-16 ?s 17:21 -0800, Cliff White escreveu:> J Tafas wrote: > > Hi there, > > > > I gave up Lustre on Debian. > > Can anybody lead me to the best version of Linux that works with Lustre > > (which version of Lustre). > > > > I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. I will > > give up Debian to a Linux that works with Lustre. Any suggestions? > > > > Note: I am also testing PostgresSQL 7 and 8 on Lustre. > > > > Always thank you for the help and support. > > Fedora Core 3 will work well with all current versions of lustre. > There are kernel patches for vanilla 2.6.12, if you can work with the > kernel.org tree it may be best for this. > > I would not try installing from rpm/alien on Debian, but a build from > source should work. > > cliffw > > > > > > JT > > ----------- > > Pencil, Paper, and FPGA... what else do I need...? > > > > > > > > -----Original Message----- > > From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] > > Sent: Sunday, February 12, 2006 7:38 AM > > To: jtafas@csusb.edu > > Cc: lustre-discuss@clusterfs.com > > Subject: Re: [Lustre-discuss] Lustre on Debian. > > > > On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: > > > >>Hi everybody, > >> > >>My first time using Lustre discussion. > >>I have some problems installing Lustre on debian. I have read all the > >>discussion messages but I still have some problems in configuring Lustre > > > > on > > > >>Debian > >> > >>The problem: > >>kernel panic - not syncing: VFS: Unable to mount root fs on unknown block > >>(0,0) > > > > > > This is because the CFS pre-packaged kernels use an initrd which is not > > supported on Debian. CFS kernels use an ext2 initrd. > > > > In the past I have solved this problem by making my own ext2 initrd > > images. I create a loopback mount of the appropriate size, mke2fs on > > it, mount it, mount the incompatible boot image, then copy the > > contents from one to the other. Usually I also need to edit the scripts > > in there, too. > > > > Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to > > find a vanilla kernel that I can patch against and release a .deb. > > > > -jwb > > > > > >> > >>The OS: > >>debian 2.6.12 > >> > >>I would like to set up Lustre 1.4.5-1 on this machine: > >> > >>Here is what I have did exactly: > >> > >>1. In a directory called lustre145: I downloaded the version > >>lustre1.4.5.1-3.6_i386. > >>2. Then I downloaded the needed kernel rmp and the compatible > >>Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ > >> > > > > <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1. > > > >>4.5.1/rhel-2.6-i686/> ) > >>3. Then I unpack the lustre1.4.5.1-tar.gz file. > >>4. In order to install the pre-patched kernels, I have to use ''alien'' > >>software to change the rmp files into debian files. (.deb) > >>5. Then I used "dpkg -i" command to install the package. > >>6. I reboot the system after installing the kernel without changing the > >>grub file. > >>7. I got a kernel panic message. > >>8. I solved the problem temporarily by booting from Linux CD and > >>changing the /boot/grub/menu.lst file. I reboot from the old kernel and > > > > the > > > >>problem solved temporarily. > >>9. After installing the new kernel, I try to check the configuration of > >>the grub.conf file ( but there was NO grub. Conf) there is a grub folder > >>that have a menu.lst file. > >>10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and > >>change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there is > > > > no > > > >>mkext2fs attached. > >>I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 > >>+1100, but it could not give me any more help. > >> > >>Can you please help? > >> > >>Let me know please if you have any question. > >>Thank you again. > >> > >>JT > >> > >>----------- > >>Pencil, Paper, and FPGA... what else do I need...? > >> > >> > > > > > >>_______________________________________________ > >>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-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20060217/987049c5/attachment.bin
I''ve been running Lustre on debian for a few years now, and have done a fair bit of development on it. But as others have said its best to use the vanilla kernel, and build your own. I usually build in ext2/3 and other drivers so that a initrd is not needed for boot. The main issue I''ve had with compiling Lustre under debian is that the quilt version does not support the special flags needed for the Lustre patch instructions. I usually just build it from source. I''ve successfully used Xen and UML as hosts for debugging purposes. Evan -----Original Message----- From: lustre-discuss-bounces@clusterfs.com [mailto:lustre-discuss-bounces@clusterfs.com] On Behalf Of J Tafas Sent: Thursday, February 16, 2006 4:44 PM To: jwb@gghcwest.com Cc: lustre-discuss@clusterfs.com Subject: RE: [Lustre-discuss] Lustre on Debian. Hi there, I gave up Lustre on Debian. Can anybody lead me to the best version of Linux that works with Lustre (which version of Lustre). I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. I will give up Debian to a Linux that works with Lustre. Any suggestions? Note: I am also testing PostgresSQL 7 and 8 on Lustre. Always thank you for the help and support. JT ----------- Pencil, Paper, and FPGA... what else do I need...? -----Original Message----- From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] Sent: Sunday, February 12, 2006 7:38 AM To: jtafas@csusb.edu Cc: lustre-discuss@clusterfs.com Subject: Re: [Lustre-discuss] Lustre on Debian. On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote:> Hi everybody, > > My first time using Lustre discussion. > I have some problems installing Lustre on debian. I have read all the > discussion messages but I still have some problems in configuring > Lustreon> Debian > > The problem: > kernel panic - not syncing: VFS: Unable to mount root fs on unknown > block > (0,0)This is because the CFS pre-packaged kernels use an initrd which is not supported on Debian. CFS kernels use an ext2 initrd. In the past I have solved this problem by making my own ext2 initrd images. I create a loopback mount of the appropriate size, mke2fs on it, mount it, mount the incompatible boot image, then copy the contents from one to the other. Usually I also need to edit the scripts in there, too. Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to find a vanilla kernel that I can patch against and release a .deb. -jwb> > The OS: > debian 2.6.12 > > I would like to set up Lustre 1.4.5-1 on this machine: > > Here is what I have did exactly: > > 1. In a directory called lustre145: I downloaded the version > lustre1.4.5.1-3.6_i386. > 2. Then I downloaded the needed kernel rmp and the compatible > Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ ><https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1. 4/1.> 4.5.1/rhel-2.6-i686/> ) > 3. Then I unpack the lustre1.4.5.1-tar.gz file. > 4. In order to install the pre-patched kernels, I have to use''alien''> software to change the rmp files into debian files. (.deb) > 5. Then I used "dpkg -i" command to install the package. > 6. I reboot the system after installing the kernel without changingthe> grub file. > 7. I got a kernel panic message. > 8. I solved the problem temporarily by booting from Linux CD and > changing the /boot/grub/menu.lst file. I reboot from the old kernel > andthe> problem solved temporarily. > 9. After installing the new kernel, I try to check theconfiguration of> the grub.conf file ( but there was NO grub. Conf) there is a grub > folder that have a menu.lst file. > 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep)and> change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there> isno> mkext2fs attached. > I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 > 11:11:42 > +1100, but it could not give me any more help. > > Can you please help? > > Let me know please if you have any question. > Thank you again. > > JT > > ----------- > Pencil, Paper, and FPGA... what else do I need...? > >> _______________________________________________ > 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
Last update, Good news. I could build and compile the current Debian kernel and I will be installing Lustre on the new Kernel by tomorrow. The time now is 1:33 P.M. I will write everything I did, once I finish the installation. Thank you all for your input. And always thank you for your help. JT ----------- Pencil, Paper, and FPGA... what else do I need...? -----Original Message----- From: Jo?o Miguel Neves [mailto:joao@silvaneves.org] Sent: Friday, February 17, 2006 12:04 AM To: Cliff White Cc: jtafas@csusb.edu; jwb@gghcwest.com; lustre-discuss@clusterfs.com Subject: Re: [Lustre-discuss] Lustre on Debian. The rpm kernel can be used on debian (I use rpm2cpio and cpio to unpack it). You just need to take into account that the initrd are different (debian/ubuntu is using cramfs and fedora is using ext2). So, to create an initrd, you need the mkext2fs script that is in the archive of this list and to change the mkinitrd configuration as usual: https://mail.clusterfs.com/pipermail/lustre-discuss/2005-January/000551.html I''ve recently setup a bunch of nodes with ltsp and lustre. My experience with lustre on debian is that you should start with the pre-compiled kernel and then adventure into compiling one. But the last version I had tried was 1.2.8. Now I''m deploying 1.4.3 (it passed my tests). Best regards, Jo?o Miguel Neves Qui, 2006-02-16 ?s 17:21 -0800, Cliff White escreveu:> J Tafas wrote: > > Hi there, > > > > I gave up Lustre on Debian. > > Can anybody lead me to the best version of Linux that works with Lustre > > (which version of Lustre). > > > > I had so many problems installing Lustre 1.4.5.1 on Debian 2.6.12. Iwill> > give up Debian to a Linux that works with Lustre. Any suggestions? > > > > Note: I am also testing PostgresSQL 7 and 8 on Lustre. > > > > Always thank you for the help and support. > > Fedora Core 3 will work well with all current versions of lustre. > There are kernel patches for vanilla 2.6.12, if you can work with the > kernel.org tree it may be best for this. > > I would not try installing from rpm/alien on Debian, but a build from > source should work. > > cliffw > > > > > > JT > > ----------- > > Pencil, Paper, and FPGA... what else do I need...? > > > > > > > > -----Original Message----- > > From: jwb@gghcwest.com [mailto:jwb@gghcwest.com] > > Sent: Sunday, February 12, 2006 7:38 AM > > To: jtafas@csusb.edu > > Cc: lustre-discuss@clusterfs.com > > Subject: Re: [Lustre-discuss] Lustre on Debian. > > > > On Sun, Feb 12, 2006 at 02:38:47AM -0800, J Tafas wrote: > > > >>Hi everybody, > >> > >>My first time using Lustre discussion. > >>I have some problems installing Lustre on debian. I have read all the > >>discussion messages but I still have some problems in configuring Lustre > > > > on > > > >>Debian > >> > >>The problem: > >>kernel panic - not syncing: VFS: Unable to mount root fs on unknownblock> >>(0,0) > > > > > > This is because the CFS pre-packaged kernels use an initrd which is not > > supported on Debian. CFS kernels use an ext2 initrd. > > > > In the past I have solved this problem by making my own ext2 initrd > > images. I create a loopback mount of the appropriate size, mke2fs on > > it, mount it, mount the incompatible boot image, then copy the > > contents from one to the other. Usually I also need to edit the scripts > > in there, too. > > > > Obviously this is a big hassle. After the 1.4.6 release, I''m hoping to > > find a vanilla kernel that I can patch against and release a .deb. > > > > -jwb > > > > > >> > >>The OS: > >>debian 2.6.12 > >> > >>I would like to set up Lustre 1.4.5-1 on this machine: > >> > >>Here is what I have did exactly: > >> > >>1. In a directory called lustre145: I downloaded the version > >>lustre1.4.5.1-3.6_i386. > >>2. Then I downloaded the needed kernel rmp and the compatible > >>Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ > >> > > > ><https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1.> > > >>4.5.1/rhel-2.6-i686/> ) > >>3. Then I unpack the lustre1.4.5.1-tar.gz file. > >>4. In order to install the pre-patched kernels, I have to use ''alien'' > >>software to change the rmp files into debian files. (.deb) > >>5. Then I used "dpkg -i" command to install the package. > >>6. I reboot the system after installing the kernel without changing the > >>grub file. > >>7. I got a kernel panic message. > >>8. I solved the problem temporarily by booting from Linux CD and > >>changing the /boot/grub/menu.lst file. I reboot from the old kernel and > > > > the > > > >>problem solved temporarily. > >>9. After installing the new kernel, I try to check the configuration of > >>the grub.conf file ( but there was NO grub. Conf) there is a grub folder > >>that have a menu.lst file. > >>10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and > >>change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but thereis> > > > no > > > >>mkext2fs attached. > >>I try to use a previous Lustre-discuss dated on Tue, 18 Jan 200511:11:42> >>+1100, but it could not give me any more help. > >> > >>Can you please help? > >> > >>Let me know please if you have any question. > >>Thank you again. > >> > >>JT > >> > >>----------- > >>Pencil, Paper, and FPGA... what else do I need...? > >> > >> > > > > > >>_______________________________________________ > >>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
Hi everybody, My first time using Lustre discussion. I have some problems installing Lustre on debian. I have read all the discussion messages but I still have some problems in configuring Lustre on Debian The problem: kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0) The OS: debian 2.6.12 I would like to set up Lustre 1.4.5-1 on this machine: Here is what I have did exactly: 1. In a directory called lustre145: I downloaded the version lustre1.4.5.1-3.6_i386. 2. Then I downloaded the needed kernel rmp and the compatible Lustre-light rpm. From the Lustre website: (rhel-2.6-i686/ <https://downloads.clusterfs.com/dl/a15f1a5634cf113bf9f4b85c3ac01a99/v1.4/1. 4.5.1/rhel-2.6-i686/> ) 3. Then I unpack the lustre1.4.5.1-tar.gz file. 4. In order to install the pre-patched kernels, I have to use ''alien'' software to change the rmp files into debian files. (.deb) 5. Then I used "dpkg -i" command to install the package. 6. I reboot the system after installing the kernel without changing the grub file. 7. I got a kernel panic message. 8. I solved the problem temporarily by booting from Linux CD and changing the /boot/grub/menu.lst file. I reboot from the old kernel and the problem solved temporarily. 9. After installing the new kernel, I try to check the configuration of the grub.conf file ( but there was NO grub. Conf) there is a grub folder that have a menu.lst file. 10. I changed toe file /etc/mkinitrd/mkinitrd.conf (set MODULES=dep) and change MKIMAGE=''/usr/local/sbin/mkext2fs %s %s > /dev/null'' but there is no mkext2fs attached. I try to use a previous Lustre-discuss dated on Tue, 18 Jan 2005 11:11:42 +1100, but it could not give me any more help. Can you please help? Let me know please if you have any question. Thank you again. JT ----------- Pencil, Paper, and FPGA... what else do I need...? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20060212/229bb6f6/attachment.html