ceph/udev
Loic Dachary d4869ac9e4 ceph-disk: add multipath support
A multipath device is detected because there is a
/sys/dev/block/M:m/dm/uuid file with the mpath- prefix (or part\w+-mpath
prefix).

When ceph-disk prepares data or journal devices on a multipath device,
it sets the partition typecode to MPATH_JOURNAL_UUID, MPATH_OSD_UUID and
MPATH_TOBE_UUID to

 a) help the udev rules distinguish them from other devices in
    devicemapper
 b) allow ceph-disk to fail if an attempt is made to activate a device
    with this type without accessing it via a multipath device

The 95-ceph-osd.rules call ceph-disk activate on partitions of type
MPATH_JOURNAL_UUID, MPATH_OSD_UUID. It relies on ceph-disk to do nothing
if the device is not accessed via multipath.

http://tracker.ceph.com/issues/11881 Fixes: #11881

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-08-29 02:37:52 +02:00
..
50-rbd.rules Robustify ceph-rbdnamer and adapt udev rules 2012-07-16 17:34:22 -07:00
60-ceph-partuuid-workaround.rules udev: add devicemapper to partuuid-workaround 2015-08-29 02:36:56 +02:00
95-ceph-osd-alt.rules 95-ceph-osd-alt.rules: Fix missing parent parameter 2013-04-24 08:22:04 -07:00
95-ceph-osd.rules ceph-disk: add multipath support 2015-08-29 02:37:52 +02:00
95-ceph-osd.rules.systemd Set Ceph device partitions owner to ceph user in udev. 2015-08-26 20:34:15 -04:00