[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337724: add dm-mirror, remove unsupported raid5, 6



Sorry I missed to add mirror mod in last patch.

diff -urN Plan.pm~ Plan.pm
--- Plan.pm~    2005-11-05 18:39:19.000000000 +0100
+++ Plan.pm     2005-11-06 22:09:51.673267880 +0100
@@ -89,8 +89,8 @@
        $ok || ($ok = tryEvms ($actions,$device,[$device,@{$working}]));
        $ok || ($ok = tryDmCrypt ($actions,$device,[$device,@{$working}]));
        $ok || ($ok = tryLvm ($actions,$device,[$device,@{$working}]));
-       $ok || ($ok = tryDmRaid ($actions,$device,[$device,@{$working}]));
        $ok || ($ok = tryRaid ($actions,$device,[$device,@{$working}]));
+       $ok || ($ok = tryDmRaid ($actions,$device,[$device,@{$working}]));
        $ok || ($ok = tryHardware ($actions,$device,[$device,@{$working}]));
        if (! $ok) {
                Base::fatal ("unsupported device required: $name");
@@ -438,8 +438,7 @@
        # Something for next preview.
        #
        ModProbe::addModules ($actions, [ "raid0", "raid1",
-               "raid10", "raid5", "raid6", "multipath"]);
-
+               "raid10", "dm-mirror", "linear", "faulty" ]);
        #
        # name is ignored by the template
        #

-- 
ESC:wq



Reply to: