Skip to content

Commit

Permalink
udev: /dev/disk/by-parttypeuuid/$type-$uuid
Browse files Browse the repository at this point in the history
We need this to help trigger OSD activations.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Jun 17, 2013
1 parent f179dc1 commit d512dc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions udev/60-ceph-partuuid-workaround.rules
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ KERNEL!="sr*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_NAME}=="?*", SYMLINK+="disk/by-partlabel/$env{ID_PART_ENTRY_NAME}"

# NEW: by-parttypeuuid links (type.id)
ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_TYPE}=="?*", ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-parttypeuuid/$env{ID_PART_ENTRY_TYPE}.$env{ID_PART_ENTRY_UUID}"

LABEL="persistent_storage_end_two"

0 comments on commit d512dc9

Please sign in to comment.