diff options
author | Sage Weil <sage@inktank.com> | 2013-06-14 13:23:52 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-17 15:47:12 -0700 |
commit | 65ec1d87f96694ab08c99a7104329065c7c5ebae (patch) | |
tree | 25a5ee45fa64dbc232dd8dca8633c66d5fc9b25a | |
parent | 4a739b13f420acf4f0af21b4cf133ac08c97ee18 (diff) | |
download | ceph-65ec1d87f96694ab08c99a7104329065c7c5ebae.tar.gz |
udev: /dev/disk/by-parttypeuuid/$type-$uuid
We need this to help trigger OSD activations.
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit d512dc9eddef3299167d4bf44e2018b3b6031a22)
-rw-r--r-- | udev/60-ceph-partuuid-workaround.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/60-ceph-partuuid-workaround.rules b/udev/60-ceph-partuuid-workaround.rules index a1aa060d452..c41a2720440 100644 --- a/udev/60-ceph-partuuid-workaround.rules +++ b/udev/60-ceph-partuuid-workaround.rules @@ -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" |