[00:01] h01ger: jo [00:02] juri_: hmm, but it doesn't know ahwt the most important fai is :) [00:03] h01ger: BTW: apt-mirror sagte, es waeren sowas wie 52 GB, aber ohne etch, weil ich das erstmal nicht laden wollte - habe ich noch [04:34] actually, i was just talking to a google employee. they know fai, the fully automated installer. :) [05:22] juri_, and yet they/someone there invented "slack". (which i found very similar to fai, little differences and less features) [06:13] moin; what's the recommended way to use --arch $FOO for debootstrap inside fai dirinstall? I'd like to install a i386 system on a amd64 host [06:14] h01ger, i utterly failed to use taskinst on edu packages. I can not make it predictable. so i have replaced tasks with package lists. is this a problem with the taskinst or with edu's packages ? [06:16] sep, i have no idea, ask pere :) [06:16] Action: h01ger needs to pack and leave for the airport.. [06:17] have a good trip [06:17] mikap, i'm not sure this is recommended or has been done (often). its pretty easy+straightforward to create a 2nd nfsroot though.. (and has its obvious drawback: space) [06:17] sep, thanks :) [06:17] and see you soon :) [06:18] h01ger: ok, so I should add such a feature on my own? I need the feature during runtime, no possibility to pre-generate a chroot/nfsroot [06:19] ah wait, shouldn't it be enough to use: [06:19] FAI_DEBOOTSTRAP="--arch i386 sid http://ftp.de.debian.org/debian" [06:19] instead of: [06:19] FAI_DEBOOTSTRAP="sid http://ftp.de.debian.org/debian" [06:19] ? [06:19] oh, even FAI_DEBOOTSTRAP_OPTS exists :) [06:20] :) [06:20] this even answers my question I think ;) [06:20] thanks for listening ;) [07:03] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [07:04] MT yes i am still here [07:04] hi :-) [07:04] could you do another setup_harddisks_2 test? [07:05] i even replaced the 3 sleeps with udevsettle --timeout=10 and reinstalled and it worked perfectly here [07:05] i assume that was what you wanted to test ? :) [07:05] yes :-) [07:05] great, thanks! [07:05] thus I'll commit that one ... [07:08] :) [07:08] did stockholm already try the setup with lvm2 in FAIBASE? [07:08] MT, not to my knowledge [07:09] [stockholm] idle 64:41:15, think not [07:09] ok, never mind [07:09] but now it does work reliably for you sep, doesn't it? [07:09] yeah [07:10] i'v reinstalled this box 3 times yesterday, no issues (with lvm and boot) [07:10] and once today [07:10] and am about to do it again :) [07:10] but you still do the dd/hdparm thing, don't you? [07:10] yeah i have to [07:10] otehrways it reuses the previous lv's [07:11] ok, I'll try to figure that out at the dev-workshop in Essen [07:11] ofcourse it works as long as you accidently use the same partition layout :P but that's just coincidence [07:13] moin [07:18] ErKa (keryell@m5.wifi.enstb.org) joined #fai. [07:38] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [08:04] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [08:12] baldy_ (baldy@brain.servercrew.de) joined #fai. [08:13] stockholm (~andreas@petrus.schuldei.org) got netsplit. [08:13] h01ger (~holger@socket.layer-acht.org) got netsplit. [08:13] lazyb0y (~henning@v683.vanager.de) got netsplit. [08:13] juri_ (Uay6R74Bjb@volumehost.com) got netsplit. [08:13] sep (~sep@40.211.jostedal.no) got netsplit. [08:13] maswan (maswan@kennedy.acc.umu.se) got netsplit. [08:13] torkel (torkel@monsun.hpc2n.umu.se) got netsplit. [08:13] baldy (baldy@brain.servercrew.de) got netsplit. [08:13] \sh_away (~shermann@server3.servereyes.de) got netsplit. [08:13] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection [08:14] stockholm (~andreas@petrus.schuldei.org) returned to #fai. [08:14] sep (~sep@40.211.jostedal.no) returned to #fai. [08:14] h01ger (~holger@socket.layer-acht.org) returned to #fai. [08:14] lazyb0y (~henning@v683.vanager.de) returned to #fai. [08:14] juri_ (Uay6R74Bjb@volumehost.com) returned to #fai. [08:14] \sh_away (~shermann@server3.servereyes.de) returned to #fai. [08:14] maswan (maswan@kennedy.acc.umu.se) returned to #fai. [08:14] torkel (torkel@monsun.hpc2n.umu.se) returned to #fai. [08:14] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [08:14] \sh_away (~shermann@server3.servereyes.de) left irc: Ping timeout: 480 seconds [08:24] baldy (baldy@brain.servercrew.de) got lost in the net-split. [08:28] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [08:57] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection [08:57] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [09:14] allee (~ach@allee.mpe.mpg.de) left irc: Remote host closed the connection [09:20] allee (~ach@allee.mpe.mpg.de) joined #fai. [09:46] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [09:46] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [10:26] ErKa (keryell@m5.wifi.enstb.org) left irc: Ping timeout: 480 seconds [11:22] woffs (~woffs@osiris.taz.de) joined #fai. [11:45] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [11:46] Action: oz_ hat nun faiserver.ph-freiburg.de [11:46] jetzt kann das hier endlich mal was werden [12:09] h01ger: ? [12:09] hat jemand h01ger gesehen? [12:09] ist der in spanien? [12:09] stockholm, i belive he left for the airport [12:10] we wanted to meet [12:10] (assuming my guess to what you asked about was correct) [12:10] in madrid [12:10] right :-) [12:11] stockholm, did you get a chance to retry root on lvm ? [12:12] sep: i will try today, but i did not so far [12:14] stockholm, did you get the (hopefully!) solution of adding lvm2 to your client's config? [12:25] MT: no, not yet [12:26] i am preparing my trip to spain [12:26] MT: but i will try stuff tonight or now, depending on how well things go :-) [12:27] yeah, no need to hurry [12:28] MT: can you tell me what changed? [12:28] the wiki page :-) [12:28] well, there seems to be one important point that we missed [12:28] you need to have lvm2 in the package_config of the client that you install [12:38] was that all? i think i had that already [12:39] well, you might need the update-initramfs call [12:39] but otherwise that at least solved the issue for sep [12:39] thus we hope to have found the general clue to this issue ... [12:40] Action: stockholm checks out the wiki page [12:44] so the only change is to add lvm2 to FAIBASE? [12:45] i did not have it there [12:45] well' it seems so [12:45] not necessarily FAIBASE [12:45] and grepping for lvm2 in my config dir did not turn it up either [12:45] but any class your client uses [12:45] ah :-) [12:45] so i might have imagined things [12:48] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Remote host closed the connection [12:48] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [13:02] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [13:40] i-R2D247 (~deed@tor-irc.dnsbl.oftc.net) left irc: Read error: Connection reset by peer [13:41] i-R2D247 (~deed@tor-irc.dnsbl.oftc.net) joined #fai. [14:48] sobersabre (~bilbo@89-139-26-158.bb.netvision.net.il) joined #fai. [14:48] hi guys [14:48] I am trying to work with classes. [14:48] my 1st step was to browse /srv/fai/classes and edit some files in /srv/fai in general [14:49] then I tried to boot machines, but they always used the default configuration [14:49] do I have to define the new classes in some other way ? [14:49] is there a command or something ? [14:49] sobersabre: fai-class [14:50] and the order of appearance in the FAI_CLASSES file on the installed client is important [14:50] hm... what have I manually missed then ? [14:50] last class has highest priority [14:50] OK [14:53] hm... I am still confused. [14:53] please let me write some crap, and then stop me when I go too far. [14:53] but if I'm correct... confirm. ok ? [14:54] I understand "class" as a set of configuration for end-workstation, the client. [14:54] so, if I have 20 dev. statiojns and 30 production workernodes, I'd make 2 sets: DEV and PROD [14:54] 2 classes. [14:55] so 1st question is: how does the fai system knows which class to apply a given machine ? [14:55] 16:50 < oz_> last class has highest priority [14:55] 16:50 < oz_> and the order of appearance in the FAI_CLASSES file on the installed client is important [14:55] :-) [14:56] sorry, but just read again... [14:56] most ppl find this difficult [14:56] I understand that it happens via the fai/config/class/50-host-classes [14:56] script. [14:56] but it's only difficult becuse it's so simple. ;) [14:56] oz_: I just want it in ... sloppy words :) [14:57] so, am I wrong ? [14:57] ( so far ) [14:58] no, you're right [14:58] ok. [14:58] My problem now is that I am trying to run client, and it should pickup the class [14:58] but it doesn't [14:58] it goes only for FAIBASE [14:58] and the hostname is not set properly, it is set to be hostname==IP address. [14:59] show me your FAI classes file (on pastebin, or you webserver, don't paste it in irc...) [14:59] THANKS. moment. [15:00] I have to leave in some minutes... [15:00] can I answer later on? [15:06] hmm.... [15:06] i have a idea. [15:07] i think a lot of you have encounterd disks rename-ing them selfs all the time. [15:07] Lin (~igor@200.179.57.57) joined #fai. [15:07] my tip would to implement using /dev/disk/by-path/ instead to sort the disks to a absolute order to get rid of the problem.... [15:08] ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [15:10] sobersabre: please post your fai.log, then we can see why you client only belongs to one class or only uses a certain class. [15:24] guys, I am confused a bit more. [15:26] Mrfai: are you here ? [15:26] I am reading the fai guide. [15:26] I have really not a bad understanding of english. [15:27] please tell me I am not understanding the instructions. [15:27] but hell WHAT am I missing ? [15:28] I don't understand what the author means by "define classes" [15:28] sobersabre: put your fai.log to paste.debian.net, then I can explain you the classes [15:28] ok [15:29] there are several fai.log files. [15:29] which do you want ? [15:29] of the server ? [15:29] the layout is /var/log/fai// [15:30] and then "last", "noaction" etc. [15:30] which do you need ? [15:31] I want to have fai.log [15:31] The fai.log of your install client [15:31] ok [15:37] Action: h01ger waves from madrid and answers stockholm on #-edu where daniel also is [15:38] http://pastebin.com/d30f1bda6 [15:40] Mrfai: have you found anything except the hash ? [15:41] :-/ [15:43] sobersabre: line 42: List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC GRUB 132 LAST [15:43] yes [15:43] there are no classes I "manually created" [15:44] which folder do I give fai-class command, if my fai is configured in /srv/fai ? [15:44] /srv/fai/conf ? [15:44] fai-class is automatically executed. [15:44] I understand. [15:44] line 13: # [15:44] # [15:44] how do I add a class then ? [15:44] Configuration space ds-jsb:/srv/fai/config mounted to /var/lib/fai/config [15:45] true. [15:45] so it is mounted ok, [15:45] So you need to add classes on host ds-jsb [15:45] in directory /srv/fai/config [15:45] I _think_ I did [15:45] classes are defined by using script in class. So I mean /srv/fai/config/class/.... [15:45] What did you did? [15:47] I have run fai-class /srv/fai/config FAI_CLASSES [15:47] but it added only: [15:47] You never run this command! [15:47] hm.. [15:47] ok. [15:47] Just edit the 50-host-classes script for example and add your new class to it [15:48] I can paste it. [15:48] then reboot your client, and it should belong to this new class [15:48] look at it. [15:48] ok. Just paste the importatn lines [15:50] http://pastebin.com/d1263bf53 [15:50] I played with the regexps. maybe this is what messes them up. [15:51] I also don't understand why the hostname is set to be the IP. [15:51] the DNS is working fine. [15:51] your dhcpod.conf is not fine [15:51] have a look at fai.log [15:52] which line ?! [15:52] line 42, the list of classes [15:52] is says 132 before the last word LAST. Normally this is you hostname. [15:52] In your environment it's the first part of the IP address IMO [15:53] kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) joined #fai. [15:53] hello [15:53] add this line to your dhcpd.conf: [15:53] use-host-decl-names on; [15:55] Mrfai: I have fixed-address .; [15:55] in each host's section [15:55] is it wrong ? [15:55] shall I delete the . part ? [15:56] sobersabre: do you have use-host-decl-names on in your dhcpd.conf? [15:57] no. but ... how can a PXE host declare hostname ? [15:57] I mean PXE client. [15:57] it has no name. [15:57] only MAC address. [15:58] please sorry for nagging questions. [15:58] must understand what's wrong. [15:58] the DHCP can declare a hostname then it's also defined in /etc/hosts on the install server [15:58] true. [15:58] it is. [15:58] the fai-doc pacakge has a smaple dhcpd.conf. HAve a look at iti [15:58] I have both hosts and DNS setup properly. [15:58] and use use-host-decl-names on; [15:59] ok. I will now. but what does it do ? makes dhcpd use host declared name ? but host cannot know its name at PXE boot time. [16:00] your client will get also the hostname from the DHCP instead of only the IP address. [16:01] OK. so it's the opposite from what I thought! [16:01] thanks! [16:02] BTW, it this works, I recommend to upgrade from FAI 3.1.8 to 3.2.1. [16:02] s/it/if/ [16:03] I have currently fai 3.2.1 [16:04] hm.. I am using dhcpd3-server. maybe this is the problem ? [16:05] sobersabre: But your fai.log say's your are using 3.1.8 [16:05] dhcp3-server is fine. [16:05] ad use-host-decl-names on. [16:06] trying the client... moment. :) [16:07] son of the biatch! [16:07] it worked! [16:08] it picked up my class. [16:08] :) [16:08] hm... [16:08] now for the next action item! [16:09] Action: sobersabre deeply bows to Mrfai for the patience! [16:09] sobersabre: don't forget the fai questionnaire. You know it? [16:10] Hey guys I has been reafing all the conversation and want to let you know that I think will be much easier for me to understand ... :) hopefully I do not run into many problems [16:10] :) [16:10] Mrfai: no. [16:10] where it is ? [16:10] Mrfai: I will be continuing configuring mine in a couple of minutes maybe half an hour [16:11] Mrfai: are you planning in stay here for some more time, by the way I hope to have just a few questions, I has been reading your conversation with sobersabre and It answer couple of questions for me already [16:11] sobersabre: http://www.informatik.uni-koeln.de/fai/questionnaire [16:13] Vielen Dank, Mrfai. Schoensten auch. [16:13] jair: I think I will be here the whole evening. [16:13] Mrfai: :D thank you danke :) [16:13] sobersabre: Bitte schoen. War angenehm dir zu helfen. [16:14] I think we can start so I can finish with the couple of questions I have. [16:14] ok [16:16] Mrfai: 1) I did install and finish the fai setup successfully. I got the two lines => make-fai-nfsroot finished properly. and FAI setup finished. [16:16] Which fai version? [16:17] now I have the examples of the classes copied into the directory indicated on the guide [16:18] latest 3.1.8 0 [16:18] sorry [16:19] 3.2.1 [16:19] I am on the section 3.3 of the guide [16:20] and all i think I need is understand the classes, decide if I will be using dns or hostnames hardcoded. [16:22] so my question will be what will be next.../usr/share/doc/fai-doc/examples/simple/ [16:22] I am checking those examples [16:22] yay, my install attempt succeeded with lvm [16:22] stockholm: will be great if you can document that for fai newbies :( [16:24] jair: it was the lvm2 thing, i just had to follow the (changed) documentation in faiwiki [16:25] stockholm: this means that now I can use the fai installation on 40 computers all with the lvm2 configuration i decide ;) [16:25] Mrfai: I do not blame you, you may be having a break :) [16:26] stockholm: what will be next step after finishing the fai setup [16:26] stockholm: I finish it and it works properly. [16:26] I mean the setup finished like on the web site say [16:26] the configuration and admin stuff with softupdates [16:26] I do not have dns set up yet [16:27] I already configured the install server using approx, and the other ip details but just for the install server. I havent start yet with the install clients [16:32] woffs (~woffs@osiris.taz.de) left irc: Quit: Leaving. [16:39] kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) left irc: Quit: reboooot [16:44] jair: next thing is to set up DHCP and boot your first install client. Use fai-chboot to boot the memtest86+ binary. That's a nice test to see if PXE, TFTP, DHCP is working [16:45] Action: Mrfai switches to screen session [16:45] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [16:46] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [16:50] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [16:57] hm... [16:58] another problem [16:59] Mrfai: alright, I have dhcp installed on the fai server but I haven't change anything... I did install the memtest86 package and copy it the way you told me to the directory "/srv?... forgot" and copy it with the name without the .bin [16:59] Mrfai: do I need to edit anything on the dhcp server on the fai server? [17:01] Mrfai: This is my environment => a vlan with the fai server on it and 25 Thinkcentre IBM/Lenovo machines. Not DNS on FAI set up but DNS for the vlan is set up. [17:02] The vlan also have it's dhcp but i can put the whole environment in a different vlan with another dhcp server or just static ips. [17:04] hm... [17:10] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [17:12] is there a way to make a partition after the 1st partition ? [17:12] I mean to skip 1 partition. [17:12] I have dual boot machines. [17:12] preserve partition 1 [17:13] read the fai guide, look at the section about disk_config [17:13] h01ger: thanks!!!! [17:13] I will now bookmark it. [17:13] thanks ! [17:13] bye [17:13] sobersabre (~bilbo@89-139-26-158.bb.netvision.net.il) left irc: Quit: leaving [17:27] jair: your install clients must get an IP address from your DHCP, no mater if you are using vlan or a plain subnet. [17:27] alright [17:27] jair: boot your client via PXE. What happens? [17:28] I have dhcp from the dhcp server authoritative... but I though that the fai dhcpserver will be the one doing that. [17:28] hold on Mrfai, do i need to put the install server on the same vlan as the clients? [17:28] I am assuming that this is yes [17:29] also, what dhcp server will i use the one from the install server or the dhcp server I have configure for my other vlans? [17:29] I don't know. I'm not familiar with vlan's. [17:30] it easier you only our dhcp on the install server is responsible for your vlan. [17:30] Mrfai: it is just a network segment. just 20 machines all in the same switch same subnet, same gateway IP [17:30] ohhh ok [17:30] I see [17:30] If two dhcp server answer to the same dhcp requests on a lan that may cause problems. [17:31] but again I haven't do any configuruation after the install or fai-setup. [17:31] ok I understand your point :) [17:31] jair: there's an example for dhcpd.conf in the fai-doc package [17:33] ok let me check that example and make sure mine make sense. [17:34] I really appreciate all your help Mrfai :) [17:34] jair: btw, you you have a real name? [17:38] so how do i get an initramfs that has the parts it needs to boot lvm volumes? [17:42] Mrfai: yes [17:43] It's nice if the real name is set in IRC [17:46] how do i chnage that Mrfai ? [17:51] xzu (~otto@brucester.a20.net) joined #fai. [17:53] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [17:55] jair: depends on your irc client. [17:57] this seems relevant [17:57] http://www.debianadmin.com/lvm_vs_udev.html [17:57] Mrfai: I use irssi [17:58] jair: me too. config: realname = "Thomas Lange"; [17:59] stockholm: [~]> grep lvm /usr/share/doc/initramfs-tools/TODO o lvm2 hooks to their respective packages [17:59] mm, maybe initramfs-tools are not yet ready for lvm2 [18:01] Mrfai: why do you say that? [18:02] just curious: what do you guys use, cfengine or puppet? [18:02] I read something about a lvms hook for initramfs, but can't find it [18:02] xzu: shell scripts and cfengine. No puppet. [18:03] Mrfai: but I guess I need to go to the configuration file of the irssi correct? it is located on my home directory or etc/irssi.conf? [18:03] stockholm: http://lists.alioth.debian.org/pipermail/pkg-lvm-commits/2006-December/000501.html [18:03] Mrfai: specific reason to not use puppet? [18:03] jair: in your home directory. But it was just a hint. [18:03] haha ok i will do that [18:04] xzu: puppet is too new IMO. Now widely used. Also read: http://www.techforce.com.br/index.php/news/linux_blog/massive_installation_management_tools_p_1 [18:04] jair: I mean it would be nice if everybody would set his real name. But it's not required here [18:06] Mrfai: cheers, i think redhat is going to push for puppet, so that could solve some issues [18:06] i'll read the article [18:06] thanks [18:10] kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) joined #fai. [18:15] Mrfai: but there the hooks are added [18:15] Mrfai: do you mean they are not in etch or what? [18:16] yep. It seems those are not in etch [18:17] Mrfai: then building them ourselfs externally seems to be the right thing. [18:17] http://www.debianadmin.com/lvm_vs_udev.html [18:19] stockholm: I would ask the initramfs-tools maintainer about the lvm(2) problem. I cannot see if your link says it should work with or without the additional hook. [18:21] stockholm: lvm2 in etch does not include the hook for initramfs. lvm in sid does include it [18:23] MT (~MT@dove.informatik.tu-muenchen.de) joined #fai. [18:24] stockholm: it was added in lvm2 (2.02.24-1), with some fixes in later versions [18:25] Action: Mrfai SIGFOOD [18:27] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [18:28] Mrfai: I will go get something to eat and come back to do the testing you ask me to after configure the dhcp :) [18:29] Mrfai: Danke Shon [18:30] :) [18:33] andreas@alioth:~$ getent group pkg-lvm-maintainers [18:33] andreas@alioth:~$ [18:33] so who is a member in that group? [18:42] Mrfai: if d-i can do it the infrastructure should be there, right? [18:48] kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) left irc: Remote host closed the connection [18:49] kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) joined #fai. [19:09] stockholm: ask the experts. I never used lvm, so I can only guess what may be missing. [19:09] i asked the experts. [19:09] no answer yet [19:10] i might ask the lvm maintainer mailinglist [19:10] good idea [19:12] stockholm, I just joined and obviously missed the point - what's going on with lvm? [19:13] looks like some sort of bug that you are talking about... [19:16] stockholm: ask the experts. I never used lvm, so I can only guess what may be missing. [19:16] damm, why doe it type this again? [19:16] MT: http://paste.debian.net/39902 last part of our discussion [19:16] MT: mounting lvm volumes works, but not from initramfs [19:18] so you can finally do LVM partitions, unless root is an LVM? [19:18] thx for the paste Mrfai! [19:19] MT: np [19:19] MT: right [19:20] MT: now i ask the lvm package maintainers how to invoke mk-initramfs in order to boot / from lvm [19:20] stockholm, on etch take a look at man /usr/share/doc/lvm2/examples/lvm2create_initrd.8.gz [19:21] Action: MT just looks into it [19:22] ahhh [19:24] Action: MT thinks that using a newer lvm2 package or a backported one is probably easier [19:27] is that a good option? [19:27] it is easy enough to do [19:27] saves some work, i would think [19:28] which solution do you consider to save work? [19:29] how do you read that? less and vim dont do the groff [19:30] MT: it would not be the "pure etch" solution, but that might be overkill anyway [19:30] man /usr/share/doc/lvm2/examples/lvm2create_initrd.8.gz [19:30] does the groff :-) [19:30] my less can read .[0-9].gz files. Define LESSOPEN ="|lesspipe %s" [19:30] MT: we could provide the backport in the fai repository that people would use non the less [19:30] Action: MT likes lesspipe too :-) [19:31] yes, that might be cool [19:31] I couldn't find the backport on backports.org [19:33] grrr, requires devmapper version from sid as well [19:36] well, and that in turn? [19:36] Action: stockholm just started rebuilding for etch [19:36] devmapper is fine [19:36] thx stockholm! [19:37] i will need to build that for amd64, too [19:37] Mrfai: are you still here, i came back from lunch [19:38] Mrfai: what do you think, is it a good solution to use sid lvm in etch for this? [19:41] stockholm: Mmm, I'm not sure. I would use lvm backport, if only a few packages needed to be backported. [19:42] If the new lvm2 hook help, just use this one. But anyway, ask the experts what they suggest [19:42] dennis_ (~dennis@bi01p1.co.us.ibm.com) joined #fai. [19:47] dennis_ (~dennis@bi01p1.co.us.ibm.com) left irc: Quit: leaving [19:49] Mrfai: I have the dhcp configured. But I have two questions about it. check this file please => http://paste.debian.net/39906 [19:52] in the part that say: dhcpd.conf for fai, that is the configuration of the dhcp that comes installed in the fai server. [19:53] host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;} what does this line exactly mean? [19:53] what do i suppouse to replace this with? [19:53] the name of the fai install server [19:54] or the mac address of the install server? [19:55] jair, that's the DHCP config of your client [19:55] no replace it with the name and MAC address of your install client [19:55] demohost will be the client you install using FAI [19:56] also I notice that in the dhcp example for fai the lines => range 10.66.21.2 10.66.21.101; option subnet-mask 255.255.255.0; option broadcast-address 10.66.21.255; are missing [19:56] jair: you have to adjust the IP ranges, for sure [19:56] adjust them you your local needs [19:56] MT: ohhhh ok this is the test I guess I wilol have to get all that information for all the pcs [19:56] Mrfai: ohh ok I see [19:57] it's important to add the MAC of your install client. Did you already grab the MAC? [19:57] but if I adjust the range and the broadcast address do i need still this line for each of the install clients? => host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;} [19:58] yep you need a line for each client [19:58] Mrfai: so i will need to add one line like host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;} per client [19:58] I see [19:59] I will need to do what you recommend on the guide to get the mac addresses then, I have around 120 machines three classrooms [19:59] sounds good then [19:59] I will do that Mrfai :) [19:59] Thank you MT as well [20:00] another question Mrfai, if I have to change the ip address of the install server, do i need to change the IP on the configuration files, hosts, and normal places where I place the ip correct. and then everything should work? [20:01] for example, right now I have my install server under the ip 10.66.17.20 and I will be changing it to 10.66.30.20, I just need to go to the make-nfs-root and fai.conf, hosts, files to do the change. [20:02] am I missing any other place? [20:03] you have to rebuild the nfsroot [20:03] ohhh [20:03] I think i will just leave it in that ip then :( [20:04] or just create the install server again in the other network [20:04] for now I think will be ok. [20:04] or check the etc/hosts and etc/fai/.. file inside the nfsroot [20:04] right, it sound like I should be able to change the ip there and then restart it [20:05] also on the dhcp server can I replace the name "faiserver" instead for another name the ip address of the fai instalkl server? [20:06] replace install server with the name of your install server. [20:06] I am not trusting to much on our dns server that is why i am hard coding the i[p [20:06] hmm [20:06] alright [20:06] hard coded IP are also fine. I prefer hostnames [20:07] I will just replace it and if I see errors I will just hard code the ip = name on the hosts file :D [20:07] Mrfai: thank you very much, I will go ahead and do the test. [20:07] so when I boot the machines should I tell it to run the testmem86...? [20:07] I will go ahead and let you know how it goes [20:07] Action: jair bow to Mrfai again ;) [20:08] be right back [20:28] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [20:28] Mrfai: hast du eine idee wie man die kernel-commandline ändern kann in fai (für lvm-root-boot)? [20:30] anscheinend ist der name des volumes wichtig [20:30] ich werde das mal anpassen in meiner partitioniertanweisung [20:31] keine Ahnung. Ich denke das gehoert in menu.lst rein [20:33] MT: da? [20:33] ja [20:33] waldi sagt dass der device name des volumes /dev/mapper/blah sein muss damit die magie funktioniert. [20:34] MT: bei mir hatte ich /dev/my_pv/blah [20:34] also /dev/my_pv/blah ist nur ein symlink auf /dev/mapper/my_pv-blah [20:35] MT: es wäre also eine masche das das echte file herauszufinden und anzugeben [20:35] MT: hast du eine idee wie das gehen könnte? [20:36] ja, muss kurz in den Code schauen [20:36] es gibt doch "realpath" oder so, gell? [20:36] readlink [20:36] wir wollen ja den endgültigen, nicht nur den nächsten [20:37] readlink -f [20:37] :-) [20:37] gut [20:41] MT: in perl gibt es -f nicht [20:42] nein, aber das normale readlink sollte ok sein [20:42] MT: da muss man es vermutlich rekursiv aufrufen oder solange bis es zweimal in folge das gleiche ausspuckt [20:42] MT: ach, du willst system()? [20:42] ja [20:42] ist readlink immer installiert? ... /me schaut welches paket das ist [20:43] ist AFAIK in the den coreutils [20:43] core... right [20:43] kugg (~jerkeby@c83-249-226-166.bredband.comhem.se) left irc: Ping timeout: 480 seconds [20:47] stockholm, ich hätte eine neue Version [20:47] yay [20:47] soll ich mal commit machen, kannst Du die dann testen? [20:48] ja, ich habe gerade schon versucht upzudaten :-) [20:48] mom, ich baue noch einen check ein [20:48] das ist bestimmt die letzte hürde! [20:48] sure. [20:48] yesyesyes!!! [20:51] ok, r4625 [20:52] sollte jetzt in fstab und als ROOT_PARTITION /dev/mapper/my_pv-blah liefern [20:52] ok [20:52] Action: stockholm installiert [20:56] (CMD) readlink -f /dev/my_pv/_root 1> /tmp/2hXE3QH9ks 2> /tmp/xiu6YFV2F0 [20:56] Use of uninitialized value in scalar chomp at /usr/lib/perl/5.8/shdd2-fstab line 176. [20:56] Use of uninitialized value in -b at /usr/lib/perl/5.8/shdd2-fstab line 179. [20:56] Failed to resolve /dev/my_pv/_root [20:56] MT: it died [20:57] kannst Du mal manuell readlink -f /dev/my_pv/_root ausführen? [20:57] aber wenigestens hab ich noch den check eingebaut, sodass er abgebrochen hat... [20:58] fai-client:~# readlink -f /dev/my_pv/_root [20:58] fai-client:~# [20:59] hm, muss das nicht in target laufen? [21:00] nö [21:00] /dev/mapper ist auch leer [21:00] ausser control [21:02] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [21:02] nein, da gibt es wieder fehler mit vgdisplay zuerst [21:03] sep: where was your dd solution? can you paste it again, please? [21:04] http://wiki.debian.org/DebianEdu/HowTo/FaiInstallDebianEdu#head-3ebeb84767ddff79e9ffb4663c3489826e0b5c0a [21:04] Action: MT is not sep, but anyway :-) [21:05] yeah, good enough :-) [21:05] stockholm, falls ich da einen bug reingemacht haben sollte, kannst Du auch Zeilen 172/173 in shdd2-fstab durch folgendes ersetzen [21:06] push @fstab_line, "/dev/mapper/$device-$l"; [21:06] aber ich glaube, die Lösung liegt wohl eher in den dd/hdparm-Aufrufen [21:07] nee, das ist kein bug von dir [21:07] ja, aber ich würde das so oder so ähnlich in -commands einbauen (also den dd aufruf) [21:07] und vorher noch dm_mod entladen [21:08] also schau einfach mal in den -commands code rein [21:08] eigentlich hätte ich es ja gerne so, dass er einfach die existierenden VGs erkennt [21:08] und dann aufräumt [21:08] aber das tut er wohl nicht [21:08] MT: die lvm infos stehen am anfang der jeweiligen partition. [21:08] ja [21:08] ja, schon, aber könnte er denn nicht einfach die alten VGs erkennen? [21:09] naja, er erkennt sie ja *irgendwie* [21:09] meiner Meinung nach wär nämlich in build_lvm_commands schon der Code da, der eben die alten logical volumes löscht und so [21:09] aber das ist bestimmt noch buggy, falls vgdisplay die denn überhaupt sieht [21:09] mit dem vgdisplay? [21:10] bzw. man müsste mal sehen, was man tun muss, damit vgdisplay die sehen kann [21:10] ich muss jetzt offline gehen, aber vielleicht kannst Du mal versuchen, das zu debuggen [21:10] ich werde es versuche. [21:10] oder eben die dd/hdparm sachen einfach reinbauen [21:10] ja, das werde ich erst machen [21:11] damit ich weiter komme [21:11] klar [21:11] falls Du dann Zeit zum debuggen hast, solltest vielleicht eher noch in shdd2-volumes reinschauen [21:12] get_current_lvm [21:12] _da_ sollte er eigentlich die alten Sachen finden [21:12] so, ich verschwinde mal ins Bett [21:13] stockholm, wenn Du Fragen hast, kannst auch gerne mailen [21:13] ich bin dann um ca. 8 Uhr morgens wieder online [21:20] ich bin vermutlich nicht am netz [21:20] sondern im flugzeug [21:21] MT (~MT@dove.informatik.tu-muenchen.de) left irc: Ping timeout: 480 seconds [21:38] here I have the dhcp fai configuration => http://paste.debian.net/39912 [21:39] as you can see I needed to comment out "deny unknown-cleints", otherwise we would not get a DHCP address [21:41] http://paste.debian.net/39913 <= this is the log file from the DHCP server [21:42] Now we are getting an IP address when booting from the network card, but after that it hangs on "TFTP open timeout" [21:43] is there anything we need to configure in the tftpd-hpa file to get it to properly connect to the boot agent? [22:29] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [00:00] --- Wed Oct 17 2007