Re: Install ext3fs with FAI

2002-01-18 Thread Sebastian Benoit

Blake Barnett([EMAIL PROTECTED])@2002.01.18 13:59:24 +:
> On Fri, 2002-01-18 at 12:13, [EMAIL PROTECTED] wrote:
> > Are you certain it's faster?  I don't know much about the particulars of how
> > ext3 is implemented, but I was under the impression that a slight performance
> > hit was the tradeoff for journalling. 

It depends on the definition of journalling :) ext3 has 3 different modes,
only in one mode it does full data journaling, so in that mode your data is
safe. In ordered mode, your file meta-data is journaled, your data may not
reach the disk, but you won't have old data in your files (or even data from
different files). And writeback mode means, that your filesystem structure
is guaranteed tom be consitent at any time, so your fsck does not have to
check the disk, just replay the journal up to the first bad transaction.
This means your fsck-time will be very short which is good for todays large
drives. see below for explanation (from mount(8))

> >From listening to Andrew Morton talk about it, he said that much more
> work has been put into ext3 for optimization than for ext2, so for some

Small to medium writes can actually be faster anyway: you just write append
data to the journal, you have no head movement on your disk. Once it's
written to the journal write() returns and to your application it seems
fast. A few seconds later the journal is written out to the actual position
on disk. 

Hope this helps ...
Benno

- snip -

 "mount -o data=journal"
Journals all data and metadata, so data is written twice. This
is the mode which all prior versions of ext3 used.

 "mount -o data=ordered"
Only journals metadata changes, but data updates are flushed to
disk before any transactions commit. Data writes are not atomic
but this mode still guarantees that after a crash, files will
never contain stale data blocks from old files.

 "mount -o data=writeback"
Only journals metadata changes, and data updates are entirely
left to the normal "sync" process. After a crash, files will
may contain stale data blocks from old files: this mode is
exactly equivalent to running ext2 with a very fast fsck on reboot.


-- 
Sebastian Benoit <[EMAIL PROTECTED]>



msg00468/pgp0.pgp
Description: PGP signature


Re: Problems with bootp and self-compiled kernels

2002-01-18 Thread Robert Rakowicz

Phil <[EMAIL PROTECTED]> writes:
Hi,

> Hi all!
> 
> I wanted to add aic7xxx support in the boot kernel (I don't know if it
> should have been loaded automatically as a module, but it did not do so)
> but I was not able to boot because the kernel did not send any bootp
> requests.

have You this problem solved ? I had same problem. I found a "litle" Bug
in kernels 2.2.18,2.2.19,2.2.20
Here is a patch for kernel-2.2.[18-20]

--- linux-2.2.20/net/ipv4/ipconfig.cSun Mar  25 18:31:12 2001
+++ linux-2.2.20.rr/net/ipv4/ipconfig.c Fri Jan  18 00:00:00 2002
@@ -87,8 +87,12 @@
  * Public IP configuration
  */
 
-int ic_enable __initdata = 0;  /* IP config enabled? */
-
+#ifdef CONFIG_IP_PNP
+   int ic_enable __initdata = 1;   /* IP config enabled? */
+#else
+   int ic_enable __initdata = 0;   /* IP config enabled? */
+#endif
+
 /* Protocol choice */
 static int ic_proto_enabled __initdata = 0
 #ifdef IPCONFIG_BOOTP

P.S Sorry for my englisch. Isn't my native language 

Pozdrawiam/Gruß/Regards
Robert Rakowicz
-- 
Robert Rakowicz
E-Mail: [EMAIL PROTECTED]
URL:www.rjap.de




Re: Install ext3fs with FAI

2002-01-18 Thread Blake Barnett

On Fri, 2002-01-18 at 12:13, [EMAIL PROTECTED] wrote:
> Are you certain it's faster?  I don't know much about the particulars of how
> ext3 is implemented, but I was under the impression that a slight performance
> hit was the tradeoff for journalling. 

>From listening to Andrew Morton talk about it, he said that much more
work has been put into ext3 for optimization than for ext2, so for some
things ext3 can out-perform ext2.  I'm sure there are places where the
journaling does cause a speed loss but for everyday use it's probably
not even noticeable.

-- 
Blake Barnett (bdb)  <[EMAIL PROTECTED]>
Sr. Unix Administrator
DevelopOnline.com office: 480-377-6816

Learning is a skill, you get better at it with practice.




Re: Install ext3fs with FAI

2002-01-18 Thread chewie

> I managed to install ext3fs with fai (woody).

Excellent!

> The only things to change were to generate a kernel with ext3-support
> (2.4.17) for the target machine, set an extra step with 'tune2fs -j' in
> setup_harddisks after mke2fs (of course, make-fai-nfsroot), create a script
> EXT3 which changes the entries 'ext2' to 'ext3' in the fstab after
> installation (cfengine), define this script as a class for the target
> computer.

A suggestion: use the filesystem type "auto" instead of ext3.  At boot, your
kernel will pick the appropriate filesystem: ext3 if the fs is capable (already
tuned), or ext2 if not.  Additionally, you can still use recovery discs that
may only support ext2.

> Up to now its running without problems. And it seems to be faster than
> ext2fs. The relatively more faster the faster the cpu is.

Are you certain it's faster?  I don't know much about the particulars of how
ext3 is implemented, but I was under the impression that a slight performance
hit was the tradeoff for journalling. 

--
^chewie



Re: Woody roll-out

2002-01-18 Thread Thomas Lange

> On Fri, 18 Jan 2002 15:37:09 +0100, "Michael Renner" <[EMAIL PROTECTED]> 
>said:

> I'am very interested to migrade my system (RedHat 7.1, fully
> automaticly installed with a kickstart server, administrate with
> a commercial tool 'venus' to debian (which I prefer) togehter
The best thing you can do ;-)

> of them need different settings.  Is it possible to build
> conf-files on thy fly, depending on the monitor, the mouse and
If there's a debian tool that can create the configs, fai can use this
tool. I'm not sure if there's such a noninteractive tool for Debian.

> the graphic adapter?  I also need a powerfull tool to
> administrate the users, the nis maps, the computers themself. I
Administration of a system is not the aim of fai, but installation is.

> need to call commands on every maschine in addition, maybe in
> dependence of classes.
There's a script in fai to call a command on every host belonging to a
NIS netgroup. Have also look at cfengine.

-- 
Gruss Thomas



Install ext3fs with FAI

2002-01-18 Thread Albrecht Frank

Hi Folks,
I managed to install ext3fs with fai (woody).
The only things to change were to generate a kernel with 
ext3-support (2.4.17) for the target machine, set an extra
step with 'tune2fs -j' in setup_harddisks after mke2fs 
(of course, make-fai-nfsroot), 
create a script EXT3 which changes the entries 'ext2' to 
'ext3' in the fstab after installation (cfengine),
define this script as a class for the target computer.

An alternative is, let the script setup_harddisks accept
the option -j for mke2fs.
(Sorry, my knowledge in perl is to little).

Up to now its running without problems. And it seems to
be faster than ext2fs. The relatively more faster the 
faster the cpu is.

Greetings
Albrecht



Re: Woody roll-out

2002-01-18 Thread Blake Barnett

Well, after looking closely at things, it looks like there's not much to
change other than a few settings in fai.conf and package names.  I was
thinking there would be something fairly major to bite me.  I'm making
good progress now.

On Thu, 2002-01-17 at 20:36, Phillip Smith wrote:
> 
> 
> On 17 Jan 2002, Blake Barnett wrote:
> 
> > Do you know of any successful implementations?  (say.. 15-50 servers..)
> > Anyone I could use as a reference?  I don't want to waste a lot of time,
> > and I definitely don't have that luxury at this point.
> >
> > I appreciate your quick response, and your help.
> >
> 
> I have FAI 2.2.3 working just fine under woody on our 32 node
> beowulf cluster (it's been working for quite some time).  The only
> problem I encountered at the time was a few problems with debootstrap,
> which have probably been fixed by now.
> 
> Was there something specific you wanted to know?
> 
> -phillip
> 
> 
> Phillip Smith
> UNIX Systems Administrator
> Geophysical Sciences Computing
> NSIT, University of Chicago
> 
> Phone:  773-834-0695
> E-mail: [EMAIL PROTECTED]
> 
-- 
Blake Barnett (bdb)  <[EMAIL PROTECTED]>
Sr. Unix Administrator
DevelopOnline.com office: 480-377-6816

Learning is a skill, you get better at it with practice.




Re: Woody roll-out

2002-01-18 Thread chewie

Blake Barnett said:
> Do you know of any successful implementations?  (say.. 15-50
> servers..)  Anyone I could use as a reference?  I don't want to

Yes. Ours. ;-)  I'm working for the Institute for Mathematics and its
Applications (IMA) at the University of Minnesota.  I've used our
woody-based FAI to install a number of minimalistic servers as well as
full-blown workstations.  There are lots of network topology, NFS, NIS
and software cleanup to do, so documentation and publication of our
setup hasn't really been at the forefront of my TODO list.  The good
news is that I've got most of the desired packages to install cleanly,
and the third-party software packages -- mathmatica, matlab, maple, etc.
-- are successfully being run via NFS automounts.

I am attempting to write up texinfo documentation (I need to learn emacs
again to take advantage of the texinfo mode) for our sysadmins on "how I
did it" and users for "what does it mean to me", so the website articles
won't be far behind (texi2html and into2www are great).  

I am CVS controlling our templates, and using a wonderful little Perl
tool called cvs2cl to keep track of the ChangeLog's.  One thing I want
to do is tie in an auto-update of the CVS working directory checked out
on our FAI server.  That way, whenever I tag a file as CURRENT_RUNTIME,
it'll launch the 'cvs update' on the FAI server. ;-)

I'd also love to take advantage of the use of cfengine on each machine.
I've come to really appreciate the tool in the configuration of the
boxes during installation, and I can only see my systems management
becoming easier with its use site-wide.

I haven't been able to convince my boss to run everything under Debian,
but he's got some good points for running the "other" Linux distro.  I
do amuse him with my evalgelism, though. ;-)

I may convince the Math department into using a similar setup.

Thomas Lange said:
> I'm always looking for references, but no one makes a little web page
> or write a short "how I did it". I would like to collect links to
> installations using FAI, but there are few people giving me a link.
> Some other installations (but too few):
>   http://www.informatik.uni-koeln.de/fai/other.html
> 
> Look also at: http://www.informatik.uni-koeln.de/fai/search4inst.html

I'll look into putting up a cursory website, soon.  

--
Chad Walstrom <[EMAIL PROTECTED]>



Re: Woody roll-out

2002-01-18 Thread Michael Renner

On Friday 18 January 2002 11:16, Thomas Lange wrote:

> I'm always looking for references, but no one makes a little web page
> or write a short "how I did it". I would like to collect links to
> installations using FAI, but there are few people giving me a link.
> Some other installations (but too few):
> http://www.informatik.uni-koeln.de/fai/other.html

I'am very interested to migrade my system (RedHat 7.1,
fully automaticly installed with a kickstart server,
administrate with a commercial tool 'venus' to debian
(which I prefer) togehter with fai.
But the requirements in my Max Planck Institute are
high.
I have a bunch of computers (single pentium, dual pentium,
dual athlon) with 'normal' monitors and LCDs.
Some of them have 3 botton mice, some have a wheel
mouse. Therefor all of them need different settings.
Is it possible to build conf-files on thy fly, depending
on the monitor, the mouse and the graphic adapter?
I also need a powerfull tool to administrate the users,
the nis maps, the computers themself. I need to
call commands on every maschine in addition,
maybe in dependence of classes.

If all of this is possible I will start to test woody
together with fai soon.
Here are 30 high end PCs waiting for fai ;-)

I hope somebody can answer my questions or point
to a manual.

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]  |
|D-72072 Tuebingen   Germany|
|Germany Don't drink as root!  ESC:wq



Re: Woody roll-out

2002-01-18 Thread Thomas Lange

> On 17 Jan 2002 12:49:53 -0700, Blake Barnett <[EMAIL PROTECTED]> 
>said:

> Do you know of any successful implementations?  (say.. 15-50
> servers..)  Anyone I could use as a reference?  I don't want to

I'm always looking for references, but no one makes a little web page
or write a short "how I did it". I would like to collect links to
installations using FAI, but there are few people giving me a link.
Some other installations (but too few):
http://www.informatik.uni-koeln.de/fai/other.html

Look also at: http://www.informatik.uni-koeln.de/fai/search4inst.html

-- 
 Thomas