[dm-devel] multipath missed udev-renamed devices

Axel Thimm Axel.Thimm at ATrpms.net
Fri Jul 22 00:56:51 UTC 2005


In order to be able to handle multipath devices better (avoid anything
else, but multipath to access the single paths) I moved the paths from
the devices to different names:

# ls /dev/*sd*
/dev/hsv100-sdb  /dev/hsv100-sdd   /dev/hsv100-sde   /dev/sda   /dev/sda2
/dev/hsv100-sdc  /dev/hsv100-sdd1  /dev/hsv100-sde1  /dev/sda1

The /dev/sda is the system disk, while the 4 /dev/hsv100-sd* devices
are the 4 paths to an EVA 3000.

Unfortuantely multipath does not see the /dev/hsv100-sd* devices. This
is because after querying sysfs devinfo in libmultipath/discovery.c
also wants to get a file descriptor on the device.

But it is using the kernel's device name, not the one from udev, the
access fails, and the path gets dropped.

What can be done to fix this? multipath needs the fd on the device for
further queries (serial and state). Should multipath call udev to get
the device's name?

Is there a workaround I can use now to get multipath on my
/dev/hsv100-sd* devices running?

Thanks!
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20050722/a29272cb/attachment.sig>


More information about the dm-devel mailing list