problems with ignoring a lvm on secondary disk.

2011-09-02 Diskussionsfäden Florian Streibelt
Hi, we try to install a debian system on a bunch of servers with different disk layouts. Some machines only have one disk, some have additional disks, which leads to a strange issue. During install we like fai to ignore all additional disks and lvm's and whatever is on disks besides sda. Our

Direct FAI to install medium..?

2011-09-02 Diskussionsfäden Jurrie Overgoor
Hello everyone, I have a FAI usb stick that installs my machines. It installs the machine, and then copies itself onto a recovery partition. This is used to re-install the machine in case of errors. This all works fine. The problem is: sometimes I update my USB stick, and I want to do a

Re: problems with ignoring a lvm on secondary disk.

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi Florian, [...] Now the problem is, that when users have setup a lvm on disk sdb fai detects this lvm, at first seems to ignore it, but later tries to create that exact lvm again on the system, although its not configured anywhere. A debugging log is attached. The question is: bug or

Re: Direct FAI to install medium..?

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi Jurrie, [...] Is there a way to say to FAI that it should check for USB sticks before checking the harddisk partitions? I'm not sure I understand what sort of detection routine within FAI this could refer to. Isn't it your BIOS/EFI that chooses the boot media? Wouldn't a change in boot

Re: Direct FAI to install medium..?

2011-09-02 Diskussionsfäden Jurrie Overgoor
Op 2-9-2011 10:36, Michael Tautschnig schreef: Hi Jurrie, [...] Is there a way to say to FAI that it should check for USB sticks before checking the harddisk partitions? I'm not sure I understand what sort of detection routine within FAI this could refer to. Isn't it your BIOS/EFI that

Re: Direct FAI to install medium..?

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi again, [...] The machine actually boots from USB the second time. FAI loads from USB stick (I can tell: the stick is blinking, and booting is slower than from HD). At first, the Linux kernel is loaded, and then initrd I think... Then, FAI (or is it the Linux kernel?) needs to find out

off-topic: FAI is too smart (Re: Direct FAI to install medium..?)

2011-09-02 Diskussionsfäden Patrick Cervicek
On Fri, 2 Sep 2011, Michael Tautschnig wrote: Hmm, FAI doesn't try to be smart in any way - it shouldn't find anything, it will only use whatever was configured. When fai-setup-storage detects any old MDADM Softraid Partitions, it tries to assemble/start them even when Sofraid is not

Re: problems with ignoring a lvm on secondary disk.

2011-09-02 Diskussionsfäden Florian Streibelt
Hi Michael, Am 02.09.2011 10:33 schrieb Michael Tautschnig: [...] Thanks a lot for providing such detailed information. This is definitively a bug; yet I wonder which version of FAI you might be using? Looking at your debug log, this trace cannot be produced by setup-storage from 3.4.8,

Re: problems with ignoring a lvm on secondary disk.

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi, [...] Do you think it is possible to only update setup-storage? Yes, in this particular case it should be safe to take the fai-setup-storage package from 3.4.8 and install it in the NFSROOT. Best, Michael pgpqgTKBj5Npz.pgp Description: PGP signature

Re: Disk_config lens for Augeas

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi, [...] This mail is to inform you that a new lens for FAI disk_config files was added to Augeas. It can currently be found in the git repository of the Augeas project [1]. This lens will turn disk_config files into a tree that can be parsed with xpath using Augeas. [...] Thanks a lot

Re: Disk_config lens for Augeas

2011-09-02 Diskussionsfäden RaphaĆ«l Pinson
On Fri, Sep 2, 2011 at 2:24 PM, Michael Tautschnig m...@debian.org wrote: Hi, [...] This mail is to inform you that a new lens for FAI disk_config files was added to Augeas. It can currently be found in the git repository of the Augeas project [1]. This lens will turn disk_config files

Re: Disk_config lens for Augeas

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi again, [...] I have noticed that the schema on the wiki is outdated, and sometimes not functional even. With the lens in the current state, I've been able to successfully parse 477 disk_config files we use in production. I'd be happy to get more tricky cases to test if you wish to send

Re: shorten dmesg.log

2011-09-02 Diskussionsfäden Michael Tautschnig
Hi, Would you mind taking a look at the logtail patch that's been sitting in experimental for almost forever already? I don't see how this can possibly work on something like the kernel message buffer. Its contents will rotate once it runs full so the offset noted by logtail will no