Package: yaird
Version: 0.0.12-3

it's generally preferable to tell mdadm to scan the partitions list to 
find raid component devices by UUID rather than specify the device list 
explicitly...

for example with an explicit device list you can end up with boot failures 
if one of the devices is missing... or if the devices are renamed for 
whatever reason.

i suggest the following patch...

thanks
-dean

--- /etc/yaird/Templates.cfg    2006/02/03 02:44:49     1.1
+++ /etc/yaird/Templates.cfg    2006/02/03 02:46:15
@@ -299,8 +299,7 @@
                SCRIPT "/init"
                BEGIN
                        !mknod <TMPL_VAR NAME=target> b <TMPL_VAR NAME=major> 
<TMPL_VAR NAME=minor>
-                       !mdadm --assemble <TMPL_VAR NAME=target> --uuid 
<TMPL_VAR NAME=uuid> \
-                       !       <TMPL_LOOP NAME=components> <TMPL_VAR 
NAME=dev></TMPL_LOOP>
+                       !mdadm -Ac partitions <TMPL_VAR NAME=target> --uuid 
<TMPL_VAR NAME=uuid>
                END SCRIPT
        END TEMPLATE
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to