flavor和快照相關

關於錯誤:flavor's root disk size 小於virtual size of the QCOW2

When we boot VM with QCOW2 which virtual size of the QCOW2 is larger than flavor's root disk size, boot fails with Error( /opt/stack/data/nova/instances/_base/instanceID virtual size larger than flavor root disk size xxxxxxxxxx). This behavior is right。 spa

flavor裏的root disk爲0是指使用鏡像自己所虛擬的硬盤大小(也就是建立鏡像的時候qemu-create的那個大小),而不是不用root disk。鏡像所虛擬的大小能夠用命令來看:qemu-img info image-path it

建立快照的時候會將整個root disk 拷貝下來,因此建立flavor時root disk最後就 io

相關文章
相關標籤/搜索