As stated in the title, when one moves LVM thin it get's fat. And by fat I mean as fat as it can get (100%).
I think this is a bug. It happens only when disk of a _running_ VM is moved.
Here is an example using almost latest PM from public/free repos.
VM is created from KVM CentOS 7 template I prepared.
So basically thin LVM is not really thin when one uses disk migration in order to move VM's in order to do maintenance on host which is what every good admin should do. I'm reporting this as a bug.
I think this is a bug. It happens only when disk of a _running_ VM is moved.
Here is an example using almost latest PM from public/free repos.
VM is created from KVM CentOS 7 template I prepared.
Code:
VM 103 created and is thin (12.29% usage):
# lvs | grep 103
vm-103-disk-1 pve Vwi-aotz-- 15.00g data 12.29
VM disk get's moved to external NFS storage to qcow2 format and get's fat:
# du -sh *
16G vm-103-disk-1.qcow2
Moving it back keeps it fat:
# lvs | grep 103
vm-103-disk-1 pve Vwi-aotz-- 15.00g data 100.00
And because we hate fatties, it get's killed. Then fresh thin one is created and _started_:
# lvs | grep 102
vm-102-disk-1 pve Vwi-a-tz-- 15.00g data 12.29
It get's moved to another LVM thin VG and becomes fat right away.
# lvs | grep 102
vm-102-disk-1 pvesata Vwi-aotz-- 15.00g datasata 100.00
So basically thin LVM is not really thin when one uses disk migration in order to move VM's in order to do maintenance on host which is what every good admin should do. I'm reporting this as a bug.