diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2020-09-07 18:39:22 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-09-08 19:36:02 +0200 |
commit | 0b5c11ff30dbb79690e47d5285f197f677e11bf7 (patch) | |
tree | cce49ff88fad14ffb69327688f8adbaded8f2be7 /udev | |
parent | Merge pull request #36889 from idryomov/wip-relax-preauth-asserts (diff) | |
download | ceph-0b5c11ff30dbb79690e47d5285f197f677e11bf7.tar.xz ceph-0b5c11ff30dbb79690e47d5285f197f677e11bf7.zip |
rbd: include RADOS namespace in krbd symlinks
Fixes: https://tracker.ceph.com/issues/40247
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'udev')
-rw-r--r-- | udev/50-rbd.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/50-rbd.rules b/udev/50-rbd.rules index 86aa1347256..aab6fa9f34e 100644 --- a/udev/50-rbd.rules +++ b/udev/50-rbd.rules @@ -1,5 +1,5 @@ -KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}" -KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="partition", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}-part%n" +KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c" +KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="partition", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c-part%n" # This is a placeholder, uncomment and edit as necessary #KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", ACTION=="add|change", ATTR{bdi/read_ahead_kb}="128" |