]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
udev: add devicemapper to partuuid-workaround
authorLoic Dachary <ldachary@redhat.com>
Sun, 16 Aug 2015 10:05:51 +0000 (12:05 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 29 Aug 2015 00:36:56 +0000 (02:36 +0200)
The dm-* devices are not excluded and will have by-partuuid symlinks
etc. This will include devices managed by multipath as well as
others. Since this only is used on partitions:

  # ignore partitions that span the entire disk
  TEST=="whole_disk", GOTO="persistent_storage_end_two"

It may create symlinks for dm-* devices that are unrelated to Ceph and
we assume this is going to be ok.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
udev/60-ceph-partuuid-workaround.rules

index c41a27204406aa2e9047e39f5b0b18c19ee73bc1..290596902fac6ed6f787c248b7c97a71f0eb56b4 100644 (file)
@@ -13,7 +13,7 @@ ACTION=="remove", GOTO="persistent_storage_end_two"
 SUBSYSTEM!="block", GOTO="persistent_storage_end_two"
 
 # skip rules for inappropriate block devices
-KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end_two"
+KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|md*", GOTO="persistent_storage_end_two"
 
 # ignore partitions that span the entire disk
 TEST=="whole_disk", GOTO="persistent_storage_end_two"