Re: Has anybody had good luck using FAI where it repartitions on a system that previously contained an lvm setup?

2013-07-11 Diskussionsfäden Christoph Kluenter
Hi Ken, * Am Wed, Jul 10 at 15:05:10 -0500 , schrieb Ken Hahn: > Hello, > > I'm trying to get FAI working for an install of several labs using > Debian Wheezy. I'm using the latest wheezy install of FAI (which is > version 4.0.6). > > My install process has worked fine when I empty out the disk

Re: Has anybody had good luck using FAI where it repartitions on a system that previously contained an lvm setup?

2013-07-11 Diskussionsfäden Bjarne Bertilsson
Hi, I think the patch posted in this bug report will fix the problem with lvm, haven't tested it yet. Notice there are two bugs in that report but the one you want is the one posted on github. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676882 https://github.com/kumy/fai/commit/fbdde8f670

Re: Installing fai-server Without isc-dhcp-server

2013-07-11 Diskussionsfäden Thomas Lange
> On Wed, 10 Jul 2013 21:51:16 -0400, n43w79 said: > Trying to install fai-server 4.0.6 and apt-get or aptitude shall install the following (quote): > The following NEW packages will be installed: >debconf-utils{a} debootstrap{a} fai-client{a} fai-server file{a} >isc-

Re: Installing fai-server Without isc-dhcp-server

2013-07-11 Diskussionsfäden Toomas Tamm
You can also leave the package installed, but disable starting it after reboot: insserv -r isc-dhcp-server I have chosen this route myself. In order not to forget, you can have a configuration tool (eg cfengine) check the status of the package and re-run the above command in cases where package u

Re: Has anybody had good luck using FAI where it repartitions on a system that previously contained an lvm setup?

2013-07-11 Diskussionsfäden Toomas Tamm
I can confirm that disks with LVM can not be cleanly re-installed with FAI 4.0.6. A wipefs command fails, causing the whole setup-storage to fail. We have only a couple of such systems, all with LVM on top of RAID1, and for these, I have a hook to task partition with the following content: vgremo

Re: Installing fai-server Without isc-dhcp-server

2013-07-11 Diskussionsfäden Steffen Grunewald
On Wed, Jul 10, 2013 at 09:51:16PM -0400, n43w79 wrote: > Q. Is there a way NOT to install isc-dhcp-server as I already have dnsmasq on > our network. Install it, but leave it unconfigured if there's a dnsmasq running somewhere else? S

Re: Installing fai-server Without isc-dhcp-server

2013-07-11 Diskussionsfäden n43w79
Install it, but leave it unconfigured if there's a dnsmasq running somewhere else? Thank you all for replying! I am trying to reduce the size of the install on disk. A base install so far had taken up 700MB!

Re: Has anybody had good luck using FAI where it repartitions on a system that previously contained an lvm setup?

2013-07-11 Diskussionsfäden Ken Hahn
Hello, Thanks, indeed that patch fixed the problem and made sense to me. I am still, however, curious if there is indeed any documentation on the various pre and post states, just so I can understand what they are supposed to mean? The new vg_enabled_for_destroy_* makes sense to me, but I'm curi

Not all fixed. Re: Has anybody had good luck using FAI where it repartitions on a system that previously contained an lvm setup?

2013-07-11 Diskussionsfäden Ken Hahn
Hello, It looks like this fix doesn't resolve the problem when a preserved partition is desired. Still looking into it. -Ken On 07/11/2013 11:40 AM, Ken Hahn wrote: > Hello, > > Thanks, indeed that patch fixed the problem and made sense to me. I am > still, however, curious if there is indeed

Re: Not all fixed. Re: Has anybody had good luck using FAI where it repartitions on a system that previously contained an lvm setup?

2013-07-11 Diskussionsfäden Ken Hahn
Hello, I've been looking through the code, and perhaps I need to ask this on the dev list, but I can never see a reason that we need to call vgchange -a n. It appears to just cause problems. Am I correct about this? Can I get a scenario where it would be required? perhaps resize... I'm not sure