--- /etc/init.d/ceph 2013-05-06 19:58:09.000000000 -0400 +++ /etc/init.d/ceph2 2013-05-08 16:04:10.205691759 -0400 @@ -310,7 +310,8 @@ # command line, ceph.conf can override what it wants get_conf osd_location "" "osd crush location" get_conf osd_weight "" "osd crush initial weight" - defaultweight=`df /var/lib/ceph/osd/ceph-$id/ | tail -1 | awk '{ d= $2/1073741824 ; r = sprintf("%.2f", d); print r }'` + get_conf osd_data_location "" "osd data" + defaultweight=`df $osd_data_location | tail -1 | awk '{ d= $2/1073741824 ; r = sprintf("%.2f", d); print r }'` get_conf osd_keyring "/var/lib/ceph/osd/ceph-$id/keyring" "keyring" $BINDIR/ceph \ --name="osd.$id" \