:: rbd À̹ÌÁö --> ·ÎÄà À̹ÌÁö·Î Convert
# rbd list images
86370763-a8a9-4400-bbc2-e03fcb488a6b
9741686b-efbb-4ac2-bc26-4e27b7c9fd8e
images
# rbd info images/86370763-a8a9-4400-bbc2-e03fcb488a6b
rbd image '86370763-a8a9-4400-bbc2-e03fcb488a6b':
size 1857 MB in 233 objects
order 23 (8192 kB objects)
block_name_prefix: rbd_data.13e3802ae8944a
format: 2
features: layering
flags:
# qemu-img convert -f raw -O raw rbd:images/86370763-a8a9-4400-bbc2-e03fcb488a6b test.img
# ls -l test.img
-rw-r--r-- 1 root root 1947992064 12¿ù 5 16:46 test.img
# qemu-img info test.img
image: test.img
file format: qcow2
virtual size: 25G (26843545600 bytes)
disk size: 1.8G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
:: ·ÎÄà À̹ÌÁö·Î Convert --> rbd À̹ÌÁö
# qemu-img convert -f raw -O raw test.img rbd:images/test.img
# rbd list images
86370763-a8a9-4400-bbc2-e03fcb488a6b
9741686b-efbb-4ac2-bc26-4e27b7c9fd8e
images
test.img