diff --git a/ceph-osd/templates/bin/osd/_block.sh.tpl b/ceph-osd/templates/bin/osd/_block.sh.tpl index 5817dfca2..aa40d68d0 100644 --- a/ceph-osd/templates/bin/osd/_block.sh.tpl +++ b/ceph-osd/templates/bin/osd/_block.sh.tpl @@ -114,7 +114,7 @@ if [ "x${JOURNAL_TYPE}" == "xdirectory" ]; then --osd-data ${OSD_PATH} \ --osd-journal ${OSD_JOURNAL} \ -f \ - -i 0 \ + -i ${OSD_ID} \ --setuser ceph \ --setgroup disk \ --mkjournal