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

[dm-devel] multipath missed udev-renamed devices

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?

Axel.Thimm at ATrpms.net

Attachment: pgpSNEJh3eVBc.pgp
Description: PGP signature

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