summaryrefslogtreecommitdiffstats
path: root/debian/udev
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:29 +0000
commitdf4528d6668ab18e40584fe540355bdfba0fb6dd (patch)
treef1bfdcb6485edff853369405dd5423c662c47345 /debian/udev
parentAdding upstream version 14.2.21. (diff)
downloadceph-df4528d6668ab18e40584fe540355bdfba0fb6dd.tar.xz
ceph-df4528d6668ab18e40584fe540355bdfba0fb6dd.zip
Adding debian version 14.2.21-1.debian/14.2.21-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/udev/95-ceph-osd-lvm.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/udev/95-ceph-osd-lvm.rules b/debian/udev/95-ceph-osd-lvm.rules
new file mode 100644
index 00000000..00feae51
--- /dev/null
+++ b/debian/udev/95-ceph-osd-lvm.rules
@@ -0,0 +1,13 @@
+# OSD LVM layout example
+# VG prefix: ceph-
+# LV prefix: osd-
+ACTION=="add", SUBSYSTEM=="block", \
+ ENV{DEVTYPE}=="disk", \
+ ENV{DM_LV_NAME}=="osd-*", \
+ ENV{DM_VG_NAME}=="ceph-*", \
+ OWNER:="ceph", GROUP:="ceph", MODE:="660"
+ACTION=="change", SUBSYSTEM=="block", \
+ ENV{DEVTYPE}=="disk", \
+ ENV{DM_LV_NAME}=="osd-*", \
+ ENV{DM_VG_NAME}=="ceph-*", \
+ OWNER="ceph", GROUP="ceph", MODE="660"