Re: setup-storage: set vgname to hostname

2009-09-29 Diskussionsfäden Jean Spirat
I prefer using my own variables in my own namespace and initialize them from a known good source - like $HOSTNAME. This may not be the most obvious solution, but this way you can guarantee that your variable has a valid value. And if $HOSTNAME turns out to be unrealiable - or undesired - then

Re: Starting a FAI installation using kexec

2009-05-27 Diskussionsfäden Jean Spirat
I might not fully understand your case, but on an already basic-installed system, I'd simply run fai softupdate. Wasn't kexec some system for changing the running kernel without reboot? Henning i think the goal here is to take any machine from a provider that you do not control via dhcp

Re: FAI 3.2.20 released

2009-05-04 Diskussionsfäden Jean Spirat
Thomas Lange a écrit : FAI 3.2.20 has been released. The command fai-cd has now a new option -B, which creates a small boot-only CD, which does not contain the nfsroot, the partitial mirror and the config space. It is meant for booting from CD or USB stick but then the kernel gets all other

Re: FAI 3.2.20 released

2009-05-04 Diskussionsfäden Jean Spirat
Thomas Lange a écrit : On Mon, 04 May 2009 13:26:55 +0200, Jean Spirat jeanspi...@squirk.org said: is there any changelog somewhere ? Is gpt-bios included in this one ? :) http://packages.debian.org/changelogs/pool/main/f/fai/current/changelog but it's currently only

Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Was expecting /\Z/ but found

2009-04-29 Diskussionsfäden Jean Spirat
hi, i got the same issue, i think this is corrected in the experimental release. For me at least it was (with gpt-bios working as well) :) regards, Jean.

Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found

2009-04-29 Diskussionsfäden Jean Spirat
Executing: mdadm --detail --scan --verbose -c partitions Lower bound of partition size is greater than disk size Error in task partition. Traceback: task_error task_partition task task_install task task_action task main Usually n order to solve this I need to manually invoke a dd if=/dev/zero

Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found

2009-04-29 Diskussionsfäden Jean Spirat
i agree that the error message could be a little different like: disk is not big enough for the settings or I don't want to talk to you no more, you empty headed animal food trough wiper. I fart in your general direction. Your mother was a hamster and your father smelt of elderberries,

Re: gpt disk label and /boot

2009-03-20 Diskussionsfäden Jean Spirat
Ok; it'll take me a few days to come up with a better solution (I don't think we can yet fully switch to grub-pc). Could you, in the meantime, just put some hack into your scripts to set BOOT_DEVICE to /dev/md0 to see which further errors we need to get fixed? Thanks, Michael for what i

Re: gpt disk label and /boot

2009-03-18 Diskussionsfäden Jean Spirat
That one should be fixed in 3.2.18+experimental4 which is just about to be built and uploaded, but please be ready for more errors... Thanks a lot for testing all the stuff, Michael this one worked for me with one issue only: in grub_pc the following line fails for mdx as it says:

Re: gpt disk label and /boot

2009-03-18 Diskussionsfäden Jean Spirat
Hmm, do you have any idea whether the version of grub that you are using has proper support for RAID devices? setup-storage does some hackery in that it sets BOOT_DEVICE to the actual devices that make up the RAID device because earlier versions of grub had no idea about RAID and LVM. I think,

Re: gpt disk label and /boot

2009-03-11 Diskussionsfäden Jean Spirat
For now, I've only added the gpt-bios stuff. Could you please try 3.2.18+experimental2? Thanks, Michael ii fai-client 3.2.18+experimental2 Fully Automatic Installation client package ii fai-doc

Re: gpt disk label and /boot

2009-03-11 Diskussionsfäden Jean Spirat
Jean Spirat a écrit : For now, I've only added the gpt-bios stuff. Could you please try 3.2.18+experimental2? Thanks, Michael then i tried this: disk_config /dev/sdadisklabel:gpt-bios primary - 500 - - primary

Re: gpt disk label and /boot

2009-03-11 Diskussionsfäden Jean Spirat
hum in fact i am unable to make it work even with dos partitions...Is this an issue with this version ? regards, Jean.

netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
Hello, I wanted to know if anyone use fAI to netboot a rescue disk on their system. I mean when a server is having issue and do not boot use the pxe boot and fai to use it to netboot a live system that will be used with parted and other filesystem tools to repair the system and chroot into

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
you can define actions on your own (for e.g. myaction) and boot them with FAI_ACTION=myaction. Therefore create the file hooks/myaction in the config space which will automatically be executed. Great ! Can you help me find the script used by sysinfo so i can customize it to my needs ?

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
But don't go editing exactly this file :) Write your own action, read the guide, and take this file as example. Henning Thanks ! yes this is what i want, take this as an exemple and create my hook with it. regards, Jean.

Re: netboot rescue disk with FAI

2009-03-03 Diskussionsfäden Jean Spirat
Most live cd's come with their own config and system for netbooting. I don't see a benefit of doing this with FAI. These systems most often have much more features than the FAI nfsroot when you use it with sysinfo instead of install. the goal here is to use the existing network

gpt disk label and /boot

2009-02-25 Diskussionsfäden Jean Spirat
Hi, I have some issue with gpt and grub and i just wanted to know if the setup-storage configure the /boot with the gui 21686148-6449-6E6F-744E-656564454649 (so that grub can use it). I do not know how to verify this at all some i am kind of lost :) of course things get complicated when

setup-storage LVM / RAID options ideas

2009-02-12 Diskussionsfäden Jean Spirat
Hi, I was just wondering if this would be possible use xxcreateopts= on disk_config lvm and raid to pass options to it. For exemple we could have : lvcreateopts=--stripes 4 --stripesize 256 vgcreateopts=--physicalextentsize 2k pvcreateopts=--metadatacopies 1 Same for raid to set the

using varaibles in setup-storage

2009-02-09 Diskussionsfäden Jean Spirat
hi, I just wanted to know if we can use variables in setup-storage config files ? I wanted to use the hostname to name my vg group and i wondered if this was possible. regards, Jean

Re: using varaibles in setup-storage

2009-02-09 Diskussionsfäden Jean Spirat
Jean Spirat a écrit : hi, I just wanted to know if we can use variables in setup-storage config files ? I wanted to use the hostname to name my vg group and i wondered if this was possible. regards, Jean it seems this do not work at least with $HOTNAME for exemple, perhaps any other way

Re: setup-storage and AOE = fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-02-07 Diskussionsfäden Jean Spirat
Ok, I've added the suggested patches (with minor changes) to the experimental tree; could you please test 3.2.17+experimental2 (see http://faiwiki.debian.net/index.php/Main_Page#getting_FAI for info how to obtain the experimental builds). Thanks a lot, Michael r...@aqded01:/# dpkg

Re: GPT disklabels

2009-01-31 Diskussionsfäden Jean Spirat
my bad it seems this was an typo in the disk config that bring up this error. Gpt is working fine with udev :) Mounting /dev/sda4 to /target/boot [ 349.653872] EXT3-fs: sda6: couldn't mount because of unsupported optional features (40). mount: wrong fs type, bad option, bad superblock on

GPT disklabels

2009-01-30 Diskussionsfäden Jean Spirat
hi, It seems that setup storage support gpt partition type but from my test linux do not like it as udev utils do not see the disk correctly leading to fai problems: Parted works: Executing: udevsettle --timeout 10 parted -s /dev/sda mklabel gpt Executing: udevsettle --timeout 10

Re: setup-storage and AOE = fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-29 Diskussionsfäden Jean Spirat
to isolate the error message from the complete log this is: INTERNAL ERROR in setup-storage: end start Please report this error to the Debian Bug Tracking System. it was just that my test partition was too small for the config i had, the message is not very clear :) in

config space using GIT

2009-01-28 Diskussionsfäden Jean Spirat
Hello, i tried to use GIT for the config file path. I used: FAI_CONFIG_SRC=git+http://10.1.0.251/config and in the documentroot is : fai01:/# ll /var/www/nginx-default/config/ total 32 drwxr-xr-x 2 root root 4096 jan 28 00:31 branches -rw-r--r-- 1 root root 66 jan 28 00:31 config

Re: config space using GIT

2009-01-28 Diskussionsfäden Jean Spirat
ok error found, do NOT call you directory 'var/www/nginx-default/config/ ', i changed to 'configuration' and now it works... Jean.

Re: setup-storage and AOE = fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Diskussionsfäden Jean Spirat
I tried to change the file: /usr/share/fai/setup-storage/Init.pm i modified the regex in this part: : sub phys_dev { my ($dev) = @_; if ($dev =~ m{^/dev/(etherd/e\d+\.\d+)p(\d+)?$}) { defined($2) or return (1, /dev/$1, -1); return (1, /dev/$1, $2); } elsif ($dev =~

Re: setup-storage and AOE = fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Diskussionsfäden Jean Spirat
i also found in /usr/lib/fai/disk-info a regex where i added etherd: egrep ' etherd/e| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b' /proc/partitions | diskandsize is that enough ? regards, Jean.

Re: setup-storage and AOE = fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Diskussionsfäden Jean Spirat
Jean Spirat a écrit : i also found in /usr/lib/fai/disk-info a regex where i added etherd: egrep ' etherd/e| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b' /proc/partitions | diskandsize is that enough ? regards, Jean. i changed to egrep ' etherd/e

Re: setup-storage and AOE = fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Diskussionsfäden Jean Spirat
ok so now i got the etherdrive disk listed in the debug output but all fail nonetheless so i am lost at why the tool fail, here are the logs if it helps. regards, Jean. Calling task_install Calling task_partition Partitioning local harddisks using setup-storage Starting setup-storage

Re: FAI and debian live

2009-01-20 Diskussionsfäden Jean Spirat
a forward from some talk with the FAI guys.. perhaps you can help me here :) FAI only needs the live-initramfs package which provides the functions to boot from network, mounts the root file system via NFS and adds aufs (another unionfs) on top of it. Using aufs we have write access to all

Re: FAI and debian live

2009-01-20 Diskussionsfäden Jean Spirat
ok wrong list sorry :) Jean.

FAI and debian live

2009-01-19 Diskussionsfäden Jean Spirat
Hi, I wanted to know how is FAI using debian live. It seems to use the debian live-initramfs system but i wanted to know if you use anything else from the debian live project and how you interact with it :) Any little information you could provide ? regards, Jean.

Re: NFSROOT, for AOE booting

2008-12-23 Diskussionsfäden Jean Spirat
are you sure, that the initrd you are booting via pxe is really the one you have changed? I also need changes to the initrd and as there is currently no established method in FAI to do this. I use NFSROOT_HOOKS to run a script at the end of make-fai-nfsroot, which sets up the initramfs hooks,

making custom mkinitramfs

2008-10-21 Diskussionsfäden Jean Spirat
Hi, I wanted to know the best way to make a custom mkinitramfs for FAI. Right now i just changed my configs and used: mkinitramfs -o /srv/tftp/fai/initrd.img-2.6.26-1-amd64 2.6.26-1-amd64 Is it enough ? I guess not as the unionfs and such should be installed somewhere no ? regards,

NFS/dhcp/tftp on eth1, kernel search NFS it on eth0

2008-10-05 Diskussionsfäden Jean Spirat
Hello, All my tests works well but i have a failure when i try to install a host with two ethernet cards. The dhcp and tftp runs on the eth1 network and it works fine. But the issue is that the fai kernel when loaded bring not eth1 but eth0. So it can never connect to the nfs server.i

Re: NFS/dhcp/tftp on eth1, kernel search NFS it on eth0

2008-10-05 Diskussionsfäden Jean Spirat
Jean Spirat a écrit : Hello, All my tests works well but i have a failure when i try to install a host with two ethernet cards. The dhcp and tftp runs on the eth1 network and it works fine. But the issue is that the fai kernel when loaded bring not eth1 but eth0. So it can never connect

Re: it work, ..allmost ! :)

2008-09-29 Diskussionsfäden Jean Spirat
As Thomas already said: Please post (at least) the error message as reported by setup-storage -- I don't see any obvious error in the config you posted. Thanks, Michael i think all the issue comes from the grub install. I switched to grub2 as it better understand the raid settings and

site down

2008-09-17 Diskussionsfäden Jean Spirat
is it me or is the FAI site down ? regards, Jean.

Re: [EMAIL PROTECTED]: Re: nfs headache: can't read superblock]

2008-09-12 Diskussionsfäden Jean Spirat
Most probably you've been hit by the issue reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495535 But you seem to have worked around it anyway :-) Best, Michael that seems to be the case, anyway as i know what fai-chboot does now i can go and do it by hand. thanks for

nfs headache: can't read superblock

2008-09-11 Diskussionsfäden Jean Spirat
Hi, i am trying to make FAI work on my debian box but i fail at the 'mount root fs' part on NFS: fai02:/# rpcinfo -p 192.168.1.72 program no_version protocole no_port 102 tcp111 portmapper 102 udp111 portmapper 132 udp 2049 nfs 13

Re: [EMAIL PROTECTED]: Re: nfs headache: can't read superblock]

2008-09-11 Diskussionsfäden Jean Spirat
Michael Tautschnig a écrit : I've got no idea, maybe nfs mount from localhost just doesn't work? Best, Michael PS.: This doesn't seem to be a problem in FAI itself... yes this is not related to FAI directly but only inderctly :) for an fai related one, i just had an issue with

fai-chboot (was: nfs headache)

2008-09-11 Diskussionsfäden Jean Spirat
ok, using fai-chboot -v -Is 2.6.26.3-vs2.3.0.35.5 demo1 gived me: append initrd=initrd.img-2.6.26.3-vs2.3.0.35.5 ip=dhcp root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live FAI_ACTION=install so the simpler seems the most efficient ! fai-chboot -f

nfs-kernel-server and nfs-user-server

2008-09-01 Diskussionsfäden Jean Spirat
hi, is there a way to use the nfs-user-server with FAI (debian etch) and not the kernel one ? The debian package seems to prevent that and the kernel i use in the fai server is not compatible with it. anybody could help ? regards, Jean.

Re: new to the list and fai

2008-08-29 Diskussionsfäden Jean Spirat
I don't know what kind of things might be necessary with AOE. having aoe in the kernel does not seems to be enough. The kernel do not find the aoe device i think it need an aoe-discover for that :(( But, anyway, I guess you should try it like this, and see what happens - report back

new to the list and fai

2008-08-27 Diskussionsfäden Jean Spirat
hello list, i am new to the list and trying to use FAI for a fancy setup i am building :) I will use an AOE storage blade. This mean that if the kernel is AOE aware there should be no need for nfs or things like this. I wondered if anyone has any experiences on this ? So my question is

Re: new to the list and fai

2008-08-27 Diskussionsfäden Jean Spirat
after a little kernel info reading it seems i just have to replace the /dev/nfs by root=/dev/eth10.5 rootfstype=ext3 and it should work ? How can i setupt this in FAI ? is it something like: fai-chboot -v aoe-enabled-kernel /dev/eth10.5 testhost ? regards, Jean

Can't open /scripts/live on debian etch

-- Diskussionsfäden Jean Spirat
color_url = "006792"; google_color_text = "00"; //--> Can't open /scripts/live on debian etch Jean Spirat Re: Can't open /scripts/live on debian etch Michael Tautschnig Antwort per Email an <!-- googl

it work, ..allmost ! :)

-- Diskussionsfäden Jean Spirat
rl = "006792"; google_color_text = "00"; //--> it work, ..allmost ! :) Jean Spirat Re: it work, ..allmost ! :) Thomas Lange Re: it work, ..allmost ! :) Michael Tautschnig Antwort per Email an <!-- googl