From 42ad86e14e352f2a3a33e774224f1789f268da83 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 16 Aug 2015 12:05:51 +0200 Subject: [PATCH] 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 --- udev/60-ceph-partuuid-workaround.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/60-ceph-partuuid-workaround.rules b/udev/60-ceph-partuuid-workaround.rules index c41a27204406a..290596902fac6 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" -- 2.39.5