mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
4c1cd4ab17
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
214 lines
8.8 KiB
Plaintext
214 lines
8.8 KiB
Plaintext
# OSD_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-062c0ceff05d", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-062c0ceff05d", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# JOURNAL_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-b4b80ceff106", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-b4b80ceff106", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# BLOCK_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-9b03-4f30-b4c6-b4b80ceff106", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-9b03-4f30-b4c6-b4b80ceff106", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# BLOCK.DB_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="30cd0809-c2b2-499c-8879-2d6b78529876", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="30cd0809-c2b2-499c-8879-2d6b78529876", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# BLOCK.WAL_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="5ce17fce-4087-4169-b7ff-056cc58473f9", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="5ce17fce-4087-4169-b7ff-056cc58473f9", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# LOCKBOX_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="fb3aabf9-d25f-47cc-bf5e-721d1816496b", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="fb3aabf9-d25f-47cc-bf5e-721d1816496", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# MPATH_OSD_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-8ae0-4982-bf9d-5a8d867af560", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-8ae0-4982-bf9d-5a8d867af560", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# MPATH_JOURNAL_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-8ae0-4982-bf9d-5a8d867af560", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-8ae0-4982-bf9d-5a8d867af560", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# MPATH_BLOCK_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-8ae0-4982-bf9d-5a8d867af560", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-8ae0-4982-bf9d-5a8d867af560", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# MPATH_BLOCK.DB_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="ec6d6385-e346-45dc-be91-da2a7c8b3261", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="ec6d6385-e346-45dc-be91-da2a7c8b3261", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# MPATH_BLOCK.WAL_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="01b41e1b-002a-453c-9f17-88793989ff8f", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="01b41e1b-002a-453c-9f17-88793989ff8f", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# MPATH_BLOCK_UUID
|
|
ACTION=="add", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="7f4a666a-16f3-47a2-8445-152ef4d03f6c", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="7f4a666a-16f3-47a2-8445-152ef4d03f6c", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_JOURNAL_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-5ec00ceff106", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-5ec00ceff106", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_BLOCK_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-9b03-4f30-b4c6-5ec00ceff106", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-9b03-4f30-b4c6-5ec00ceff106", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_BLOCK.DB_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="93b0052d-02d9-4d8a-a43b-33a3ee4dfbc3", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="93b0052d-02d9-4d8a-a43b-33a3ee4dfbc3", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_BLOCK.WAL_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="306e8683-4fe2-4330-b7c0-00a917c16966", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="306e8683-4fe2-4330-b7c0-00a917c16966", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_LUKS_JOURNAL_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-35865ceff106", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-35865ceff106", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_LUKS_BLOCK_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-9b03-4f30-b4c6-35865ceff106", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="cafecafe-9b03-4f30-b4c6-35865ceff106", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_LUKS_BLOCK.DB_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="166418da-c469-4022-adf4-b30afd37f176", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="166418da-c469-4022-adf4-b30afd37f176", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_LUKS_BLOCK.WAL_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="86a32090-3647-40b9-bbbd-38d8c573aa86", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="86a32090-3647-40b9-bbbd-38d8c573aa86", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_OID_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-5ec00ceff05d", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-5ec00ceff05d", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|
|
|
|
# DMCRYPT_LUKS_OSD_UUID
|
|
ACTION=="add" SUBSYSTEM=="block", \
|
|
ENV{DEVTYPE}=="partition", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-35865ceff05d", \
|
|
OWNER:="ceph", GROUP:="ceph", MODE:="660", \
|
|
RUN+="/usr/sbin/ceph-disk --log-stdout -v trigger /dev/$name"
|
|
ACTION=="change", SUBSYSTEM=="block", \
|
|
ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-35865ceff05d", \
|
|
OWNER="ceph", GROUP="ceph", MODE="660"
|