95-ceph-osd.rules 517 B

12345678910111213141516
  1. # activate ceph-tagged partitions
  2. ACTION=="add", SUBSYSTEM=="block", \
  3. ENV{DEVTYPE}=="partition", \
  4. ENV{ID_PART_ENTRY_TYPE}=="4fbd7e29-9d25-41b8-afd0-062c0ceff05d", \
  5. TAG+="systemd", \
  6. ENV{SYSTEMD_WANTS}+="ceph-disk-activate@/dev/$name.service"
  7. # activate ceph-tagged partitions
  8. ACTION=="add", SUBSYSTEM=="block", \
  9. ENV{DEVTYPE}=="partition", \
  10. ENV{ID_PART_ENTRY_TYPE}=="45b0969e-9b03-4f30-b4c6-b4b80ceff106", \
  11. TAG+="systemd", \
  12. ENV{SYSTEMD_WANTS}+="ceph-disk-activate-journal@/dev/$name.service"