setup-storage for raid5 + lvm

Nicolas Courtel courtel at cena.fr
Thu Apr 23 17:57:36 CEST 2009


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         swap            1024    swap    sw
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  ext2    rw
raid5           -               sda3,sdb3,sdc3  ext2    default

disk_config lvm
vg vg0 md1
vg0-root        /               1024    ext3    rw
vg0-var         /var            2048    ext3    rw
vg0-usr         /usr            6144    ext3    rw
vg0-data        /data           6144    ext3    rw

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


More information about the linux-fai mailing list