]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: rely on /dev/disk/by-partuuid instead of special-casing journal symlinks
authorSage Weil <sage@inktank.com>
Tue, 16 Jul 2013 20:14:50 +0000 (13:14 -0700)
committerSage Weil <sage@inktank.com>
Tue, 16 Jul 2013 22:14:52 +0000 (15:14 -0700)
commit39bffac6b6c898882d03de392f7f2218933d942b
tree8e3033258a1057230303ef80b26e8869f42539b9
parent363d54288254b5e2311cd28fce5988d68cfd5773
ceph-disk: rely on /dev/disk/by-partuuid instead of special-casing journal symlinks

This was necessary when ceph-disk-udev didn't create the by-partuuid (and
other) symlinks for us, but now it is fragile and error-prone.  (It also
appears to be broken on a certain customer RHEL VM.)  See
d7f7d613512fe39ec883e11d201793c75ee05db1.

Instead, just use the by-partuuid symlinks that we spent all that ugly
effort generating.

Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 64379e701b3ed862c05f156539506d3382f77aa8)
src/ceph-disk