Why does block live migration expand disk size?

asked 2016-09-26 08:55:10 -0500

cody76 gravatar image

updated 2016-09-27 11:22:55 -0500

rbowen gravatar image

Whenever I perform a live-migration of an instance with --block-migrate option, the disk size on the destination compute node gets expanded. The command I'm running is:

# nova live-migration --block-migrate <server> <host>

Source HOST

root@compute-23:/var/lib/nova/instances/_base# du -sh *
923M    4387304df2216408a22217caa7f95b5a4d450436
1.1G    b82732e0c7fd6c7c526ebb7ca218a3facfa1332f

root@compute-23:/var/lib/nova/instances/bd576041-d14b-47c2-849d-d7006643f4e5# du -sh *
24K     console.log
**177M    disk**
4.0K    disk.info
4.0K    libvirt.xml

Destination HOST

root@compute-11:/var/lib/nova/instances/_base# du -sh *
923M    4387304df2216408a22217caa7f95b5a4d450436
1.1G    b82732e0c7fd6c7c526ebb7ca218a3facfa1332f

root@compute-11:/var/lib/nova/instances/bd576041-d14b-47c2-849d-d7006643f4e5# du -sh *
4.0K    console.log
**11G     disk**
4.0K    disk.info
4.0K    libvirt.xml
edit retag flag offensive close merge delete