°Ô½Ã¹° 1,369°Ç
   
rbd qemu-img convert
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-12-05 (¿ù) 16:47 Á¶È¸ : 3887
±ÛÁÖ¼Ò :
                                
:: 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

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.