Re: / under soft raid 1.

2007-11-28 Diskussionsfäden Rudy Gevaert

Michael Tautschnig wrote:

Hi!


I am looking for a solution to install my debian etch servers.
I need to install my / under soft raid 1.

Is it possible to do it with FAI?
Is there any doc , url, ... explaining how to do it?
I plan to use gosa with the fai mode. Is raid install possible?

Thanks for any help. I have tryed d-i preseed for 2 weeks with any sucess .



Actually, this is supposed to be integrated with FAI 3.3; for the moment you
need to do some manual steps: Take a look at
http://faiwiki.debian.net/index.php/Storage_Magic, which documents to proposed
new tool and the necessary steps to run it.


Nice to see this is being worked on.  However I didn't see any 
possibility to add a disk label.  Or did I miss that?


Rudy

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep SystemenSystems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Re: / under soft raid 1.

2007-11-28 Diskussionsfäden william Famy

Michael Tautschnig a écrit :

Hi!


I am looking for a solution to install my debian etch servers.
I need to install my / under soft raid 1.

Is it possible to do it with FAI?
Is there any doc , url, ... explaining how to do it?
I plan to use gosa with the fai mode. Is raid install possible?

Thanks for any help. I have tryed d-i preseed for 2 weeks with any sucess .



Actually, this is supposed to be integrated with FAI 3.3; for the moment you
need to do some manual steps: Take a look at
http://faiwiki.debian.net/index.php/Storage_Magic, which documents to proposed
new tool and the necessary steps to run it.

_
[wf:]
Thanks
I will user this doc .

I'll be ok to manage test if they're planed.

Regards


Hope this helps,
Michael



Re: Problems booting FAI from network, problems mounting nfsroot

2007-11-28 Diskussionsfäden Holger Levsen
Hi,

On Wednesday 28 November 2007 12:46, Thomas Lange wrote:
> This mail explains some common problems with FAI >=3.2 which uses a
> kernel with initrd and how to fix them.

Shouldnt this be copied into the guide into a troubleshooting section?


regards,
Holger


pgpGJRJjDUecX.pgp
Description: PGP signature


Re: / under soft raid 1.

2007-11-28 Diskussionsfäden Michael Tautschnig
Hi!

> I am looking for a solution to install my debian etch servers.
> I need to install my / under soft raid 1.
>
> Is it possible to do it with FAI?
> Is there any doc , url, ... explaining how to do it?
> I plan to use gosa with the fai mode. Is raid install possible?
>
> Thanks for any help. I have tryed d-i preseed for 2 weeks with any sucess .
>

Actually, this is supposed to be integrated with FAI 3.3; for the moment you
need to do some manual steps: Take a look at
http://faiwiki.debian.net/index.php/Storage_Magic, which documents to proposed
new tool and the necessary steps to run it.

Hope this helps,
Michael



pgphU7VvWMVDU.pgp
Description: PGP signature


Installing ruby gems

2007-11-28 Diskussionsfäden Ulrich Kortenkamp

Hi,

we have a working fai installation here, and I would like to install  
Ruby on Rails on the fai clients. It's no problem to add the ruby  
packages, but in order to install rails I have to use the ruby package  
management tool gems. I thought that adding a script that calls


gem install --include-dependencies rails

should do the job, but it doesn't. I could use fcopy to just copy the  
files to the client after installation, but that seems to be a bad  
workaround. Is there a proper way to do this?


thanks,

Ulli 
 


/ under soft raid 1.

2007-11-28 Diskussionsfäden william Famy

Hello .

I am looking for a solution to install my debian etch servers.
I need to install my / under soft raid 1.

Is it possible to do it with FAI?
Is there any doc , url, ... explaining how to do it?
I plan to use gosa with the fai mode. Is raid install possible?

Thanks for any help. I have tryed d-i preseed for 2 weeks with any sucess .

Regards


hello

2007-11-28 Diskussionsfäden william Famy

Hello.  mailing list.

I am a french teacher in south of france.

I work (sys admin) at school with debian for my servers. I use Vserver 
xen I plan to use in near future FAI and Cfengine.



regards


Re: Configuring Video Cards.

2007-11-28 Diskussionsfäden Thomas Lange
> On Wed, 28 Nov 2007 10:52:04 +0100, Castang Jerome <[EMAIL PROTECTED]> 
> said:

> Using base config files inculded in fai, ati video cards are not well 
> configured on computers.
> Xorg should automaticly add "ati" driver in xorg.conf, but simply add 
> "vesa" (so xorg doesn't work).
Mmm, it work perfectly for me and others. Check if you have this in
your debconf/FAIBASE file and that your machine belongs to this class.

debconf/FAIBASE: xserver-xorgxserver-xorg/autodetect_video_card  
boolean true


> Using hooks to make a script (using lspci, grep and fglrx) can resolve 
> my problem ?
> Or is there another way to setup graphic cards ?
You may define the driver by using this debconf data:

xserver-xorgxserver-xorg/config/device/driver   select  mga

-- 
regards Thomas


Re: Problems booting FAI from network, problems mounting nfsroot

2007-11-28 Diskussionsfäden Thomas Lange
This is the bug report concerning the last post.
http://bugs.debian.org/453294
-- 
regards Thomas


Problems booting FAI from network, problems mounting nfsroot

2007-11-28 Diskussionsfäden Thomas Lange
This mail explains some common problems with FAI >=3.2 which uses a
kernel with initrd and how to fix them.

- I you have problems booting FAI via kernel and initrd and mounting the
  nfsroot over NFS. Sometimes you even see the mount request on the
  NFS server.

- If you boot from fai-cd but do not use the nfsroot from CD but using
  root=/dev/nfs and ip=dhcp

- If you boot via PXE but did not create the pxelinux/cfg by using the
  command fai-chboot

- When (or after) trying to mount the nfsroot you see:
  short read 0<28. And the initrd tries to mount again and again

Read the messages on the console which scripts are executed.

This is WRONG:

Begin: Mounting root file system...
Begin: Running /scripts/nfs-top


Instead, you should see this:

Begin: Mounting root file system...
Begin: Running /scripts/live-premount


You should not see scripts with name nfs-* get executed, instead the
live-* script should be executed. Check the parameters that you've
appended to the kernel: 

Example (wrong):

kernel /boot/vmlinuz boot=live FAI_FLAGS="verbose,createvt" FAI_ACTION=sysinfo 
ip=dhcp root=/dev/nfs nfsroot=/srv/fai/nfsroot

Example (correct):

kernel /boot/vmlinuz root=/dev/nfs boot=live FAI_FLAGS="verbose,createvt" 
FAI_ACTION=sysinfo ip=dhcp nfsroot=/srv/fai/nfsroot


The order of the boot= and root= parameters are important, because
root=/dev/nfs also sets boot=nfs and so a previous boot=live
definition will be overwritten and the wrong script are executed.

This bug is present in the combination of initramfs-tool 0.85h and
live-initramfs 1.110.7~200711. 


BTW: You can debug problems inside the initrd, when you boot your
kernel and initrd and append break=mount as kernel parameter. Then you
will get the shell from initramfs before it tries to do the nfs
mount.

-- 
regards Thomas


Configuring Video Cards.

2007-11-28 Diskussionsfäden Castang Jerome

Hello,

Using base config files inculded in fai, ati video cards are not well 
configured on computers.
Xorg should automaticly add "ati" driver in xorg.conf, but simply add 
"vesa" (so xorg doesn't work).


Using hooks to make a script (using lspci, grep and fglrx) can resolve 
my problem ?

Or is there another way to setup graphic cards ?

thanks,

--
Jerome Castang

Mail: [EMAIL PROTECTED]
Tel: +33(0)5 40 00 36 92