* Help, multipath test issue!!!
@ 2004-04-20 4:55 Yin, Hu
2004-04-21 1:00 ` Nick Yin
0 siblings, 1 reply; 2+ messages in thread
From: Yin, Hu @ 2004-04-20 4:55 UTC (permalink / raw)
To: linux-hotplug
Hi,
Now I intend to test multipath devices using udev. I have installed libdevmapper, libsysfs, 2.6.5-udm2 patch and multipathd-tools in extras directory of udev.
The hardware situation is: a pc with 2 Fiber Channel Port Card and a Fiber Channel disk array.
Now I can get two devices corresponding to the same physical disk, for example, /dev/sdb, /dev/sdh,
And I also can create a multipath device /dev/md0 using command "mdadm -C /dev/md0 -lmp -n2 /dev/sdb1 /dev/sdh1" successfully,
The udev rules I used is as following:
KERNEL="md[0-9]*", PROGRAM="/sbin/devmap_name %M %m",NAME="%k", SYMLINK="%c"
I fork udev like this:
export DEVPATH=block/md0
export ACTIONd
/sbin/udev block
But the test failed. The error is "No device founded" when udev calls /sbin/devmap_name %M %m.
Does anybody do this kind of test before?
How can I do now? What should I do next? Can you tell me? Thank your very much! It's very urgent, hope you all help me!
Best Regards,
Nick ( Yin Hu )
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Help, multipath test issue!!!
2004-04-20 4:55 Help, multipath test issue!!! Yin, Hu
@ 2004-04-21 1:00 ` Nick Yin
0 siblings, 0 replies; 2+ messages in thread
From: Nick Yin @ 2004-04-21 1:00 UTC (permalink / raw)
To: linux-hotplug
Anybody can answer me? Thank you for your help in advance!
BTW, how to use the multipathd-tools in extras directory? Anybody can give
us a short introduction?
Thanks!
Nick
>From: "Yin, Hu" <hu.yin@intel.com>
>To: <linux-hotplug-devel@lists.sourceforge.net>
>CC: "Kay Sievers" <kay.sievers@vrfy.org>, <greg@kroah.com>
>Subject: Help, multipath test issue!!!
>Date: Tue, 20 Apr 2004 12:55:08 +0800
>
>Hi,
>
>Now I intend to test multipath devices using udev. I have installed
>libdevmapper, libsysfs, 2.6.5-udm2 patch and multipathd-tools in extras
>directory of udev.
>The hardware situation is: a pc with 2 Fiber Channel Port Card and a Fiber
>Channel disk array.
>
>Now I can get two devices corresponding to the same physical disk, for
>example, /dev/sdb, /dev/sdh,
>And I also can create a multipath device /dev/md0 using command "mdadm -C
>/dev/md0 -lmp -n2 /dev/sdb1 /dev/sdh1" successfully,
>
>The udev rules I used is as following:
>KERNEL="md[0-9]*", PROGRAM="/sbin/devmap_name %M %m",NAME="%k",
>SYMLINK="%c"
>
>I fork udev like this:
> export DEVPATH=block/md0
> export ACTIONd
> /sbin/udev block
>
>But the test failed. The error is "No device founded" when udev calls
>/sbin/devmap_name %M %m.
>
>Does anybody do this kind of test before?
>
>How can I do now? What should I do next? Can you tell me? Thank your very
>much! It's very urgent, hope you all help me!
>
>Best Regards,
>?>Nick ( Yin Hu )
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
>_______________________________________________
>Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
>Linux-hotplug-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?pageþatures/junkmail
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-21 1:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-20 4:55 Help, multipath test issue!!! Yin, Hu
2004-04-21 1:00 ` Nick Yin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).