diff --git a/src/datastore_mad/remotes/ceph/mkfs b/src/datastore_mad/remotes/ceph/mkfs index a81f4a6c68..216a9677cd 100755 --- a/src/datastore_mad/remotes/ceph/mkfs +++ b/src/datastore_mad/remotes/ceph/mkfs @@ -88,6 +88,9 @@ if [ "$FSTYPE" = "save_as" ]; then exit 0 fi +if [ "$FSTYPE" = "raw" ]; then + REGISTER_CMD="$QEMU_IMG create rbd:$RBD_SOURCE ${SIZE}M" +else # ------------ Create the image in the repository ------------ MKFS_CMD=`mkfs_command $TMP_DST $FSTYPE $SIZE` @@ -107,6 +110,7 @@ REGISTER_CMD=$(cat <