Bug#335601: compaq arrays with ida
On Wed, Nov 02, 2005 at 05:16:48PM +0100, Erich Schubert wrote:
> Hi,
> the compaq smart arrays I have use "ida":
> /dev/ida/c0d0p5 on / type ext3 (rw,errors=remount-ro)
> /dev/ida/c0d0p1 on /boot type ext2 (rw)
> /dev/ida/c0d0p6 on /home type ext3 (rw,nodev)
> as well as /sys/block/ida!c0d0
> The module needed is "cpqarray"
Thanks! Perhaps you would want to test the following patch?
Erik
--- orig/perl/Plan.pm
+++ mod/perl/Plan.pm
@@ -441,6 +441,12 @@
$actions->add("mkbdev", $device->yspecial, sysname => $name);
return 1;
}
+ if ($name =~ /^ida!c\d+d\d+$/) {
+ ModProbe::addModules ($actions, [ "cpqarray" ]);
+ $actions->add("mkbdev", $device->yspecial, sysname => $name);
+ return 1;
+ }
+
return 0;
}
Reply to: