FAI Stable release candaidate 3.4.3~rc1

Peter Kruse pk at q-leap.de
Tue Oct 5 10:21:04 CEST 2010


Hello again,

If I'm correct, then the included setup-storage should support raid on whole
disks, and LVM on top of it.  But if I use:

disk_config raid preserve_reinstall:0

raid0   -       sda,sdb         -       -

disk_config lvm preserve_reinstall:vgroot-var,vgroot-swap,vgroot-scratch
vg              vgroot          md0
vgroot-var      /var            100     xfs     defaults
vgroot-swap     swap            256     swap    sw
vgroot-scratch  /scratch        100-    xfs     defaults


and set the environment variable "flag_initial=1" I get:

Starting setup-storage 1.3
Using config file: /etc/qlustar/common/disk-configs/disk_config.kvm
Executing: parted -s /dev/sda unit TiB print
Executing: parted -s /dev/sda unit B print free
Executing: parted -s /dev/sda unit chs print free
Executing: parted -s /dev/sdb unit TiB print
Executing: parted -s /dev/sdb unit B print free
Executing: parted -s /dev/sdb unit chs print free
     Finding all volume groups
Executing: mdadm --examine --scan --verbose -c partitions
Cannot satisfy pre-depends for pvcreate  /dev/md0: 
all_pv_sigs_removed,exist_/dev/md0 -- system left untouched.


Running with debug I get:

.
.
.
Trying to add CMD: yes | mdadm --create  /dev/md0 --level=raid0 --force --run 
--raid-devices=2 /dev/sda /dev/sdb
PRE: pt_complete_/dev/sda,pt_complete_/dev/sdb
POST: exist_/dev/md0
Trying to add CMD: pvcreate  /dev/md0
PRE: all_pv_sigs_removed,exist_/dev/md0
POST: pv_done_/dev/md0
Cannot satisfy pre-depends for pvcreate  /dev/md0: 
all_pv_sigs_removed,exist_/dev/md0 -- system left untouched.

is the config wrong or is it a bug?

thanks,

   Peter


More information about the linux-fai-devel mailing list