가상머신의 용량을 늘리는 건 해봤는데..(vmware나 virtualbox)

kvm의 qcow2는 어떻게 늘려야 하나...


[링크 : https://serverfault.com/questions/324281/how-do-you-increase-a-kvm-guests-disk-space]

[링크 : https://www.systutorials.com/241831/how-to-resize-a-virtual-disk-of-kvm/]

[링크 : https://mike42.me/blog/how-to-resize-a-windows-vm-image-with-virt-resize]



+

2019.02.14


줄이기

[링크 : https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files]


스냅샷 테스트

[링크 : https://www.joinc.co.kr/w/Site/cloud/Qemu/Snapshot]


raw로 변환하여 물리 디스크로 복원하기

[링크 : https://idchowto.com/?p=28218]



+

2019.06.03

늘리는건 되지만 줄이는 건 안됨


# ll -h

-rw-------. 1 root root 1.1G  6월  3 12:23 generic.qcow2


# file *

generic.qcow2:       QEMU QCOW Image (v3), 1073741824 bytes



# qemu-img resize generic.qcow2 +19G

Image resized.


# ll -h

합계 32G

-rw-------. 1 root root 1.1G  6월  3 12:25 generic.qcow2


# file *


generic.qcow2:       QEMU QCOW Image (v3), 21474836480 bytes


# qemu-img resize generic.qcow2 -19G

qemu-img: qcow2 doesn't support shrinking images yet

qemu-img: This image does not support resize 


Posted by 구차니

댓글을 달아 주세요