From: Sage Weil Date: Thu, 8 May 2014 15:52:51 +0000 (-0700) Subject: ceph-disk: partprobe before settle when preparing dev X-Git-Tag: v0.81~44^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1777%2Fhead;p=ceph.git ceph-disk: partprobe before settle when preparing dev Two users have reported this fixes a problem with using --dmcrypt. Fixes: #6966 Tested-by: Eric Eastman Signed-off-by: Sage Weil --- diff --git a/src/ceph-disk b/src/ceph-disk index f79e341f07e3..d2f042e2289c 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1197,6 +1197,12 @@ def prepare_dev( data, ], ) + command( + [ + 'partprobe', + data, + ], + ) command( [ # wait for udev event queue to clear