From 6feb7d76243d2a70cbed7b0c5c438f4f2cb1a9ac Mon Sep 17 00:00:00 2001 From: Chinasubbareddy Mallavarapu Date: Tue, 5 Mar 2019 16:29:03 -0600 Subject: [PATCH] [ceph-osd] fix ceph journal partition creation This is to run partprobe command after ceph journal partition creation. Change-Id: Ia9acd26adf781b4508ef7028f613350077f7a970 --- ceph-osd/templates/bin/osd/_init.sh.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph-osd/templates/bin/osd/_init.sh.tpl b/ceph-osd/templates/bin/osd/_init.sh.tpl index 44504a12f..b009a30a2 100644 --- a/ceph-osd/templates/bin/osd/_init.sh.tpl +++ b/ceph-osd/templates/bin/osd/_init.sh.tpl @@ -173,6 +173,7 @@ function osd_journal_create { --partition-guid=${osd_journal_partition}:${OSD_JOURNAL_UUID} \ --typecode=${osd_journal_partition}:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- ${jdev} OSD_JOURNAL=$(dev_part ${jdev} ${osd_journal_partition}) + udev_settle else echo "The backing device ${jdev} for ${OSD_JOURNAL} does not exist on this system." exit 1