ceph/examples/rbd-replay/create-image
Adam Crume 4c4289c246 lttng: Add rbd-replay
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:29 -07:00

9 lines
237 B
Bash
Executable File

#!/bin/bash
pool=rbd
image=my-image
size=10G
export LD_LIBRARY_PATH=../../src/.libs
#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