summaryrefslogtreecommitdiffstats
path: root/debian/udev
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:46:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:46:10 +0000
commit7050cdb205fd1b1b847c148092a8548f00a061c0 (patch)
tree05a497ffd12f14405445c3288085e228f4e8579f /debian/udev
parentAdding upstream version 16.2.11+ds. (diff)
downloadceph-7050cdb205fd1b1b847c148092a8548f00a061c0.tar.xz
ceph-7050cdb205fd1b1b847c148092a8548f00a061c0.zip
Adding debian version 16.2.11+ds-2.debian/16.2.11+ds-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/udev')
-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 000000000..00feae51f
--- /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"