From: Loic Dachary Date: Sun, 16 Aug 2015 10:05:51 +0000 (+0200) Subject: udev: add devicemapper to partuuid-workaround X-Git-Tag: v9.1.0~252^2~1^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=42ad86e14e352f2a3a33e774224f1789f268da83;p=ceph.git udev: add devicemapper to partuuid-workaround 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 --- diff --git a/udev/60-ceph-partuuid-workaround.rules b/udev/60-ceph-partuuid-workaround.rules index c41a2720440..290596902fa 100644 --- a/udev/60-ceph-partuuid-workaround.rules +++ b/udev/60-ceph-partuuid-workaround.rules @@ -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"