summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2013-09-09 13:47:25 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2013-09-09 13:48:27 +0200
commit9f2fc2471cd39effccd549d73c2fc9c0e6419f94 (patch)
treea9f149b326b03ab6939574f3a605ab1a2ad48d5f /udev
parentd89b514e06eb3431052d3dee4758103bf5f08963 (diff)
downloadlvm2-9f2fc2471cd39effccd549d73c2fc9c0e6419f94.tar.gz
udev: also inform lvmetad about lost LVM1 PV label
Addendum to 4d3b5724e0b51782000a45027de00e0fed1c9833 which covered only LVM2 PV labels.
Diffstat (limited to 'udev')
-rw-r--r--udev/69-dm-lvm-metad.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/69-dm-lvm-metad.rules.in b/udev/69-dm-lvm-metad.rules.in
index 6162e262f..b4be58207 100644
--- a/udev/69-dm-lvm-metad.rules.in
+++ b/udev/69-dm-lvm-metad.rules.in
@@ -18,7 +18,7 @@ SUBSYSTEM!="block", GOTO="lvm_end"
(LVM_EXEC_RULE)
# If the PV label got lost, inform lvmetad about it.
-ENV{DM_ID_FS_TYPE_OLD}=="LVM2_member", ENV{DM_ID_FS_TYPE}!="LVM2_member", GOTO="lvm_scan"
+ENV{DM_ID_FS_TYPE_OLD}=="LVM2_member|LVM1_member", ENV{DM_ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_scan"
# Only process devices already marked as a PV - this requires blkid to be called before.
ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_end"