cloner: handle RAID0/5 case with MD
Jason D. Clinton [Thu, 8 Oct 2009 18:49:49 +0000 (13:49 -0500)]
etc/cloner/prep_disks.sh

index 132072e..24f8f1c 100755 (executable)
@@ -81,8 +81,8 @@ then
                MD_DISKS=`echo $line | awk '{print $5}'`
                MD_SPARES=`echo $line | awk '{print $6}'`
 
-               T1=`echo $MD_DISKS | sed 's/,/ /'`
-               T2=`echo $MD_SPARES | sed 's/,/ /'`
+               T1=`echo $MD_DISKS | sed 's/,/ /g'`
+               T2=`echo $MD_SPARES | sed 's/,/ /g'`
                MD_DISK_STRING="${T1} ${T2}"