Hi guys,<br><br>I would like to propose a patch for the SW_RAID_LVM hook [0]. This hook can currently only do LVM on top of a mdadm software RAID. I think it could be interesting to have a single hook that would allow :<br>
- LVM over SW RAID<br>- LVM without SW RAID<br>- SW RAID without LVM<br>- SW RAID and LVM (the LVM not using the SW RAID)<br><br>The attached patch allows this by simply not dying when the RAID
variable is not set. It has been tested and I hope it can be useful :)<br><br>I also had an issue with mdadm crashing when trying to create volumes. The quick fix I found was to do a stop/remove before creating the volume. This part is also included in the patch. I&#39;m sure there is a cleaner way to fix it, if anyone is wanting to throw an eye on it.
<br><br><br><br><br>Raphaël<br><br><br>[0] <a href="http://faiwiki.informatik.uni-koeln.de/index.php/Source:SW_RAID_LVM">http://faiwiki.informatik.uni-koeln.de/index.php/Source:SW_RAID_LVM</a><br clear="all"><br><br><br>-- 
<br>&nbsp;&nbsp;----------------------------------------------------------------------------------------<br>Raphaël Pinson - <a href="mailto:raphink@ichthux.com">raphink@ichthux.com</a><br><a href="http://www.raphink.info">http://www.raphink.info
</a><br>Ichthux - <a href="http://www.ichthux.com">http://www.ichthux.com</a> - Linux for Christians