Hi, I'm using the FAI 3.4.2 packages for Ubuntu Lucid from <a href="http://ppa.launchpad.net/fai/ppa/ubuntu/">http://ppa.launchpad.net/fai/ppa/ubuntu/</a>. In general it's been working very well, but I'm trying now to set up a box with software raid and running into errors from setup-storage. Any help would be much appreciated.<div>
<br></div><div>The contents of disk_config/PHYSICAL_APPLIANCE are:</div><div><br></div><div>----</div><div><div>disk_config sda virtual</div><div>primary -       0-      -       -</div><div>#primary        -       4096    -       -</div>
<div><br></div><div>disk_config sdb virtual</div><div>primary -       0-      -       -</div><div>#primary        -       4096    -       -</div><div><br></div><div>disk_config raid</div><div>raid1   /       sda1,sdb1       ext4    rw,noatime      createopts="-m 1"</div>
<div>#raid1  swap    sda2,sdb2       swap    sw</div></div><div>----</div><div><br></div><div>(I commented out the swap MD just in case that was causing some kind of issue, but I'll want that in the final config)</div>
<div><br></div><div>When I run without debugging, I get this in format.log:</div><div><br></div><div>----</div><div><div><div>Starting setup-storage 1.3</div><div>Using config file: /var/lib/fai/config/disk_config/PHYSICAL_APPLIANCE</div>
<div>Executing: parted -s /dev/sda unit TiB print</div><div>Parted could not read a disk label (new disk?)</div><div>Executing: parted -s /dev/sda mklabel msdos</div><div>Executing: parted -s /dev/sda unit TiB print</div>
<div>Executing: parted -s /dev/sda unit B print free</div><div>Executing: parted -s /dev/sda unit chs print free</div><div>Executing: parted -s /dev/sdb unit TiB print</div><div>Parted could not read a disk label (new disk?)</div>
<div>Executing: parted -s /dev/sdb mklabel msdos</div><div>Executing: parted -s /dev/sdb unit TiB print</div><div>Executing: parted -s /dev/sdb unit B print free</div><div>Executing: parted -s /dev/sdb unit chs print free</div>
<div>    Finding all volume groups</div><div>  No volume groups found</div><div>Executing: mdadm --detail --scan --verbose -c partitions</div><div>Cannot satisfy pre-depends for true: ,type_raid_/dev/sda1 -- system left untouched.</div>
</div></div><div>----</div><div><br></div><div>If I run 'mdadm --detail --scan --verbose -c partitions' there's no output. I've attached the output of a debug run, please let me know if there's any other info that would be helpful.</div>
<div><br></div><div>Thanks much.</div>