diff options
Diffstat (limited to '')
-rwxr-xr-x | examples/rbd-replay/create-image | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/rbd-replay/create-image b/examples/rbd-replay/create-image new file mode 100755 index 000000000..878926785 --- /dev/null +++ b/examples/rbd-replay/create-image @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +pool=rbd +image=my-image +size=10G +export LD_LIBRARY_PATH=../../build/lib +#qemu-img create -f raw rbd:$pool/$image:conf=../../src/ceph.conf $size +qemu-img convert linux-0.2.img -O raw rbd:$pool/$image:conf=../../src/ceph.conf |