setup-storage for raid5 + lvm

2009-04-23 Diskussionsfäden Nicolas Courtel

Hello,

With FAI 3.2.19, I'm trying to install on a host with 3 identical hard 
disks a system on Raid5 + LVM. But installation keeps failing in 
task_partition, and I can't figure out where my setup-storage config is 
wrong:


disk_config sda
primary -512-   -
primary swap1024swapsw
primary -  0-   -   -

disk_config sdb
primary -512-   -
primary -   1024-   -
primary -  0-   -   -

disk_config sdc
primary -512-   -
primary -   1024-   -
primary -  0-   -   -

disk_config raid
raid5   /boot   sda1,sdb1,sdc1  ext2rw
raid5   -   sda3,sdb3,sdc3  ext2default

disk_config lvm
vg vg0 md1
vg0-root/   1024ext3rw
vg0-var /var2048ext3rw
vg0-usr /usr6144ext3rw
vg0-data/data   6144ext3rw

The error message is the following (full log is at 
http://paste.debian.net/34215/)



Executing: /lib/udev/vol_id -u /dev/sda2
Command /lib/udev/vol_id -u /dev/sda2 had exit code 4
Failed to obtain UUID for /dev/sda2

I originally wanted to have one swap slice on each disk, but in this 
case the error is on the sdb swap partition:


Executing: /lib/udev/vol_id -u /dev/sdb2
Command /lib/udev/vol_id -u /dev/sdb2 had exit code 4
Failed to obtain UUID for /dev/sdb2

Any clue?

--
Nicolas


Re: running out of arp-cache

2009-04-23 Diskussionsfäden Thomas Lange
> On Tue, 21 Apr 2009 10:41:43 +0200, Henning Fehrmann 
>  said:

> Do you know the right kernel boot parameter to manipulate the arp cache?

> If this is not possible, one should do it in the live-initrd or, latest,
> in the nfs-chroot environment. Currently, I am not sure whether one runs 
into
> problems already in the initrd.  
> Is there a generic way to add a proper
> /etc/sysctl.conf in the initrd or in the NFS-chroot, configured
> somewhere in the make-fai-nfsroot.conf? 

You could call /etc/init.d/procps start
which is also the way it's done during booting a normal system.

-- 
regards Thomas