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.
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
You where soo right... Thnx...
I was trying to assign 72304 x 1024 = 74039296
disk_config disk1 bootable:1
primary /boot 256 ext3defaults
primary - 2048swaprw
primary - 7- - -
while I the disk as:
[r...@urpbe1 /root]# fdisk -l
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",
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 parts
Thomas Lange a écrit :
On Mon, 04 May 2009 13:26:55 +0200, Jean Spirat 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 for 3.2.19. Maybe
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 o
Thomas Neumann a écrit :
You can write a hook that replaces $HOSTNAME with the current
hostname. This is the easiest way.
As a bonus: It even works!
;)
tschüß
thomas
do you know wich variable we could use in a way that is supported by FAI
. I mean using a variable like $HOSTNAME or
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
- the
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
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
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 here
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.
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
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
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 "verbose,sshd,reboot,VSERVERHOST,SE
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 p
is it me or is the FAI site down ?
regards,
Jean.
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 lvm
Michael Tautschnig a écrit :
[...]
anything special about the initramsfs that i should do ?
Did you try adding
$ROOTCMD update-initramfs -k all -u
to scripts/LAST/60-misc.sh? Don't know whether this helps or not, but it might
be worth a try.
Best,
Michael
it works now:
things
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 trie
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
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,
JEan
Hi,
I am trying to build a nfsroot that will be mounted using AOE and not
NFS. For this i use a partition mounted here
/srv/fai/nfsroot/live/filesystem.dir. The issue i have is that if i
rebuild the nfsroot i got an error: /usr/sbin/make-fai-nfsroot tries to
remove the mountpoint and fail. I
Thomas Lange a écrit :
On Tue, 16 Dec 2008 18:03:44 +0100, Jean Spirat said:
> I am trying to build a nfsroot that will be mounted using AOE and not
> NFS. For this i use a partition mounted here
> /srv/fai/nfsroot/live/filesystem.dir. The issue i have i
I guess it would be interesting for FAI if we could claim to work with
AOE SAN's - but I also guess you will not get too much help with it -
mainly lacking experience, not willingness to help - I didn't see AOE
being mentioned here before.
yes thanks for your insight on this.
I agree that
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,
re
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.
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
f
ok wrong list sorry :)
Jean.
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
-rw-r--r
ok error found, do NOT call you directory 'var/www/nginx-default/config/
', i changed to 'configuration' and now it works...
Jean.
Hello,
To continue the AOE experience now FAI works and start but it fail if
i put an AOE storage disk:
Calling task_install
Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.0.3
Using config file: /var/lib/fai/config/disk_config/FAIBASE
Executin
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 =~ m{^/dev/(i2
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.
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
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 1.0.3
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 /usr/share/fai/setup
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 && pa
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 /dev
hello michael,
just wanted to ping you just to know if you think the little chnage i
made for AOE seems ok to you and have any chance to be in a future
release. I know you are quite busy it is just to know if you saw the
thread :)
Thanks again for your work it install beautifully now.
regar
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 -l|grep
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
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
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 se
hi,
is it possible to set lvm tags with setup storage ? From what i saw
this is not but perhaps i overlooked something.
regards,
Jean.
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 the
Most probably, this is currently _not_ the case (assuming you want the
BIOS-style version and not EFI). I guess a simple "parted print" should help you
verify this. If the partition is set to bios_grub, you are fine; if it has the
flag "boot", it's an EFI boot volume. I think this will best be
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
/t
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 ?
r
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.
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 infrastruc
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
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 - -
pr
hum in fact i am unable to make it work even with dos partitions...Is
this an issue with this version ?
regards,
Jean.
Sorry for the late reply; using disklabel:gpt-bios should finally work with
3.2.18+experimental3, at least the problem in the parser has been fixed :-)
Best,
Michael
i just tested it fails here:
sh-3.2# parted -s /dev/sdb mklabel gpt-bios
parted: invalid token: gpt-bios
Error: Expecting
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:
grub
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, n
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 tested
59 matches
Mail list logo