diff --git a/ceph/templates/bin/_osd_directory.sh.tpl b/ceph/templates/bin/_osd_directory.sh.tpl index c22381614e..1d092e1ac2 100644 --- a/ceph/templates/bin/_osd_directory.sh.tpl +++ b/ceph/templates/bin/_osd_directory.sh.tpl @@ -78,6 +78,9 @@ function osd_directory { OSD_WEIGHT=$(df -P -k $OSD_PATH | tail -1 | awk '{ d= $2/1073741824 ; r = sprintf("%.2f", d); print r }') ceph ${CLI_OPTS} --name=osd.${OSD_ID} --keyring=${OSD_KEYRING} osd crush create-or-move -- ${OSD_ID} ${OSD_WEIGHT} ${CRUSH_LOCATION} fi + # log osd filesystem type + FS_TYPE=`stat --file-system -c "%T" ${OSD_PATH}` + log "OSD $OSD_PATH filesystem type: $FS_TYPE" echo "${CLUSTER}-${OSD_ID}: /usr/bin/ceph-osd ${CLI_OPTS} -f -i ${OSD_ID} --osd-journal ${OSD_J} -k $OSD_KEYRING" | tee -a /etc/forego/${CLUSTER}/Procfile done log "SUCCESS"